Forum Discussion

tscholze's avatar
tscholze
Iron Contributor
Jan 02, 2022
Solved

What could cause an app crash during spanning across both screen?

I just tried out the latest version of Adobe's "https://play.google.com/store/apps/details?id=com.adobe.spark.post&hl=de&gl=US" app. But as I performed the gesture to span the app across both screen the app crashed - reproducible.

 

This is not an Adobe bug report, this is just what could cause such behaviors to avoid it in our own apps?

 

  • Hi Tobias, thanks for your report and question.

     

    Actually, we got a similar bug from another third-party partner, which is caused by not handling the "screenLayout" and "smallestScreenSize" configuration changes properly. You can handle these configuration changes in your apps to avoid the potential crash during the spanning and unspanning.

     

    Or you can use Jetpack WindowManager to handle these foldable scenarios. Please refer to our document for more details. https://docs.microsoft.com/en-us/dual-screen/android/jetpack/window-manager/

2 Replies

  • joyliu's avatar
    joyliu
    Former Employee

    Hi Tobias, thanks for your report and question.

     

    Actually, we got a similar bug from another third-party partner, which is caused by not handling the "screenLayout" and "smallestScreenSize" configuration changes properly. You can handle these configuration changes in your apps to avoid the potential crash during the spanning and unspanning.

     

    Or you can use Jetpack WindowManager to handle these foldable scenarios. Please refer to our document for more details. https://docs.microsoft.com/en-us/dual-screen/android/jetpack/window-manager/

    • tscholze's avatar
      tscholze
      Iron Contributor

      Thanks joyliu!

      Let's see if Adobe will fix it. 🙂 

       

      Tweet about this finding: https://twitter.com/tobonaut/status/1477297404198232067?s=20

Resources