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

button is disappering

Hello Deveu,

There is error with your code on event complete for restservice_checkin. If you'll comment this code, then app will work correctly in Chrome.
Also please note note, that Кроме того имейте ввиду что services are invoked asynchronously:
http://devcenter.appery.io/documentat...
It looks like that in your case procedure of service call is important, on page Reward you call 3 services on page show event. Connect them in right order like it is shown in link with help if event success

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

button is disappering

Hello Deveu,

There is error in your code on event complete for restservice_checkin. If you comment this code, app works correctly in Chrome. Also please note services are invoked asynchronously: http://devcenter.appery.io/documentat...
It looks like in your case order of service call is important, on page Reward you call 3 services on page show event. Change their order as it is shown in link above using success service event.

deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

button is disappering

at fail alert is showing but button disappear
data is getting properly
can you say me details where will i change

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

button is disappering

Hello Deveu,

I mean comment this code:
http://www.screencast.com/t/Zs1m7tYT
There isn't any fail alert .
You called services in this order:
http://www.screencast.com/t/yul3ce5a
But they may finish in other order, because they are asynchronous.
You should call them successively for they could finish in right order, like this:
on page show you call one:
http://www.screencast.com/t/hhgLsm4YIS
than you call others on success for previous:
http://www.screencast.com/t/bTV9l4QGC

deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

button is disappering

I think first invoke the service at 1
and at 2 I should do js work

i follow your image
was js then service and did not work and I never get button
but when I change service then js and working button

let me test more about button disappear

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

button is disappering

Hello,

Did you have a chance to try? Do you need any help?

deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

button is disappering

I did not get disappear yet .It seems working

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

button is disappering

Glad to hear! Let us know if the issue arises.

Return to “Issues”