You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/02/04 16:16:24 UTC

[GitHub] [cordova-android] FloodGames opened a new issue #1159: Documentation Google Play Services missing ?

FloodGames opened a new issue #1159:
URL: https://github.com/apache/cordova-android/issues/1159


   Isn't it pretty basic to automatically login to your google account in the android version? I tried my hardest but could not find any relevant documentation on this matter. 
   
   ![image](https://user-images.githubusercontent.com/60991890/106486375-de824380-64b1-11eb-812d-7bf85007fce3.png)
   source: https://developers.google.com/games/services/android/quickstart#step_3_modify_your_code
   
   I have added to config.xml :
   `<preference name="GradlePluginGoogleServicesEnabled" value="true" />`
   
   I uploaded a google-services.json file to 
   `\platforms\android\app`
   
   End result should be something like this, right? Unfortunately, it's not spawning
   ![image](https://user-images.githubusercontent.com/60991890/106487492-ff976400-64b2-11eb-9d0d-212afc9554df.png)
   
   I found out that the **ids.xml** mentioned by google is not even being created. Do I need to 'hook' these files after creation?
   
   **Tested on latest version:** Cordova & android


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] breautek commented on issue #1159: Documentation Google Play Services missing ?

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1159:
URL: https://github.com/apache/cordova-android/issues/1159#issuecomment-773765845


   > I found out that the ids.xml mentioned by google is not even being created. Do I need to 'hook' these files after creation?
   
   Android Docs says:
   
   > If you are creating an Android game from scratch, you will need to create this file first.
   
   So yes, you need to create the `ids.xml` file yourself. Have a look at the [Hooks API](https://cordova.apache.org/docs/en/9.x/guide/appdev/hooks/index.html). Alternatively, the [config-file](https://cordova.apache.org/docs/en/9.x/plugin_ref/spec.html#config-file) directive can probably also be used in this case as well.
   
   > Isn't it pretty basic to automatically login to your google account in the android version?
   
   I'd be more inclined to leave this kind of thing up to the community to develop blog posts/guides. Cordova's main objective is to provide a packaging tool to package web apps in a native shell. Documenting third-party features is in my opinion out of scope of Cordova's objective.
   
   To conclude on a final note, we use GitHub for tracking issues only. Because this doesn't appear to be a bug, I'll be closing this issue. If you need further assistance, you can try reaching our community on [Slack](http://slack.cordova.io/) or make a post on [StackOverflow](https://stackoverflow.com/questions/tagged/cordova). If you think you've found a bug, then please do open a new issue.
   
   Kind Regards,
   Norman


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] breautek closed issue #1159: Documentation Google Play Services missing ?

Posted by GitBox <gi...@apache.org>.
breautek closed issue #1159:
URL: https://github.com/apache/cordova-android/issues/1159


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] breautek commented on issue #1159: Documentation Google Play Services missing ?

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1159:
URL: https://github.com/apache/cordova-android/issues/1159#issuecomment-773765845


   > I found out that the ids.xml mentioned by google is not even being created. Do I need to 'hook' these files after creation?
   
   Android Docs says:
   
   > If you are creating an Android game from scratch, you will need to create this file first.
   
   So yes, you need to create the `ids.xml` file yourself. Have a look at the [Hooks API](https://cordova.apache.org/docs/en/9.x/guide/appdev/hooks/index.html). Alternatively, the [config-file](https://cordova.apache.org/docs/en/9.x/plugin_ref/spec.html#config-file) directive can probably also be used in this case as well.
   
   > Isn't it pretty basic to automatically login to your google account in the android version?
   
   I'd be more inclined to leave this kind of thing up to the community to develop blog posts/guides. Cordova's main objective is to provide a packaging tool to package web apps in a native shell. Documenting third-party features is in my opinion out of scope of Cordova's objective.
   
   To conclude on a final note, we use GitHub for tracking issues only. Because this doesn't appear to be a bug, I'll be closing this issue. If you need further assistance, you can try reaching our community on [Slack](http://slack.cordova.io/) or make a post on [StackOverflow](https://stackoverflow.com/questions/tagged/cordova). If you think you've found a bug, then please do open a new issue.
   
   Kind Regards,
   Norman


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] breautek closed issue #1159: Documentation Google Play Services missing ?

Posted by GitBox <gi...@apache.org>.
breautek closed issue #1159:
URL: https://github.com/apache/cordova-android/issues/1159


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org