This is a migrated thread and some comments may be shown as answers.

iOS 6.1.6 and iPhone 3GS debug vs release build issue

5 Answers 46 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Carlos
Top achievements
Rank 1
Carlos asked on 15 Aug 2016, 07:11 PM

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?

 

 

5 Answers, 1 is accepted

Sort by
0
Garo
Telerik team
answered on 18 Aug 2016, 03:34 PM
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.

 
0
Carlos
Top achievements
Rank 1
answered on 18 Aug 2016, 04:12 PM

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.  

0
Garo
Telerik team
answered on 23 Aug 2016, 03:11 PM
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.

 
0
Carlos
Top achievements
Rank 1
answered on 23 Aug 2016, 03:42 PM

@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.

0
Carlos
Top achievements
Rank 1
answered on 23 Aug 2016, 03:42 PM

@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.

Tags
Report a bug
Asked by
Carlos
Top achievements
Rank 1
Answers by
Garo
Telerik team
Carlos
Top achievements
Rank 1
Share this question
or