hi,
i have a login screen in my game which has a google login button(which is a cc.Button). i want to know how to login to google on the ios platform using that cc.Button. all tutorials and documentation i saw online use buttons made in xcode. i want to know how to use the button from cocos creator.
thanks!
So, if you need the Google login you need to go to google developers google sign in and configure a new project and connect to your game!
Can one of the engine developers make a sample project wherein they use a cc.Button to call a static method in objective-C, to do Google login on the iOS platform. My creator version is 2.4.3 and the iOS versions I want to handle are 9.0 and above. Or even if they provide the code that will be fine. I will do the configuration myself. I just need to know what code to execute when I click on the cc.Button.
Thanks!
We just updated a doc about this. Perhaps this helps: creator-docs/oc-reflection.md at v3.0 · cocos-creator/creator-docs · GitHub
I know how to do reflection. I just don’t know what code should be in the static function, on the objective-C end, for the function to do a Google login.
I hope this is clear.