Invalid options for developers that do not appear in the mobile application installed on Xiaomi Phone

When I try to install the response application on my redmi note 3 mobile phone, an error message appears that does not occur when I use any other mobile phone. I fixed this problem by disabling MIUI optimization. But after I did this, I don't get the dev option when I shake my mobile phone.

+3
source share
4 answers

Well, for those who, like me, did not know what to do. The first answer is correct, but if you are interested in what to do, like me, do the following.

  • Open Security (the default application on Note 3)
  • Click Permissions
  • Find your application that you installed using React-Native , click on it.
  • There must be Display pop-up window permission and it will be blocked.
  • Click on this permission and select Accept

That should do the trick. If you do not see the Developer options menu, install the application again (I know what I did). Hope this helps, Happy coding;)

+15
source
 My divice is Redmi Note 4 - 6.0.1 

For MIUI 8 you need to disable MIUI optimization

for this

 go to setting >> additional setting >> developer options >> disable "Turn on MIUI optimization" 

this will install the application on the MI device, but it will ask for permission to "allow scrolling of other applications" every time you create an application using the run-native run-android command to disable this

 go to setting >> permissions >> other permissions >> select "permission" tab >> display popup window >> select your app >> accept 
+6
source

for XIOMI devices: 1) Turn on USB debugging 2) Go to the developers menu and turn on INSTALL VIA USB and USB DEBUGGING (Security Settings) - for this you need to connect to your MI account

--You can launch your native application now -

0
source

You must set the permission for the dialogue in the XIAOMI phone.

-1
source

All Articles