-
Notifications
You must be signed in to change notification settings - Fork 123
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
Problem running this ANE #249
Comments
Hi,
my AS3 code (building in Flash CC, AIR 25.0.0.134 for Android): my app XML: and output in debugger: ....FB id is replaced, but in code I use the valid one.... |
Same problem here. AIRSDK 25.0.0.134 Seeing exact same results as @RomanBurnIT above. It does seem to be related to the fact that the metaData object is null. Not sure if it's an issue with the ANE or AIRSDK, as I've pulled out the meta data with apktool and everything looks to be in order. I tried re-compiling and debugging the android code, the callback for sdkInitialize is never called, and you get a bunch of errors in the logs as follows: AirFacebook: [NATIVE] FB application ID from AndroidManifest.xml: no metadata Yet there is no actual error for the original cause of the issue. |
Same results with AIR 24 and 25, also tried building against FacebookSdk 4.18 and 4.19 |
Anyone found a workaround / solution to this yet? @tufik2 @RomanBurnIT |
A FacebookActivity instance will be created when Facebook sdk init.but at this time a Exception happen .the program will be interrupted.In ANE, no exception will be throw out ,and the ActionScript fill no thing ,so you can not fount what happen in ANE.Usually the exception is beacause loss dependency jar file,such as support.****.jar. unzip the AirFacebook.ane.you will find that in the extension.xml most jar dependency jar files are remove.I do not know why. |
Have updated the Android SDK to 4.23.0 and re-added the platform dependencies in this branch: https://github.com/CaptainHug/ANE-Facebook Includes an updated binary. Fixed the issue for me. |
Hi @CaptainHug |
hello, just to give some feedback....I gave up with this one and I purchased the one from myflashlabs....works well and I guess the price is worth of spared time... |
I am texting this ANE, but don't run in AIR 24/25 - Android
if (Facebook.isSupported) Facebook.instance.init("276277716117762", _initCallback);
_initCallback never execute.....
Do I need to load additional ANES? or extra libraries?? Thank you...
I only load AirFacebook.ane extension, 8MG
And have that configuration....
The text was updated successfully, but these errors were encountered: