unity-google-drive
unity-google-drive copied to clipboard
Platform-specific client ID
I was able to solve this on my End by writing a script to edit the GoogleDrive asset file during the build process, but I have a project that runs on iOS and Android. I just started to work with iOS and it's integration was fine, but then Android started to complain about invalid URI's.
From what I can tell, the way it's setup is really just to support one OS as a time, since it was trying to use the iOS settings for Android. Switching the client_id, clientid and reverseclient... to Android values made it functional on my side.
It would be nice to have individual settings for Android/iOS to store the Client ID's since they could be different.
I had the same issue going between Windows and macOS!
I think this is the culprit: https://github.com/elringus/unity-google-drive/blob/c77e6cd97e31cdf9a8d9575e452bf844ddcbbee6/Assets/UnityGoogleDrive/Runtime/Utilities/Helpers.cs#L130
On a side note, I'm dropping Google Drive support, the requirements to take it past 100 users is way too difficult for unlimited read support.