[
https://issues.apache.org/jira/browse/CB-12459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866473#comment-15866473
]
Kerri Shotts commented on CB-12459:
-----------------------------------
Please try again but use the Cordova CLI to create your project. The PhoneGap
CLI is downstream, and so not covered by this site. There shouldn't be a
significant difference, but best to keep everything in the bug report from the
same CLI.
Also: what device(s)/sim(s) have you tested with? Does anything get logged to
the JavaScript and/or device console?
> network-information and device plugins cause deviceready to not fire on
> cordova-ios 4+
> --------------------------------------------------------------------------------------
>
> Key: CB-12459
> URL: https://issues.apache.org/jira/browse/CB-12459
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Device, Plugin Network Information
> Affects Versions: [email protected]
> Environment: Phonegap cli version 6.4.3, cordova cli 6.5.0, cordova
> platform ios 4.3.1
> Reporter: Mark
>
> installing either of these 2 plugins results in an app deviceready event not
> firing. It also results in the didFinishLaunchingWithOptions delegates not
> firing.
> I used a bare skeleton of an app, but executing only these commands :
> phonegap create test com.test "Test"
> cd test
> cordova platform add ios
> cordova plugin add cordova-plugin-network-information
> I edit the MainViewController.h file and add the protocol to the declaration :
> MainViewController implements CDVViewController <UIWebViewDelegate>
> I edit MainViewController.m and simply add the method definition :
> - (void)webViewDidFinishLoad:(UIWebView *)webView {
>
> [super webViewDidFinishLoad:theWebView];
> }
> I use XCode (7+) to install the app and run it on any iphone device and the
> deviceready event never fires.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]