cordova-plugin-remote-injection icon indicating copy to clipboard operation
cordova-plugin-remote-injection copied to clipboard

injection not working !

Open muxuehen opened this issue 6 years ago • 1 comments

in config.xml

 <preference name="AppendUserAgent" value="com.myWebApp" />
<preference name="CRIInjectFirstFiles" value="www/js/init.js" />
<preference name="CRIPageLoadPromptInterval" value="5" />
<preference name="CRIShowConnectionErrorDialog" value="0" />

but remote website cannot load my js filie. help help

muxuehen avatar Jul 10 '18 08:07 muxuehen

I also have this and then I figure out that my project cannot load the plugin successfully.

You can add a debug pointer to pluginInitialize method on CDVRemoteInjectionPlugin.m file and then make sure that the plugin is initializing correctly. If compiler doesn't stop on the breakpoint, you need to check your configuration.

ahmetws avatar Oct 15 '18 14:10 ahmetws