-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hello there
Here are all technical details:
- Adobe Air SDK: 31.0
- ANE-NativeShare Version: ANE from Commit #2e03703 used to develop app
- iPhone: 6s
- OS Version: 11.2.5
- Modem Firmware: 8.30.01
code
_nativeShare=AirNativeShare.instance;
_nativeShare.logEnabled = true
if (!AirNativeShare.isSupported)
{
trace("AirFlurry ANE is NOT supported on this platform!");
return;
}
var areaMC:MovieClip=MovieClip(_screen.getChildByName("SelMc"));
var rect:Rectangle=new Rectangle(0, 0, Math.floor(areaMC.width), Math.floor(areaMC.height));
var bmpDta:BitmapData=new BitmapData(Math.floor(areaMC.width), Math.floor(areaMC.height), true, 0x00000000);
var moveImage:Matrix = new Matrix();
moveImage.translate(Math.floor(areaMC.width)/2, Math.floor(areaMC.height)/2)
bmpDta.draw(areaMC, moveImage, null, null, null);
_nativeShare.showShare([bmpDta]);
trace
[AirNativeShare] Sharing now... :
Result:
App crashed when tap on "Save Image", Image shown when tap on "Add to Notes", "Save files" and it works in that case as well. Just crash on "Save Image" function.
Thank you.