Skip to content

iPhone app crashed when tap on "Save Image" #18

@jkpatel1463

Description

@jkpatel1463

Hello there

Here are all technical details:

  1. Adobe Air SDK: 31.0
  2. ANE-NativeShare Version: ANE from Commit #2e03703 used to develop app
  3. iPhone: 6s
  4. OS Version: 11.2.5
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions