Hello! We've encountered an issue where the ArcGIS Login Page keeps reappearing after entering credentials on a device running Android 14. Interestingly, this bug is also reproducible using the repository example code. We've only observed this behavior on real devices with Android 14.
Here is a video demonstrating the bug: [bug demo].
Does anyone have any insights or suggestions on how to resolve this?
Thanks in advanced!
Solved! Go to Solution.
Thanks for the info,
Let's try a few additional debug steps.
1st:
Download the ArcGIS Maps SDK Sample Viewer app, link here
Then, search for the sample "Authenticate with OAuth". Open it and try to login with your credentials.
2nd:
Downgrade your chrome version. You can do this by going to Chrome's "App Info" -> "App details" -> "Uninstall". This will just uninstall the latest updates to the app, not the actual app.
Then try opening the "Authenticate with OAuth" sample in the ArcGIS Maps SDK Sample Viewer App. Try to login with your credentials again.
Additionally, can you share the Chrome Version (after uninstalling the updates).
Let me know if you can still reproduce the bug after trying both of these steps.
Thanks!
Hello,
Could you try and repro this when Chrome is set as your default browser?
Yes, I have tried it and it is the same.
Here you can see the video.
I am not able to reproduce the bug using the sample you mentioned: https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/tree/main/authenticate-with-oauth , I am able to redirect to the app successfully.
Can you verify that the sample AndroidManifest file has the following lines:
<data
android:host="auth"
android:scheme="authenticate-with-oauth" />
We normally see this behavior when the redirect URI is not setup properly.
Additionally, can you share more info about:
- Device type
- Android version
- Chrome Version (found under Chrome's "App Info")
Yes, the AndroidManifest it also contained those lines.
This is the info about my device:
- Device type: Galaxy A14
- Android version: 14
- Chrome Version:128.0.6613.88
Thanks for the info,
Let's try a few additional debug steps.
1st:
Download the ArcGIS Maps SDK Sample Viewer app, link here
Then, search for the sample "Authenticate with OAuth". Open it and try to login with your credentials.
2nd:
Downgrade your chrome version. You can do this by going to Chrome's "App Info" -> "App details" -> "Uninstall". This will just uninstall the latest updates to the app, not the actual app.
Then try opening the "Authenticate with OAuth" sample in the ArcGIS Maps SDK Sample Viewer App. Try to login with your credentials again.
Additionally, can you share the Chrome Version (after uninstalling the updates).
Let me know if you can still reproduce the bug after trying both of these steps.
Thanks!
Yes, unfortunately the problem persists after having followed your recommendations.
Now my current Chrome Version is: 117.0.5938.60
Thanks for that information @NicoleLeiva
One last thing, in the"Authenticate with OAuth" sample, if you dismiss the OAuth Login page by clicking on the "X" button on the top left and you go back to the sample, does the secure map load at all? If so, you should be able to see the traffic layer.
Thanks.
Hey, @Erick_1 ! I have some news, now is working as expected. I did not need to close it manually.
I think that by uninstalling the latest updates on my chrome version made it work at some point.
Thanks for your support!