You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Mark (JIRA)" <ji...@apache.org> on 2017/02/14 19:02:41 UTC

[jira] [Created] (CB-12459) network-information and device plugins cause deviceready to not fire on cordova-ios 4+

Mark created CB-12459:
-------------------------

             Summary: 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: cordova-ios@4.3.1
         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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org