I'm having puzzling issue, where my mapping works perfectly on appery.io simulator, but variables are showing up as "undefined" when testing on a iphone device as a binary app(built with xcode) or even when accessing on a mobile using appery.io app.
Please note that I've used this tutorial provided by Appery, to configure the mappings :
https://www.youtube.com/watch?v=Kehn1...
As you can see on the tutorial ( time 9:05 ), on the "PropertyListPage" mapping, in addition to displaying the data from local storage on "PropertyListPage, we also need to add a small javascript snippet to store the selected item to a local storage variable "selectedProperty", which is a local storage variable with type "Property" :
element.on('click', function(){
Apperyio.storage.selectedProperty.set(value);
});
Then on the "PropertyDetailsPage", on a "page show" event, I do the mapping from the local storage variable "selectedProperty" to the page components.
Again, this works on appery simulator, but never works when accessing on a mobile device, whether it's through appery app or built with xcode and deployed on the device.
Please let me know if this is a known bug and if there is a workaround?
thanks!