Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jkpatel1463 opened this issue Nov 23, 2018 · 0 comments
Open

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

jkpatel1463 opened this issue Nov 23, 2018 · 0 comments

Comments

@jkpatel1463
Copy link

jkpatel1463 commented Nov 23, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant