You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, I am changing the page with - app.changePage("pagetwo", "prosciutto");
on the next page - activity.onHashChanged(function(pizza) { console.log(pizza); }); gives no data
in fact even on refreshing on this new hash, activity.onHashChanged(function(pizza) { console.log(pizza); }); gives no data.
More precise repro conditions: when the page is opened the first time, it wont work, but if I use the back button and then come back to this page, it does work.
The text was updated successfully, but these errors were encountered:
Thank you for reporting this error.
The problem: the page scope (activity callback) was called in the OnCreate callback, but since the release 1.0.2, the onHash callback is called before every page callbacks. So indeed, there was a "conflict".
I just fixed this, please let me know if it still doesn't work :)
So, I am changing the page with - app.changePage("pagetwo", "prosciutto");
on the next page - activity.onHashChanged(function(pizza) { console.log(pizza); }); gives no data
in fact even on refreshing on this new hash, activity.onHashChanged(function(pizza) { console.log(pizza); }); gives no data.
More precise repro conditions: when the page is opened the first time, it wont work, but if I use the back button and then come back to this page, it does work.
The text was updated successfully, but these errors were encountered: