Thanks for the answer.
Now I have tried to run it on iOS. It fails and gives the error message 
"Please install the Google Plus app on your device in order to log in with 
Google Plus".
What does it mean?

Build Hint

ios.gplus.clientId=xxxxxxxxxxxxxc6.apps.googleusercontent.com (copied from 
credential type ios)

Code

Login gc = GoogleConnect.getInstance();
gc.setClientId("xxxxxxxxxxxxgk0.apps.googleusercontent.com"); // client ID 
copied from the credential type Web application
gc.setRedirectURI(...);
gc.setClientSecret(...);
gc.setCallback(...);
gc.doLogin();

Is there anything wrong? Thanks.


On Thursday, July 6, 2017 at 1:01:14 PM UTC+8, Shai Almog wrote:
>
> Yes.
> It should work on the device if you included the build hints as explained 
> in the developer guide.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/bef50080-1a6f-4c96-bd3a-5e01d56b8e9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to