Select Push Notification
Hello Carlos,
Could you send us public link to your application and steps how to reproduce the issue
http://docs.appery.io/documentation/s...
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hello Carlos,
Could you send us public link to your application and steps how to reproduce the issue
http://docs.appery.io/documentation/s...
Public Link
http://appery.io/app/mobile-frame?src...
So you will see two ways of channging the channel DB
one is the webinar itself
secound is the checkbox and all we are trying
1
Once you open on main screen or Home you will see a select on top with the options Vini/Vidi/Vici
If you select any of the options it will work and change the parameter on the channels column on the DB [20] [30] [40]
This example works 100%
2
On upper right side of the app you will see a gear icon
That should open the right panel
You will be prompt some colapsables
Enable Irishpreschool and open Bambolinos II
You will see tree checkboxes
A....121
B....122
C....123
These are the first that we have configured so far
Hi Carlos,
Could you please clarify what value is supposed to be and how you write it?
Hi Carlos,
I'm sorry, I must be misunderstanding. The result seems to be as you set it in Builder UI. Could you please point to the issue?
It would be great if you could create a test app and show the problem there...
Hi Carlos,
We are not sure what causes these issues.
Could you please try using custom components instead of screen templates?
This should solve the problem.
I just did a brand new app
it has the webinar step by step and the checkbox
I build two different services
The webinar one works 100%
The other still not able to change the channel db info into DB
Here is the public access
http://appery.io/app/mobile-frame?src...
and to download the apk
https://appery.io/app/project/5fb31e2...
Hope you can find what is missing
Best
DBid
53c8415fe4b0385357295b86
Carlos,
1) In the service SelectChannels in the mapping to request parameter channels you should replace the code on this one:
prevar checked = [];
Appery("test").find("input:checked").each(function(){
checked.push(parseInt($(this).val()));
});
alert(JSON.stringify(checked));
return checked;/pre
2) You should remove the event click on the checkbox items (all 3). Instead, put the call of the service SelectChannels on event Value change of the whole Checkbox group (this is your element test)
Can you do me a favor Evgene
Can you please have "JSON.stringify" printed on a white paper, hang it on the wall and use it a dart target
It did work perfect, on test let me try on the formal app
If I want to have several check list building the channel
It should look like this?
var checked = [];
Appery("test1").find("input:checked").each(function(){
checked.push(parseInt($(this).val()));
});
Appery("test2").find("input:checked").each(function(){
checked.push(parseInt($(this).val()));
});
Appery("test3").find("input:checked").each(function(){
checked.push(parseInt($(this).val()));
});
alert(JSON.stringify(checked));
return checked;
Thank you very much in advance, I will build a quick reference for others who would need to use this function.
Best