TruckMovers / cordova-plugin-remote-injection

DEPRECATED: Cordova plugin to allow a remote site to interact with cordova's javascript APIs when loaded within a cordova app.
Apache License 2.0
91 stars 95 forks source link

How do I inject and use cordova plugins ? #37

Closed alexandrzavalii closed 6 years ago

alexandrzavalii commented 6 years ago

After I moved my webview on the server I have many plugins not available.

For some reason there are few that I can access. cordova.plugins:

Keyboard: function() brightness: {getBrightness: function, setBrightness: function, setKeepScreenOn: function} screenorientation:

window.plugins:

orientationLock

In my javascript I have a call to 'window.plugins.streamingMedia.playVideo

How would I make all the cordova plugin available the same way they where previously ? Can I inject them using this plugin ?