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

Facebook sdk hash key configuration #255

Open
dfeng99 opened this issue Sep 12, 2017 · 1 comment
Open

Facebook sdk hash key configuration #255

dfeng99 opened this issue Sep 12, 2017 · 1 comment

Comments

@dfeng99
Copy link

dfeng99 commented Sep 12, 2017

Hi,
I tried this ANE with Flash Builder on an android device and monitor the running process with Android studio logcat, the app always stop at whatever code call to Facebook sdk. I think it is something related to the hash code configuration. The problem I have encountered is when I change Flash Builder default keystore for development to the keystore provided by the Android Studio at ~/.android/debug.keystore the Flash Builder gets build error as attached picture
2017-09-12 3 15 46.
And if I try it reversely, use the keystore which provided by Flash Builder and try it on the Android Studio 2.3.3, it also be rejected. The Facebook sdk works fine if I try it on the Android Studio with the key hash provided by Android Studio key store. But I just can't not verify the development on Flash Builder, any configurations should be taking care?

Regards,
#David

@dfeng99
Copy link
Author

dfeng99 commented Sep 12, 2017

It seems like not the hash key problem. I've tried the method provided by SO Answer 141 to get the hash key at runtime. The hash key I get is the same as the one I saved in the Facebook settings page.
It's weird, the app do not crash but just hanging there by even run a simple statement FacebookSdk.isInitialized(). No exception was caught.

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