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

fix(ios): correctly initialize cordova plugins with webViewEngine #4039

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

timbru31
Copy link
Contributor

This PR corrects a small mistake where Cordova iOS plugins were initialized with a webViewEngine set to nil which causes NPE's.
See two screenshots with before and after the changes applied.

Screenshot 2021-01-10 at 19 43 11

Screenshot 2021-01-10 at 19 43 44

@imhoffd imhoffd requested a review from ikeith January 11, 2021 16:50
Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added a minor change request

also, can you send the PR to 2.x branch instead of main?

main hosts the capacitor 3 alpha code, and this should be fixed for 2.x too, we will then merge 2.x into main before releasing next alpha version

@timbru31
Copy link
Contributor Author

Sure, I will address your comment and change the target 👍

@timbru31 timbru31 changed the base branch from main to 2.x January 12, 2021 09:25
@jcesarmobile jcesarmobile changed the title fix(ios): correctly initalize plugins with webViewEngine fix(ios): correctly initalize cordova plugins with webViewEngine Jan 12, 2021
@jcesarmobile jcesarmobile changed the title fix(ios): correctly initalize cordova plugins with webViewEngine fix(ios): correctly initialize cordova plugins with webViewEngine Jan 12, 2021
@jcesarmobile jcesarmobile reopened this Jan 12, 2021
@jcesarmobile jcesarmobile merged commit 273fab5 into ionic-team:2.x Jan 12, 2021
@timbru31 timbru31 deleted the fix/ios-webviewengine branch January 12, 2021 17:34
@imhoffd
Copy link
Contributor

imhoffd commented Jan 13, 2021

2.4.6 has been released. Thank you @timbru31 !!

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

Successfully merging this pull request may close these issues.

3 participants