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 ...
  • joyliu's avatar
    Jan 03, 2022

    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/

Resources