coolishbee/universal-sdk-unity

App crashes after clicking on Login with Facebook live app (app is live on google store)

Closed this issue · 6 comments

What did you do?

I pressed login with facebook and app crashes

What did you expect?

it should login with facebook

What happened actually?

After completing app check and going live on google play store when I login using facebook app crashes. it was working fine for admins of app before in both development and live mode but giving error for other users. After completing app checkup (setting advance access for both email and login) for facebook app now it crashes for other users when logged in.

Your environment?

Unity version 2021.3.16, Android version 33,

Screenshots or Log

It would be appreciated if you can provide a screenshot or log that i can infer the issue.

Capture

could this be the problem because it is not working on devices above android 11? tried few with android 11 its working

So far, no crash logs have been reported from Facebook login. It seems that the low version of the facebook sdk is not the cause. Try tracing the crash log using adb logcat? I need an error message to figure out the cause.

image
does this help?

solved this after following a comment here facebook/facebook-android-sdk#997

added -> implementation 'com.facebook.android:facebook-android-sdk:12.3.0' in mainTemplate.gradle

This solved the issue.

Support issue for Targeting S+ (version 31 and above). Thanks for the crash log.
Support for Targeting S+ (version 31 and above) is currently being prepared. I'll make it available as soon as possible.

In the case of Apple login, there is currently no way other than webview to support Android. It is currently difficult to selectively take this. I'll think of a good idea.