hello,
I am having a problem in getting localStorage variable to be applied correctly to text field. Trick is a mesh of service invocation and invoke priorities
here is the scenario.
actions:
Taphold on Button1 on page1 - open popup_page
popup_page has load event which startup service1 . Service1 populates clickable labels using REST api on popup_page
on popup_page user taps clickable label and stores text value in localstorage, closes popup
Button1 on page1 is updated with localstorage valuable stored in point 3.
Problem is that action 4 is being invoked first before action 1.
Although the Taphold button in priority shows that popup should open first I can see that action 4 is being run before popup opens. .My question is how can I block events allowing for popup_page actions complete first and then resume with actions in 4 ?
Is it possible to open popup_page in service success event ?
thanks and regards,
Luke