Fix “permission denied for this window type” when adding React Native to an Android app

Fix

  • canDrawOverlays( this )) { // Open the permission page Intent intent = new Intent ( Settings .
  • Fix “permission denied for this window type” when adding React Native to an Android app
  • If you have followed the react-native Integration With Existing Apps tutorial with a target SDK version > 23, you may get the “permission denied for this window type” error when you open the react-native view.
  • To get rid of this error, you must request the new permissions from the user.
  • In the previous Activity, you may have something like this to go to your react Activity.

If you have the “permission denied for this window type” error when you open the react-native view, the problem is the new android permission system.
Continue reading “Fix “permission denied for this window type” when adding React Native to an Android app”