If I have body background html with url to some web page, upon orienting device to landscape, the web-view that is holding the page retains it's previous, portrait width.
This works on Android because page is reloaded automatically when orientation changes.
If on iOS I put:
"$foreground": {
"type": "$reload"
},
then after minimizing and restoring the app again reload action is triggered and web view resizes to full landscape width.
The best would be to do the same as on Android or you can finally implement $resize event that was proposed year and a half ago so I can put
"$resize": {
"type": "$reload"
},
If I have body background html with url to some web page, upon orienting device to landscape, the web-view that is holding the page retains it's previous, portrait width. This works on Android because page is reloaded automatically when orientation changes. If on iOS I put: "$foreground": { "type": "$reload" }, then after minimizing and restoring the app again reload action is triggered and web view resizes to full landscape width.
The best would be to do the same as on Android or you can finally implement $resize event that was proposed year and a half ago so I can put "$resize": { "type": "$reload" },