- Notifications
You must be signed in to change notification settings - Fork 461
Closed
Description
Issue
Hello,
Started to pick up some bugs from users of our app on Android 14 devices - error seems to be "User cancelled flow". I've found some posts online about this but not found a suitable workaround.
Environment
- Your Identity Provider:
AWS Cognito
- Platform that you're experiencing the issue on:
Android
- Your
react-native
Version:0.69.5
- Your
react-native-app-auth
Version:7.1.0
- Are you using Expo? No
Our AppManifest looks like this:
<!-- The intent filter mapped here handles deeplinks and notification opening --> <activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:exported="true" android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <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="myapp" android:host="myapp" /> </intent-filter> </activity> <!-- This intent filter is used for react-native-app-auth and has to be distinct from the one used by React Native Linking or conflicts arise. Note also the different scheme --> <activity android:name="net.openid.appauth.RedirectUriReceiverActivity" tools:node="replace" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleInstance" android:windowSoftInputMode="adjustResize" 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="appname" /> </intent-filter> </activity>
Any advice?
Thank you.
Metadata
Metadata
Assignees
Labels
No labels