unity-google-drive icon indicating copy to clipboard operation
unity-google-drive copied to clipboard

Platform-specific client ID

Open mgatelabs opened this issue 1 year ago • 2 comments
trafficstars

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.

mgatelabs avatar Dec 27 '23 03:12 mgatelabs

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

yoiang avatar Nov 02 '24 13:11 yoiang

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.

mgatelabs avatar Nov 04 '24 14:11 mgatelabs