Skip to content
Snippets Groups Projects
Commit 81aa8ba5 authored by Niklas Merz's avatar Niklas Merz
Browse files

(ios) fix regression in injectScriptFile

Fixes issue introduced in #584
parent 2cd868e9
Branches 3.2.x
No related merge requests found
......@@ -119,12 +119,12 @@
- (void)injectScriptFile:(CDVInvokedUrlCommand*)command
{
#if WK_WEB_VIEW_ONLY
[[CDVWKInAppBrowser getInstance] injectScriptCode:command];
[[CDVWKInAppBrowser getInstance] injectScriptFile:command];
#else
if(self.usewkwebview){
[[CDVWKInAppBrowser getInstance] injectScriptCode:command];
[[CDVWKInAppBrowser getInstance] injectScriptFile:command];
}else{
[[CDVUIInAppBrowser getInstance] injectScriptCode:command];
[[CDVUIInAppBrowser getInstance] injectScriptFile:command];
}
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment