[TIMOB-25909] iOS: Getting security alert screen
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2018-03-28T19:52:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | Appcelerator, security |
Reporter | Prafulla Bansode |
Assignee | Hans Knöchel |
Created | 2018-03-28T07:42:39.000+0000 |
Updated | 2018-08-06T17:52:05.000+0000 |
Description
While launching the application we have seen the security alert (see the attached screenshot).
Explanation of this issue on chat from Appcelerator team is:
if we added the jail-broke property in tiapp then this app will not work on rooted device and you will see this error. But we are running the app on the same device and this is not observed again an again.
Please let us know the other scenario's in which this issue may occur. What steps we need to take to get it resolved?
Attachments
Hey there! So I assume this is iOS? Please always provide your full environment, so we are actually able to help. Also, please attach a log if available and the tiapp.xml of the application (please remove all sensitive data like the app-id, appc-id and api-keys). The error screen looks like you enabled jailbreak-detection, which will make the app unusable for devices running jailbreaks. Many customers require this property to save their applications from being remote-debugged, which is only possible with jailbroken devices (e.g. Cydia). Looking at the tiapp.xml will help getting this cleared asap! *EDIT*: Also fundamentally important: Is this only with the latest SDK version or does it occur with older ones as well?
I am using sDK 6.3.0 , we observed the above issue on iPhone X (OS . 11.0) and simulators as well,
Well, you use all three security properties:
Disabling them will allow jailbroken phones to run your app again. Read more about the properties in [here](https://docs.appcelerator.com/platform/latest/#!/guide/tiapp.xml_and_timodule.xml_Reference-section-src-29004921_tiapp.xmlandtimodule.xmlReference-appc-security-jailbreak-detect) (all three properties are listed). Resolving ticket as it's not an issue with the SDK but a feature that works as designed. Again, removing them will change the behavior and fix your issues.
In this case, the app should never run on the same device. But we have seen this issue only once and it was working on the same device rest of the times.
The functionality was broken a while ago and had been fixed since a few versions. Did you update your SDK between the last time and this time? Then that might be the reason and you should remove the flag if you don‘t want to use this functionality.
Closing as "not our bug". If you disagree, please reopen.