Android-PWA-Wrapper icon indicating copy to clipboard operation
Android-PWA-Wrapper copied to clipboard

Avoid page reload when horientation changes?

Open robertofabrizi opened this issue 5 years ago • 2 comments

As the title says, how can I avoid the app to reload the page when I rotate the phone to landscape? Thank you! Roberto

robertofabrizi avatar Apr 14 '20 08:04 robertofabrizi

hey, it seems not to happen to me when using the example app (on Sony w/ Android 9), I guess it's something in your webapp's code causing this behaviour. check out branch apps/leasingrechnen-app to double-check yourself

xtools-at avatar Apr 14 '20 15:04 xtools-at

Try to add this code to your Manifest: android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"

MrJohanB avatar Apr 26 '20 00:04 MrJohanB