You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My app cannot login if Facebook app is installed, but works well with Chrome Custom Tab if the app is not installed.
Error Message is
Login Error : There is an error in logging you into the application. Please try again later.
Expected Behavior
I want to login to Facebook even if the app is installed.
To Reproduce
``
Relevant log output
No response
flutter doctor -v
``
Info.plist (iOS)
No response
Podfile (iOS)
No response
AndroidManifest.xml
<manifestxmlns:android="http://schemas.android.com/apk/res/android"package="com.healthppypatient.s_healthppy_patient"xmlns:tools="http://schemas.android.com/tools">
<queries>
<providerandroid:authorities="com.facebook.katana.provider.PlatformProvider" />
</queries>
<uses-permissionandroid:name="com.google.android.gms.permission.AD_ID"tools:node="remove"/>
<uses-featureandroid:name="android.hardware.camera" />
<uses-featureandroid:name="android.hardware.camera.autofocus" />
<uses-permissionandroid:name="android.permission.CAMERA" />
<uses-permissionandroid:name="android.permission.RECORD_AUDIO" />
<uses-permissionandroid:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permissionandroid:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permissionandroid:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permissionandroid:name="android.permission.INTERNET"/>
<uses-permissionandroid:name="android.permission.CALL_PHONE"/>
<applicationandroid:name="${applicationName}"android:label="Patient"android:icon="@mipmap/ic_launcher">
<meta-dataandroid:name="com.facebook.sdk.ApplicationId"android:value="@string/facebook_app_id"/>
<meta-dataandroid:name="com.facebook.sdk.ClientToken"android:value="@string/facebook_client_token"/>
<activityandroid:name=".MainActivity"android:launchMode="singleTop"android:theme="@style/LaunchTheme"android:exported="true"android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"android:hardwareAccelerated="true"android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as the Android process has started. This theme is visible to the user while the Flutter UI initializes. After that, this theme continues to determine the Window background behind the Flutter UI. -->
<meta-dataandroid:name="io.flutter.embedding.android.NormalTheme"android:resource="@style/NormalTheme"
/>
<!-- Displays an Android View that continues showing the launch screen Drawable until Flutter paints its first frame, then this splash screen fades out. A splash screen is useful to avoid any visual gap between the end of Android's launch screen and the painting of Flutter's first frame. -->
<meta-dataandroid:name="io.flutter.embedding.android.SplashScreenDrawable"android:resource="@drawable/launch_background"
/>
<intent-filter>
<actionandroid:name="android.intent.action.MAIN"/>
<categoryandroid:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<actionandroid:name="FLUTTER_NOTIFICATION_CLICK"/>
<categoryandroid:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below. This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-dataandroid:name="flutterEmbedding"android:value="2" />
</application>
</manifest>
MainActivity.java
No response
MainActivity.kt
No response
index.html
No response
Info.plist (macOS)
No response
The text was updated successfully, but these errors were encountered:
GnuaAruht
changed the title
Cannot login when Facebook is installed in Android
Cannot login if Facebook app is installed in Android
Jan 10, 2024
What version are you using?
6.03
What OS and version are you using to local deploy your application?
MacOS
What platforms are you seeing the problem on?
Android
pubspec.yaml
Describe the Bug
My app cannot login if Facebook app is installed, but works well with Chrome Custom Tab if the app is not installed.
Error Message is
Expected Behavior
I want to login to Facebook even if the app is installed.
To Reproduce
``
Relevant log output
No response
flutter doctor -v
``
Info.plist (iOS)
No response
Podfile (iOS)
No response
AndroidManifest.xml
MainActivity.java
No response
MainActivity.kt
No response
index.html
No response
Info.plist (macOS)
No response
The text was updated successfully, but these errors were encountered: