Anthony Hyams
Posts: 0
Joined: Tue Apr 01, 2014 10:54 am

Mapping channels

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Mapping channels

Hello Anthony,

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

Anthony Hyams
Posts: 0
Joined: Tue Apr 01, 2014 10:54 am

Mapping channels

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Mapping channels

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

Image

Return to “Issues”