AppAuth-Android
AppAuth-Android copied to clipboard
Invalid ID in Unity
Configuration
- Version: 0.10.0
- Integration: unity
- Identity provider: Google
Description
I have a project to save file to Google Drive. So, I need to use AppAuth to login. But, when I login , It will turn back to login page, not go to app. how can I do in my projec
t
Please provide more information how you've integrated AppAuth into your project. Just stating Unity is not enough information to help with your integration.
first, thanks your help. I use Unity 2020.3.19, and I use PlayServicesResolver to provide me resolve dependencies. Here is: https://github.com/googlesamples/unity-jar-resolver It provide net.openid.appauth-0.10.0.aar for Unity. This project is work on Android 8, but not on Android9 and above.
Sorry when I asked about the integration I wanted to know how you defined your AndroidManifest.xml
(probably the one in Assets/Plugins/Android/
) or how you've defined the appAuthRedirectScheme manifestPlaceholder required by the lib, and of course what are the values you're using.
Here is AndroidManifest.xml in my project.
And, there are same app, but different result.
Android 8 , It work!! I can login and get my google drive files list.
https://user-images.githubusercontent.com/16771070/136340120-1bdd4181-02d0-459c-9eff-8c0f792cd44b.mp4
Android 11 It not work.
https://user-images.githubusercontent.com/16771070/136340352-808866c3-4a88-4766-9675-9c7e988656e9.mp4
Just a guess but try removing android:launchMode="singleTask"