New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android redirection issues #33
Comments
Make sure your app id is all lower cased. If it won't help, use adb utility to extract the system log at the moment when redirect occurs to find out, what's causing the issue. |
I have try with the bundle id in lower case but I have still the issues ... |
Not really. There should be calls to either UnityPlayer or unitygoogledriveandroid/AuthorizationActivity. |
I've just tested android build with Unity 2018.3b10 and it worked fine. It could be the issue is with your project config or 3rd party packages. Try re-tracing all the setup steps and building the github example project. |
I seem to get some redirection issues too. When signing in it takes me to google.com and not my app (like it used to do before). The only thing I did was downgrade my Unity from 2019 alpha to 2018.2.16f1 (due to weird errors). Thanks for any help in advance. |
Join to this issue. Its working in Editor and iOS but not on Android. After choosing account for Google Drive its not redirect to my response page with "Please, return to the app" text for some reason. Instead of this it waiting 10-20 seconds and redirect to google.com. File not uploading on Android. Thank you for any help. |
Thanks for the reports guys! Unfortunately, I don't have time to fix this right now, so in case anyone have experience with native android stuff, check out the library used for the auth activity: https://github.com/Elringus/UnityGoogleDriveAndroid/blob/master/library/src/main/java/com/elringus/unitygoogledriveandroid/AuthorizationActivity.java Most likely the source of the issue is there. |
I've tried to reproduce this issue again on a new clean project using another google drive account, but it still worked fine and redirected me back to the app. In case anyone has an idea how to reproduce the issue, please let me know, otherwise I can't really help in any way. |
Well, I'm using Unity 2018.2.16f1 and this occurs so you can try to test it on this version. Also, maybe there are some Unity settings (for example Run In Background), which can lead to this happening? |
I've tested it on both Unity 2018.2 and 2018.3 beta. |
Hey guys, I've tested android again and was able to find some issues possibly related to an outdated appauth lib. Please try to follow the steps as stated here: #34 (comment) and let me know whether it resolved the redirection issue. |
Closing this for now. In case anyone will be able to make a stable repro case, feel free to re-open this issue. |
Hello,
First I want to say again thank you for this plugin.
As said in the title I have a issues with the redirection. After the authentification it don't go back to the app.
I followed the tutorial instruction and I have create 2 OAuth client ID (a web app and iOS).
But when I authenticate it seems use the web app OAuth (because the name that appears is the name of the web app). Is this normal ?
What should I do for after an authentication go back to the app?
Here is a screen of the google drive settings if it can help.
Thanks.
The text was updated successfully, but these errors were encountered: