Page 1 of 1

trouble sending push notification

Posted: Tue Dec 17, 2013 7:45 am
by Ketan Patil

i have got api key, went to push page , created a project linked it to database.

tried to send push notification..

after clicking on send button , message is "message successfully sent" .

but any of my devices not getting any message
the last line of page is showing : Selected recipients 1

pl help me so i can send notification to my app users


trouble sending push notification

Posted: Tue Dec 17, 2013 9:22 am
by Maryna Brodina

Hello! Have you tried this tutorial http://docs.appery.io/tutorials/sendi...? Please check if you set correct settings in app.


trouble sending push notification

Posted: Tue Dec 17, 2013 11:22 am
by Ketan Patil

i have gone through, as per ur suggestion

  1. Assigning Push Notifications

  2. Build the following simple UI:

  3. pn005

  4. Insert a Grid component and then add a third row

  5. In the first column insert Labels and change the Text property as shown

  6. The second column also has Labels. Change the labels names (Name property) as follows:
    7.initLabel

  7. registerLabel

  8. messageLabel

  9. Open Events tab

  10. For Component select: startScreen

  11. For Event select: Push initialize

  12. For Action select: Set property
    14.Component name: initLabel
    15.Property name: select Text
    16.Value: DONE

    i can not understand line no. 2 - Build the following simple UI:
    where should i build or i would create a new page named - push

    line no. 11 - if i made push page , it's event not showing startscreen

    pl. clarify


trouble sending push notification

Posted: Tue Dec 17, 2013 11:29 am
by Maryna Brodina

[quote:] 2 - Build the following simple UI:
where should i build or i would create a new page named - push [/quote]when you create new project there is a startScreen by default. You can build UI on this screen.
[quote:]line no. 11 - if i made push page , it's event not showing startscreen [/quote]
Push is not the name of screen, it's just text in header.


trouble sending push notification

Posted: Tue Dec 17, 2013 11:29 am
by Ketan Patil

why to build ui
can i send without building ui by just going to push screen on appery site


trouble sending push notification

Posted: Tue Dec 17, 2013 11:31 am
by Ketan Patil

i am getting the message : message successfully sent
on pressing send button


trouble sending push notification

Posted: Tue Dec 17, 2013 11:40 am
by Ketan Patil

if i use start screen for push where should my app start?

why to build ui
can i send without building ui by just going to push screen on appery site

i am getting the message : message successfully sent
on pressing send button


trouble sending push notification

Posted: Tue Dec 17, 2013 11:49 am
by Maryna Brodina

You don't have to build UI, but you have to add all necessary events described in tutorial on screen. Message successfully sent, but you won't recieve it untill you add all events.