Hi, I'm using the packaging preview (export / import) to promote a powerapp from the dev/default environment to another powerapp environment (production) in the same O365 tenant. The app's aspect ratio is landscape with locked orientation, however when importing to the prod environment, it forces portrait when run, even though the app settings indicate landscape with locked orientation. Worse still, it has corrupted the orientation because if i restore the prod app back to an earlier working version, it still stuffers the same problem.
Here's what works:
- Save-as from dev to file system, then from file system into the prod environment. This only works if save-as to a new app in prod, or to an existing app in prod that hasn't been corrupted by import.
- Save-as or import to another app within the default environment (ie not across environments)
- Run in browser (always shows landscape)
Here's what doesn't work:
- Importing to a new or replace existing app in the prod environment
- Rolling back to an earlier working version after corrupting from an import
- Save-as to an existing prod app that was corrupted by an import
I only see the corruption when running in iPad or convertable Win10 laptop in tablet mode (keyboard detached). If my Win10 laptop has keyboard attached, or I run the app in a browser, then the app always renders landscape.
The source app is version 2.0.690, though i also saw this bug in 2.0.681. Not sure if the bug was there earlier than that.
I am not the source app owner, but i do have edit rights.
-Mark