Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizing the app view/window on android causes a full app restart #768

Open
jamesmunns opened this issue May 20, 2023 · 3 comments
Open
Labels
bug Something isn't working x:planned We're on it!

Comments

@jamesmunns
Copy link

Describe the bug

Resizing the app on android, for example when using "split screen" features, causes a full app re-launch.

To Reproduce

Steps to reproduce the behavior:

  1. Start the bluesky app on android
  2. Hit the "square" app switching button
  3. Click on the bluesky app icon above the app screen
  4. Hit "split screen"
  5. Choose another app to split the screen with
  6. The bluesky app relaunches when it is "shrunk" to be half the screen size
  7. Resize the split by dragging the divider bar, so the bluesky app is 1/4 or 3/4 of the screen size
  8. The bluesky app relaunches every time you resize the split

Expected behavior

The bluesky app should resize and update the layout without restarting (potentially crashing? not sure)

Screenshots

(I don't have GH logged on with my phone, if you can't repro and need screenshots or a screen recording, let me know and I will do it)

Details

  • Platform: Android
  • Platform version: Fairphone 4 - Android 12
  • App version: 1.28.0

Additional context

Y'all are awesome!

@jamesmunns jamesmunns added the bug Something isn't working label May 20, 2023
@jamesmunns jamesmunns changed the title Resizing the app on android causes a full app restart Resizing the app view/window on android causes a full app restart May 20, 2023
@pfrazee pfrazee added the x:planned We're on it! label Jun 6, 2023
@jamesmunns
Copy link
Author

Recorded this to show a friend, so I figured I'd go ahead and upload the repro video.

screen-20230715-130904.mp4

@pfrazee
Copy link
Collaborator

pfrazee commented Jul 17, 2023

I had no idea Android even supports this. We'll have to find some time to suss out why it's doing this.

@ansh
Copy link
Contributor

ansh commented Sep 11, 2023

Relevant issue: facebook/react-native#25040 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working x:planned We're on it!
Projects
None yet
Development

No branches or pull requests

3 participants