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

iOS App crashes on show share #4

Open
dwitzig opened this issue Feb 12, 2015 · 5 comments
Open

iOS App crashes on show share #4

dwitzig opened this issue Feb 12, 2015 · 5 comments

Comments

@dwitzig
Copy link

dwitzig commented Feb 12, 2015

using this example

var myShareObject:AirNativeShareObject = new AirNativeShareObject();
myShareObject.facebookText = "This will be shared on Facebook";
myShareObject.facebookLink = "http://www.google.com" ;
AirNativeShare.getInstance().showShare(myShareObject);

app will crash immediately
I'm using AIR 15B and iOS 8.1.2

@IngweLand
Copy link

Following is the correct example:
// Defining your share object
var myShareObject:AirNativeShareObject = new AirNativeShareObject();
myShareObject.messageText = "This will be shared on Facebook"
myShareObject.defaultLink = "http://www.google.com"

// Display a share dialog for the aforementioned shareObject
AirNativeShare.getInstance().showShare(myShareObject)

@colouredFunk
Copy link

Same problem here!

@im-aditya
Copy link

Same problem. The app crashes on showShare();
I am using AIR 23 and iOS 10.0.2

@justin-m-lacy
Copy link

Doesn't crash on older iphone 4. Crashes on iphone 6 or something. dont know the tester's exact specs.

@subdan
Copy link

subdan commented Jun 20, 2017

Crashes on iPhone 6s, iOS 10, AIRSDK 26.

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

6 participants