We have an app. It does a lot. But the first thing is to sign in to get the name and picture of the user. And we have problem with it.
We have built a website in react and we used 'react-google-login' to sign in the user and get details. But, when we create the build and execute it in cordova, we get error as shown in the code.
gapi.client.load("plus","v1",apiClientLoaded),
gapi.client.plus.pepole.get({
userId:'me'
}).execute(e)//e is another variable
plus should be loaded and we should be able to access people. But, "people is undefined". We have tried adding 'window' also . No change.
Thank you in advance