Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cordova-plugin-inappbrowser
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub
cordova-plugin-inappbrowser
Commits
81aa8ba5
Commit
81aa8ba5
authored
5 years ago
by
Niklas Merz
Browse files
Options
Downloads
Patches
Plain Diff
(ios) fix regression in injectScriptFile
Fixes issue introduced in #584
parent
2cd868e9
Branches
3.2.x
Branches containing commit
Tags
3.2.0
rel/3.2.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ios/CDVInAppBrowser.m
+3
-3
3 additions, 3 deletions
src/ios/CDVInAppBrowser.m
with
3 additions
and
3 deletions
src/ios/CDVInAppBrowser.m
+
3
−
3
View file @
81aa8ba5
...
...
@@ -119,12 +119,12 @@
-
(
void
)
injectScriptFile
:(
CDVInvokedUrlCommand
*
)
command
{
#if WK_WEB_VIEW_ONLY
[[
CDVWKInAppBrowser
getInstance
]
injectScript
Cod
e
:
command
];
[[
CDVWKInAppBrowser
getInstance
]
injectScript
Fil
e
:
command
];
#else
if
(
self
.
usewkwebview
){
[[
CDVWKInAppBrowser
getInstance
]
injectScript
Cod
e
:
command
];
[[
CDVWKInAppBrowser
getInstance
]
injectScript
Fil
e
:
command
];
}
else
{
[[
CDVUIInAppBrowser
getInstance
]
injectScript
Cod
e
:
command
];
[[
CDVUIInAppBrowser
getInstance
]
injectScript
Fil
e
:
command
];
}
#endif
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment