distriqt / airnativeextensions

DEPRECATED: Original repository of the distriqt native extensions and is no longer maintained. Please see our site for the latest ANEs
https://airnativeextensions.com
2 stars 0 forks source link

CameraRollExtended crashes with "My Photo Stream" in iOS 8.1 #254

Closed brunokk closed 9 years ago

brunokk commented 9 years ago

In iOS 8.1, after selecting one single photo in "My Photo Stream" and clicking in "Done", my App crashes. This is the configuration:

options.maximumCount = 50; options.type = Asset.IMAGE; options.autoCloseOnCountReached = false; options.autoLoadBitmapData = false; options.autoLoadType = AssetRepresentation.THUMBNAIL;

Thanks for great extensions! Look forward to resolve this issue, so that I can release the app.

crooksy88 commented 9 years ago

This may be an issue with the ANE, AIR or iOS8. https://forums.adobe.com/message/6860867#6860867

Have you tried publishing your app without using the faster iOS packaging?

marchbold commented 9 years ago

Hi,

I'm trying to replicate this issue but I'm having problems, can you confirm the following for me:

Then to replicate the issue you are:

Would it be possible for you to get access to the device console logs during a crash and post them here?

Cheers

marchbold commented 9 years ago

Does it crash when you attempt to load the asset?

brunokk commented 9 years ago

Hi, yes, confirming what you described. Some more clarification. We are using:

Air 15 version released on Oct 22 (latest – also did not work with previous versions) http://labs.adobe.com/downloads/air.html Using AIR 15 SDK and Compiler Beta from link above

We see this issue in these devices: iPhone 6 Plus running iOS 8.1 iPad Mini running iOS 8.1

We indeed call CameraRollExtended.service.browseForAsset( options ) with options above. We are able to browse the photos and see photos in "My Photo Stream", and we can also select the photo. When we click on "Done" and it leaves the extension, it crashes. Indeed, it is possible that it crashes when code tries to load the image.

Are you able to reproduce the problem?

Thanks!

Bruno

marchbold commented 9 years ago

I can reproduce a crash when the image is attempted to be loaded but not when selecting. I'm working on a fix for that at the moment and will have an update in the coming hours.

Would be good if you could confirm the crash is happening after a load call i.e. either you have autoLoadBitmapData = true or after a call to CameraRollExtended.service.loadAssetByURL( ... ); ?

brunokk commented 9 years ago

It's good that you can reproduce. Regarding your question, It crashes in CameraRollExtended.service.loadAssetByURL().;

Look forward to your fix. Thanks!

brunokk commented 9 years ago

Hi crooksy88, Thanks for your post. The faster iOS packaging does not work for us. Several problems happen when we tried to use it. We always (have to) publish the app without using the faster iOS packaging. Best, Bruno

brunokk commented 9 years ago

We tested the last commit and it seems to be working well. Now we can release our App. Thanks!!

marchbold commented 9 years ago

Great to hear, and good luck with your App!