[TIMOB-19366] iOS9: Remote images served over http crash app
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2015-08-24T01:45:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | httpclient, imageView |
Reporter | Rick Blalock |
Assignee | Eric Merriman |
Created | 2015-08-18T04:01:02.000+0000 |
Updated | 2017-03-31T22:46:56.000+0000 |
Description
Steps to reproduce:
1. Point an ImageView to a remote image over http (not https)
2. Add this to plist:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true />
</dict>
3. Run app and crash
I attached the crash file.
Attachments
File | Date | Size |
---|---|---|
FishRulesApp_2015-08-17-234908_rblalockRMBP.crash | 2015-08-18T04:00:54.000+0000 | 107648 |
Also, I've verified that if I remove the image views pointing to the remote images served up over http, it does not crash.
[~rblalock], I can't reproduce. I have tiapp.xml updated as above. Then I have this sample code:
works fine.
hmm weird. Not sure how to troubleshoot further on this.
Can anything be gleaned from the crash log I attached to the ticket to help me troubleshoot this further?
Any specific image URL we can try to troubleshoot? It looks like it's still related to trying to load an image from some URL. https://github.com/appcelerator/titanium_mobile/pull/7038/files for reference about whitelisting.
I've narrowed this down to something in my list view that is loading remote images. However, in a test app...I cannot reproduce it yet. Still working on it...
So was it crashing because the plist dict was conflicting? Why would that cause a crash?
also...this still crashes for me
Closing ticket as "Cannot Reproduce", if you encounter any further problems please file a new ticket.