Krzysztof

Results 5 comments of Krzysztof

@TemplarRei @AndrewBarfield add this to index.html: ``` function start() { // Initialize the JavaScript client library. gapi.client.init({ 'apiKey': '', // clientId and scope are optional if auth is not required....

@TemplarRei You're welcome, I just had the same problem and this was only solution that worked for me.

Unfortunately you have to use REST api. You have to log user in using Google Sign-In, request appropriate scopes, then get token from GoogleSignInAccount.getIdToken. You can learn more here: https://developers.google.com/identity/sign-in/android/start-integrating...

It would be great if you added account name change and user photo change, perhaps using glide and optional firebase storage support. BTW great work on the library!

On second thought, provide option to change photo through intent and startActivityForResult perhaps? This way developer can use some sort of image cropping library, upload photo themselves and return link...