3

I want to implement chrome-cast for IOS mobile with Ionic4.

I was tried many plugins which I already used but I am facing many issues because Ionic 4 using latest typescript version and chrome-cast plugins are very old, So many classes and libraries are deprecated.

I've used below links:

https://www.npmjs.com/package/ng-cast

https://github.com/jellyfin/cordova-plugin-chromecast

https://www.npmjs.com/package/cordova-plugin-chromecast

Chromecast support in PhoneGap / Cordova

Please give any solution for this.

Thanks in advance.

Usman Khan
  • 3,739
  • 6
  • 41
  • 89
saddam
  • 301
  • 3
  • 11

1 Answers1

0

After many tries, now I've implemented chrome-cast for IOS in Ionic with the help of this tutorial Click here

I used this script in podfile

pod 'google-cast-sdk', '~> 2.0'

And run commands

pod install

Now it is working fine and I found some issues in this like play and pause but I handled this. If anyone want to know any issue related this. I believe I'll help surely.

saddam
  • 301
  • 3
  • 11