Page 4 of 6

Select Push Notification

Posted: Tue Jul 15, 2014 9:34 pm
by Carlos Castillo6909856

sorry but where am I supposed to put this code ona the JS rom the channel or the devideid?


Select Push Notification

Posted: Tue Jul 15, 2014 11:14 pm
by Illya Stepanov

Hi Carlos,

Just make the checking, if the value actually stored in your local Storage.


Select Push Notification

Posted: Tue Jul 15, 2014 11:39 pm
by Carlos Castillo6909856

No its not I do the select then I go out enable something else and when I get back the select is off again

I do have the Alert message
[121,122]

When I do enable the service
just for your reference this is on the channel JS:

var checked = [];
Appery("BambolonosII").find("input:checked").each(function(){
checked.push(parseInt($(this).val()));
});
alert(JSON.stringify(checked));
return JSON.stringify(checked);

On deviceid JS
return encodeURIComponent(value);

Image


Select Push Notification

Posted: Tue Jul 15, 2014 11:43 pm
by Carlos Castillo6909856

You need me to build a lab app where we can all test the service?


Select Push Notification

Posted: Wed Jul 16, 2014 12:06 am
by Illya Stepanov

In you code above you have alert message with chanels - use the following code to check 'deviceid':
precode
alert("value = " + value);

return encodeURIComponent(value);
/code /pre


Select Push Notification

Posted: Wed Jul 16, 2014 12:08 am
by Alex GG

Hola Carlos eres de México? Un saludo. Algún mail para contacto?


Select Push Notification

Posted: Wed Jul 16, 2014 12:10 am
by Carlos Castillo6909856

si Mexicano de octavos de final....
a href="mailto:carlos@conectius.com" rel="nofollow"carlos@conectius.com/a
a href="mailto:carlosefrain@me.com" rel="nofollow"carlosefrain@me.com/a
a href="mailto:conectius001@gmail.com" rel="nofollow"conectius001@gmail.com/a


Select Push Notification

Posted: Wed Jul 16, 2014 12:19 am
by Carlos Castillo6909856

I do get the alert and the message
value =


Select Push Notification

Posted: Wed Jul 16, 2014 12:25 am
by Illya Stepanov

So, it's not stored. Please also check it as installed app on the device.


Select Push Notification

Posted: Wed Jul 16, 2014 4:47 am
by Alex GG

hehe si no era penal...ok, te mando mail. Saludos