cordova-plugin-googleplus icon indicating copy to clipboard operation
cordova-plugin-googleplus copied to clipboard

Plugin does not work on browser platform with Cordova 9

Open ryaa opened this issue 5 years ago • 2 comments
trafficstars

There is an error in console

Not a valid origin for the client: http://localhost:8100 has not been whitelisted for client ID WEB_APPLICATION_CLIENT_ID. Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID.

I have added the appropriate url address (example: http://localhost:8100) to Authorized JavaScript origins section as mentioned here https://github.com/ryaa/cordova-plugin-googleplus/tree/fix-for-browser-platform-cordova-9#browser

ryaa avatar Dec 31 '19 16:12 ryaa

Why don't you use firebaseAuth on browser instead of the cordova plugin ?

Merwan1010 avatar Feb 25 '20 07:02 Merwan1010

Why don't you use firebaseAuth on browser instead of the cordova plugin ?

I prefer to use the same solution on the browser platform because I develop and test there before building/deploying to a real device.

ryaa avatar May 08 '20 05:05 ryaa