Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

injection not working ! #44

Open
muxuehen opened this issue Jul 10, 2018 · 1 comment
Open

injection not working ! #44

muxuehen opened this issue Jul 10, 2018 · 1 comment

Comments

@muxuehen
Copy link

muxuehen commented Jul 10, 2018

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

@ahmetws
Copy link

ahmetws commented Oct 15, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants