We have a site in testing through Mobify preview and are experiencing an issue when the network of the device is changed from cellular to wifi or vice-versa. If you already have a page loaded and after the switch you perform a function it will load just a white screen, but if you refresh and do a new page load it will be fine.
There appear to be a number of cookies set by the preview process, one of which has a hashed value stored. We're wondering if this is in part based on the user's IP and is expiring on network change. Or if otherwise you are aware of network switching issues in preview mode.
Any insight you have would be helpful.
Paul @ FCV
Thanks for the question, this is an interesting case to discuss. When you are previewing a site using the Mobify Preview tool (at preview.mobify.com), a cookie is stored on the device that contains your IP address (at time of preview) amongst other things. Each time the browser makes a new request, Mobify Cloud is taking a look at that cookie and ensuring that the IP at time of cookie creation is identical to the IP making the request. If there is a mismatch, for the sake of security the preview will fail and you will need to re-preview.
Just to be clear, this is not an issue that would affect a production site running Mobify.js, this is a security measure limited to the Mobify Preview process. Let me know if there’s any other questions.