I'm trying to create an hybrid app using Ionic 5 that will cast some media. From docs
The Chrome Sender API consists of two parts: the Framework API (cast.framework) and the Base API (chrome.cast)
I'm trying to find cordova plugin that provides me this functionality. Couple I've tried (like https://github.com/jellyfin/cordova-plugin-chromecast) have only the Base API (chrome.cast), but not the framework.
Is there any cordova plugin that provides both APIs or any other way of enabling framework?
I have also tried to use google lib for it: https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1
but it requires navigator.Presentation
to be accessible and it doesn't exist on WebView (also couldn't find any cordova plugin that provides navigator.Presentation
).