iOS 6.1.6 and iPhone 3GS debug vs release build issue

6 posts, 0 answers
  1. Carlos
    Carlos avatar
    69 posts
    Member since:
    Jun 2011

    Posted 15 Aug Link to this post

    Cordova version 4.0.0 (Android 4.1.1, iOS 3.8.0, WP 3.8.0-2)

     

    We are having an issue with iPhone 3GS and iOS 6.1.6. (I know old)

    When we build for "Debug" and deploy directly to the device (no using the AppBuilder companion app) using AppBuilder Windows desktop client, our app runs and launches as expected. Runs fine.

    If we set the build setting to "Release" and deploy directly to the iOS device, the app launches the splash screen then quits with no reason.

    Is there a way to:

    1. Figure out why this is happening

    2. Can anyone explain why this may be happening?

     

     

  2. Garo
    Admin
    Garo avatar
    46 posts

    Posted 18 Aug Link to this post

    Hello Carlos,

    I am deploying a newly created app on an iPhone 3GS with iOS 6.1.3 and I am unable to reproduce this faulty behavior. One possible reason, that I can think about, is if your app is using custom plugins that require iOS 7.0+. If this is the case you could try disabling them and verify if this fixes the issue. Also, if this solution helps and you can build successfully in release mode, you would have to either drop support for this device or remove the problematic plugins from your app.

    Additionally, please have in mind that Apache Cordova supports iPhone 4S or later devices, as stated here.

    That being said, if this is not helpful, I would kindly ask you to provide me the name of your app and allow me to examine it, so I could investigate this problem further.

    Regards,
    Garo
    Telerik by Progress
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. Carlos
    Carlos avatar
    69 posts
    Member since:
    Jun 2011

    Posted 18 Aug in reply to Garo Link to this post

    Hi Garo,

    It may be a plugin issue.

    According to the label in Telerik Platform, the iOS Cordova version is 3.8.0 and anything above that is experimental. So we set our iOS Cordova version to 3.8.0 in Telerik Plaform and in the Cordova documentation, iOS 6 support did not get dropped until iOS Cordova version 4.0.  

    You can test our app in the iOS webstore. The app is called "DMNS eCard".

    We will check to see if it is a plugin issue and will do try a basic app from the Telerik projects on the phone.  

  4. Garo
    Admin
    Garo avatar
    46 posts

    Posted 23 Aug Link to this post

    Hi Carlos,

    Thank you for providing me with the name of your application. After further investigation, I was able to determine that the faulty behavior is, most likely, caused by the Verified Facebook plugin. Please, correct me if I am wrong and your app does not include the Facebook plugin. If this the case, I would like to note that version 1.7.1.3 of the Verified Facebook plugin is using the Facebook SDK version 4, which supports only iOS 7+ devices. I am afraid it is not possible to modify the plugin to meet your requirements.

    As a workaround, you could use an older version (1.0.1.1) of the plugin, which relies on older Facebook SDK. Please, have in mind that this might cause different issues if you are using functionality from the newer Facebook SDK.

    I hope this helps.

    Regards,
    Garo
    Telerik by Progress
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  5. Carlos
    Carlos avatar
    69 posts
    Member since:
    Jun 2011

    Posted 23 Aug Link to this post

    @Garo,

    Thanks for the response, we found that the issue was the Facebook Plugin, but we could not easily find what version of iOS it supported.  We are just going to drop support for iOS 6 at this point instead of installing a older version of the plugin. Thanks for the help again.

  6. Carlos
    Carlos avatar
    69 posts
    Member since:
    Jun 2011

    Posted 23 Aug in reply to Garo Link to this post

    @Garo,

    Thanks for the response, we found that the issue was the Facebook Plugin, but we could not easily find what version of iOS it supported.  We are just going to drop support for iOS 6 at this point instead of installing a older version of the plugin. Thanks for the help again.

Back to Top