Skip to main content
Participating Frequently
November 6, 2018
Question

datashare ane working ios 11?

  • November 6, 2018
  • 1 reply
  • 389 views

hi,

I used datashare ane in my app. sharing image is not working properly. sending message and data is working. but share image is not working when I select "save it to camera roll". printing , assigning it to a person, save to the folders is working. is there anything that I can do?

This topic has been closed for replies.

1 reply

Flipline
Inspiring
November 6, 2018

Since it sounds like only the Camera Roll part of it is having an issue, are you using all of the permissions features that newer iOS versions have required (like checking CameraRoll.permissionStatus and using requestPermission)?  If the camera roll handling is done through an ANE you're using, I'd make sure that ANE has been updated to include these features since they're required now, I believe they were added in AIR 24 for Android but weren't required in iOS until a little while later.  Also, be sure you're setting the keys in the iPhone InfoAdditions (NSCameraUsageDescription, NSPhotoLibraryUsageDescription, NSPhotoLibraryAddUsageDescription) since those are also required for saving images to the camera roll. 

Participating Frequently
November 22, 2018

thank you Flipline,

can I use this ane to share video? it gives error when I use like that...in fact I can compile, but on my mobile nothing happened when I click image_share button.

private var videoFile;

videoFile = File.applicationDirectory.resolvePath( "videos/Test_Video.mp4");

img_share.shareImage(videoFile,"Painted with Invisible Pix - Your magic picture and coloring book!","", "");