freshplanet / ANE-NativeShare

Brings up the native share dialog
Apache License 2.0
25 stars 11 forks source link

Not showing with BitmapData #8

Closed new-username closed 8 years ago

new-username commented 8 years ago

Hi, I looked at the code and it seems to allow BitmapData to be attached, however when I try the share box doesn't appear. Am I doing something wrong?

Note: It works without the BitmapData and Tested on Android only.

var myShareObject:AirNativeShareObject = new AirNativeShareObject(); myShareObject.setDefaultText("This will be shared on Facebook"); myShareObject.setDefaultLink("http://www.google.com");

var bm:BitmapData = new BitmapData(200,200); AirNativeShare.getInstance().showShare(myShareObject, bm);

new-username commented 8 years ago

Forgot to add the storage permissions for Android. Works now.