Page 1 of 1

Mapping channels

Posted: Tue May 20, 2014 6:01 pm
by Anthony Hyams

I followed the push notification tutorial and then the get device tutorial
http://docs.appery.io/tutorials/sendi...

this works and the device info I wanted was the channel information which is an array. e.g [1,3,4]

I've set a rest service up to retrieve this info so I can show the user which channels they have subscribed to for push notifications.

The service is returning the data and I can map the frist element of the array 1 but how do I get the rest of the array?

Image


Mapping channels

Posted: Tue May 20, 2014 6:52 pm
by Evgene Karachevtsev

Hello Anthony,

Please take a look here: http://devcenter.appery.io/documentat...


Mapping channels

Posted: Tue May 20, 2014 7:53 pm
by Anthony Hyams

can you see the screen shot I put in? can you see a $ symbol that would allow me to loop, If not how is the collections documentations applicable.

If you try and drag it to a list component nothing happens


Mapping channels

Posted: Wed May 21, 2014 7:24 am
by Evgene Karachevtsev

Tell me please, did you try map parameters as following?
[] should allow loop too.

Image