PWABuilder icon indicating copy to clipboard operation
PWABuilder copied to clipboard

[BUG] Orientation is not changed by rotating device.

Open Younghun-Jung opened this issue 2 years ago • 8 comments

What happened?

I tested PwaBuilder using Demo URL(https://webboard.app). After downloading package, I installed in Android device(Samsung Galaxy S22). Application is launched successfully but, orientation is not changed by rotation of device. I do not change any options before generating package.

How do we reproduce the behavior?

  1. Go to Demo URL site.
  2. Click 'Package For Stores'
  3. Click 'Generate Package' on Android.
  4. Download and unzip package.
  5. Install apk my Android device.
  6. Run the Webboard app and rotate my device,

What do you expect to happen?

On rotating device, orientation is changed.

What environment were you using?

Device: Galaxy S22(SM-S901N) OS: Android 13 Chrome: 115.0.5790.136

Additional context

No response

Younghun-Jung avatar Jul 25 '23 10:07 Younghun-Jung

Weirdly enough, this seems to happen with any app generated with our android tool. Looking into this

jgw96 avatar Jul 25 '23 19:07 jgw96

Will look at this with Gleb after our next release next week.

jgw96 avatar Aug 08 '23 19:08 jgw96

In my app, rotation is forced to occur regardless of whether device rotation is enabled or not. Installing the PWA directly through the browser, this doesn't happen. I've already set the orientation in the manifest, added the meta tag, and adjusted some points via CSS, but I can't achieve the fix. Any suggestions?

AllanOliveiraM avatar Aug 27 '23 03:08 AllanOliveiraM

@AllanOliveiraM We dont have resources to fix this issue at the moment, but please know this is still on our look-into list

jgw96 avatar Sep 05 '23 16:09 jgw96