Closed yoniker closed 2 years ago
@yoniker try to upgrade to the last version of this plugin flutter_facebook_auth maybe is a bug in the facebook native sdk since flutter_facebook_auth: 4.4.0 this plugin uses the last version of the facebook sdk
@darwin-morocho I tried flutter_facebook_auth: ^4.4.0+1 (including clearing the cache and flutter clean) and same issue.
@yoniker
you should remove
<activity android:name="com.facebook.FacebookActivity"
android:configChanges=
"keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name" />
<activity
android:name="com.facebook.CustomTabActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="@string/fb_login_protocol_scheme" />
</intent-filter>
</activity>
from your AndroidManifest.
Also. Why you have 2 MainActivity classes?
@yoniker this seem to be a bug of the native facebook sdk so you should open the issue here https://github.com/facebook/facebook-android-sdk
I've removed it as suggested, still the same. I'll submit a bug at that repo as suggested. Huh, I just found out that after updating Google play store, and updating chrome, the problem goes away. Weird.
@yoniker if the problem was solved close the issue
Sure. In your opinion should I consider it as solved? i.e. I'm not sure how many users updated (or didn't update) chrome. Either way, almost for sure it's not an issue with this repo.
Because the issue is not related with this plugin it must be closed
What version are you using?
flutter_facebook_auth: ^4.3.4+2
What OS and version are you using to local deploy your application?
Ubuntu 20.04
What platforms are you seeing the problem on?
Android
pubspec.yaml
Describe the Bug
Username/password and email fields are being reset (instead of logging in) indefinetly. See https://youtube.com/shorts/3vN3I610Rrs?feature=share I should note that for the same emulator but with API versions 28,29 and 30, it is working fine.
Expected Behavior
Pass the login screen
To Reproduce
Try to login with API 27 or less (Android)
Relevant log output
flutter doctor -v
Info.plist (iOS)
No response
Podfile (iOS)
No response
AndroidManifest.xml
MainActivity.java
MainActivity.kt
index.html
No response
Info.plist (macOS)
No response