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

Not working on iOS 10+ and Cordova 8.0.0 #41

Open luiscuriel opened 6 years ago

luiscuriel commented 6 years ago

It works on Android but not on iOS.

Cordova is always undefined... should it work? Thanks.

muxuehen commented 6 years ago

hi In my APP ,it not work on Android. can you tell me how to use? Thanks

romain10009 commented 6 years ago

Same here, it doesnt work on IOS 11.X same code works on android (latest)

ahmetws commented 6 years ago

I managed to make it work with iOS. Make sure you have this config in your config.xml file.

   <feature name="RemoteInjection"> 
        <param name="ios-package" value="CDVRemoteInjectionPlugin" />
        <param name="android-package" value="com.truckmovers.cordova.RemoteInjectionPlugin" />
        <param name="onload" value="true" />
    </feature>