coolishbee / universal-sdk-unity

The Universal SDK for Unity provides a modern way of implementing Social Login APIs.
45 stars 11 forks source link

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

Closed 2ez4tt closed 1 year ago

2ez4tt commented 1 year ago

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.

2ez4tt commented 1 year ago

Capture

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

coolishbee commented 1 year ago

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.

2ez4tt commented 1 year ago

image does this help?

2ez4tt commented 1 year ago

solved this after following a comment here https://github.com/facebook/facebook-android-sdk/issues/997

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

This solved the issue.

2ez4tt commented 1 year ago

issue was resolved by adding this in mainTemplate.gradle

I also want to ask 1) Can I remove this somehow if I am not using apple login? because it gives error in release report in playstore .

Your app performs authentication via WebViews, which leads to security and usability issues. Please see this Google Help Center article https://support.google.com/faqs/answer/12284343 for details.

TIA

On Mon, Jan 9, 2023 at 8:11 PM James Cheon @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/coolishbee/universal-sdk-unity/issues/13#issuecomment-1375769455, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECKWZIXEC2IPLIYWGXWHDLWRQTD7ANCNFSM6AAAAAATUWMB7A . You are receiving this because you authored the thread.Message ID: @.***>

coolishbee commented 1 year ago

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.