GitHub user eladmoshe opened a pull request:
https://github.com/apache/cordova-ios/pull/229
Incorrect reference to UIWebView
In `CDVUIWebViewNavigationDelegate.m` there is a call to
`self.enginePlugin.webView` which returns nil.
This bug breaks the Cordova mechanism for posting notifications to the
default notification center, so the application cannot listen to notifications.
The webview is already part of the functions signature, so we can simply
use `theWebView` instead of `self.enginePlugin.webView`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/eladmoshe/cordova-ios master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-ios/pull/229.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #229
----
commit 4974ac25234a193a984cec043a69e68cfd77da68
Author: Elad Moshe <[email protected]>
Date: 2016-06-15T06:41:03Z
Fixed reference to webview
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]