Mendix Native Mobile 9 error on second use.

Currently working on a native app. There are no errors in the Studio Pro and it works fine as a web application. But if I use the Native Mobile App 9 and try to connect it say’s  Could not convert class android.os.UserHandle If I reinstall the app, I can use the app 1 time and the app work’s propperly. After that, it gives the error above.   I’m using a Redmi Note 9s totally up to date. 
1 answers

Looks like the same issue as this: 

It seems to be an issue with Xaomi devices probably related to:

There is a suggestion in there about a code change that could be made. You’d have to build a custom developer app to try it though.