Write Secure Settings Permission

To use this, Tasker needs to be granted permission to Write Secure Settings on your device

Easy Way

Install the Tasker Permissions app and follow the prompts.

Hard Way (don't bother with this if you were able to do it the easy way)

  1. Setup ADB on your PC as described here.
  2. Use these commands:
    adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
    If you're on a mac write
    ./adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
  3. Note: On some MIUI devices you need to enable the option "Disable permission Monitoring" under "Developer options" to be able to grant this permission.