Page 2 of 4

How to setup push messaging

Posted: Thu Nov 28, 2013 6:46 pm
by Deon

Hi. So what you are saying, I can either send push messages through Google or Appery.io?

Can you please explain how to send push messages from the appery.io console.


How to setup push messaging

Posted: Thu Nov 28, 2013 7:15 pm
by Deon

In the Google Cloud Console, there are two numbers
Project ID:
Project Number:

The Project Id is something I create and the Project number is created by Google.
Which of these two must be inserted into the Sender Id field in the appery.io App Settings? Your Doc says Project Id. Is that correct?

Once I have entered these numbers would I be able to send push messages from the appery.io console or is there still additional configuration required?


How to setup push messaging

Posted: Thu Nov 28, 2013 7:44 pm
by Maryna Brodina

1) Use Project Number.
2) No, you don't need anything else. Project Number and API key (see screenshots above on how to get API key)


How to setup push messaging

Posted: Thu Nov 28, 2013 11:14 pm
by Deon

Nope, no message received. Must the app be loaded on the Play Store? I have installed directly to my phone.


How to setup push messaging

Posted: Fri Nov 29, 2013 4:29 am
by Deon

Ok I see. The app has to be installed in the Play Store. It is working.


How to setup push messaging

Posted: Fri Nov 29, 2013 4:35 am
by Deon
  1. How do I change the Icon that is displayed? Do I do this from Google or in Appery.io?

    1. I also notice that some App Providers (Businezz Apps) allows you to route the user to a specific page associated to the push message. Is this possible with appery.io?

    2. What is the badge for? You doc says it is a number displayed with the Icon for IOS? What is it aid of and why would I want to use it.

    3. What are channels and how do I use them. I cant find a way to set a channel up.

      If my questions are answered in your docs, pleasejust point me to the doc.
      Thank you.


How to setup push messaging

Posted: Fri Nov 29, 2013 4:36 am
by Deon

I have updated the Play Store. It is working.
Thx


How to setup push messaging

Posted: Fri Nov 29, 2013 10:05 am
by Serhii Kulibaba
  1. App settings / Android binary / Icon
    1. What exactly do you want to do?
    2. http://docs.appery.io/tutorials/sendi...
    3. Chanels are special mechanism for sending pushes to several projects. Chanels are not using in new push notification mechanism, so it isn't required.

How to setup push messaging

Posted: Fri Nov 29, 2013 12:04 pm
by Deon

Thank you but

  1. Icon is implemented but does not display on the push message. Instead get a little cloud which I presume is a default google icon?
  2. When the user taps the incoming push message to view it should launch the app as it does but route to a page related to the push message.
  3. Maybe I am misisng it, but cant see what the badge is actually used for. What is its purpose?
    4.Ok

How to setup push messaging

Posted: Fri Nov 29, 2013 5:55 pm
by Maryna Brodina

Hello!
1) On Source tab change ic_stat_gcm.png files in the following folders:
ANDROID - ProjectName - res - drawable-hdpi
ANDROID - ProjectName - res - drawable-ldpi
ANDROID - ProjectName - res - drawable-mdpi
ANDROID - ProjectName - res - drawable-xhdpi
Delete those files and upload ones with appropriate size
2) No, it shouldn't. But you can implement this app logic by yourself.
3) You can have your app icon display a red badge with the number of unread push notifications. It works on iOS only.