@PeYMaN57 @MACPK For some reason i can't get it to work for me, even after following the steps.
I've installed Cranberry's plugin and i've set up my events as shown below -
I've exported to IntelXDK and input the following code to intelxdl.config.additions.xml and added my App ID (11 digit number) instead of "YOUR_GOOGLE_PLAY_GAME_APP_ID"
- Code: Select all
<intelxdk:plugin intelxdk:name="game" intelxdk:value="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game" intelxdk:id="com.cranberrygame.phonegap.plugin.game">
<intelxdk:param intelxdk:name="APP_ID" intelxdk:value="YOUR_GOOGLE_PLAY_GAME_APP_ID" />
Do i need i need to add my App ID to 'intelxdk:name="APP_ID"' as well? There was no mention of that, so i'm not sure.
I haven't ticked Google Play services in the plugins section of IntelXDK and in the developer console, i've set up Play services and Alpha testing. Only thing i haven't done is set up achievements or leaderboards yet, but the whole thing is ready for testing.
I'm assuming i've made a mistake somewhere so i'd appriciate some help