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

Android App crash when the mobile rotate from portrait to landscape and #3470

Open
GuillaumeSavin opened this issue Dec 30, 2024 · 0 comments

Comments

@GuillaumeSavin
Copy link

Problem

When using the app on a true android phone produce by dioxus serve --platform mobile and move the mobile to provoke a change of screen orientation from portrait to landscape or from portrait to landscape. The app immediately crash.

Steps To Reproduce

Steps to reproduce the behavior:

  • Create a dioxus 0.6.1 project
  • execute dioxus serve --platform mobile (with android phone connected by usb and detected by adb command)
  • move the mobile to provoke a change of screen orientation of the app

Expected behavior

not crash, for what I see the app work fine either in landscape and portrait initially but don't support change of screen orientation (going from portrait to landscape or from landscape to portrait)

Screenshots

Environment:

  • Dioxus version: 0.6.1
  • Rust version: rustc 1.83.0 (90b35a623 2024-11-26)
  • OS info: builder of app: linux mint 22, mobile: android 14
  • App platform: mobile (android maybe ios too but can't test)
    Questionnaire
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant