Page 1 of 1

Generating push API key

Posted: Wed Jan 29, 2014 1:09 pm
by araskin3i

Hi,

I am following http://docs.appery.io/documentation/b... in order to generate a REST service which can be called and trigger a push notification.

I open my app, and click on the push button in the toolbar. I am then taken to the push notifications screen but I dont see any way of actually creating/generating the Push API Key. What am I missing?

Image


Generating push API key

Posted: Wed Jan 29, 2014 1:26 pm
by Maryna Brodina

Hello! You need to create app which uses Push. You'll see it on the left hand side, select it and follow the tutorial.


Generating push API key

Posted: Wed Jan 29, 2014 1:50 pm
by araskin3i

Hi Maryna,

Just to be clear, I cant create a push request service unless I all ready have an app in Appery.io which is 'push enabled'.

Is that correct?


Generating push API key

Posted: Wed Jan 29, 2014 6:07 pm
by Kateryna Grynko

Hi,

Yes, you're right.


Generating push API key

Posted: Wed Jan 29, 2014 6:09 pm
by araskin3i

Thank you.


Generating push API key

Posted: Fri Jun 27, 2014 5:19 am
by Alex GG

Hi Katya,

I have push notifications working fine on my App (android, iOS), and now Im developing another app; for this new app, can I use the sender ID and API key from the first one ? or should I create new ones?

Regards


Generating push API key

Posted: Fri Jun 27, 2014 7:36 am
by Kateryna Grynko

Hi Alex,

Yes, you can use them. But I would recommend that you create new.


Generating push API key

Posted: Tue Jan 13, 2015 11:17 pm
by EJLD

Hi there,

I set up the push notif all fine.
(as long as it is under Android) it works perfect.

however, I got the push API key changed recently. then, I hv to update manually the service header X-Appery-Push-API-Key .
I don't remember having reset myself that key.

could you guys tell me how it could be reset ? under what circumstances ?
could I get the new key dynamically into the service header ... ?

thks for your advice, as you can guess it is very much troublesome to update all service headers each time.

best,
Eric


Generating push API key

Posted: Wed Jan 14, 2015 11:13 pm
by Yurii Orishchuk

Hi EJLD,

Here here you can find info about X-Appery-Push-API-Key and where you can change it:

http://devcenter.appery.io/tutorials/...

Also here is screen shot where you can find it http://prntscr.com/5skghs/direct

Regards.


Generating push API key

Posted: Wed Jan 14, 2015 11:16 pm
by EJLD

Hi Yurii, thks for your note. I went through all that at the time of building up the pushNotif. I'll read it again and pay more attn not to reset the code :)
hv a good day
Eric