Where to find the Google Project Number

I must be missing something obvious. In the setup document, it refers to a “Google Project Number” for Google Play: https://documentation.onesignal.com/docs/corona-sdk-setup but I can’t find it. 

I went through the documentation and setup FireBase (https://documentation.onesignal.com/docs/generate-a-google-server-api-key), but don’t see a Google Project Number. I also noticed that the Android native SDK’s documentation sets the Google Project Number simply as “REMOTE” (https://documentation.onesignal.com/docs/android-sdk-setup). Is that what I should do? What should i be setting this to? 

thx!

A couple of things.

  •  Hopefully, you are building for iOS if not the current OneSignal plugin for Android has a nasty crash bug. They are working on it and a new plugin is on way. If you can’t wait I provided code to set up OneSignal on Android just using a rest request.
  • Now for the Project Number. It is the Google Play Console ->  Game Services -> Click on your game -> And then the number is right under the title. If you don’t have a “Game Project” just create one. Follow the steps and make sure you add the correct game/app.

Adrian

@agramonte Thank you so much for the pointer! Yes, we are trying to test Android right now, and I see the other post. We’ll try to wait for the fix from OneSignal. If they don’t come through, then we’ll test your approach.

Also - could you give me some more pointer on Android configuration? One Signal’s document is rather lacking. 

This whole thing has been rather confusing. Many thanks!

Andrew

I have not done a GameServices config in a very long time and I don’t have one planned for at least a few months (might be next year) since my next few releases are just updates to existing apps (4th quarter season is upon us). To get the SH1 key it depends if you are using google signing or your own signing. For google signing just copy the SHA1 key from the dashboard. If you are doing your own signing then you need to find the command to pull that out of your keyStory/key. Do a search on google for "Android keystore SHA1 command.

Originally you didn’t have to do Firebase API thing, but I noticed when I did the rest only code that you had to do it. So yes I believe you will have to. It is fairly straightforward, but if you run into problems let me know I should be able to help you with that since I just did it.

Adrian

Thx @agramonte. I’ll give it a try on Monday. 

A couple of things.

  •  Hopefully, you are building for iOS if not the current OneSignal plugin for Android has a nasty crash bug. They are working on it and a new plugin is on way. If you can’t wait I provided code to set up OneSignal on Android just using a rest request.
  • Now for the Project Number. It is the Google Play Console ->  Game Services -> Click on your game -> And then the number is right under the title. If you don’t have a “Game Project” just create one. Follow the steps and make sure you add the correct game/app.

Adrian

@agramonte Thank you so much for the pointer! Yes, we are trying to test Android right now, and I see the other post. We’ll try to wait for the fix from OneSignal. If they don’t come through, then we’ll test your approach.

Also - could you give me some more pointer on Android configuration? One Signal’s document is rather lacking. 

This whole thing has been rather confusing. Many thanks!

Andrew

I have not done a GameServices config in a very long time and I don’t have one planned for at least a few months (might be next year) since my next few releases are just updates to existing apps (4th quarter season is upon us). To get the SH1 key it depends if you are using google signing or your own signing. For google signing just copy the SHA1 key from the dashboard. If you are doing your own signing then you need to find the command to pull that out of your keyStory/key. Do a search on google for "Android keystore SHA1 command.

Originally you didn’t have to do Firebase API thing, but I noticed when I did the rest only code that you had to do it. So yes I believe you will have to. It is fairly straightforward, but if you run into problems let me know I should be able to help you with that since I just did it.

Adrian

Thx @agramonte. I’ll give it a try on Monday.