Ionic 3 - permission on android to change "system settings"

0

I'm creating one on android with ionic 3 + com.hiraqui.ringtone , which is a package to exchange the ringing of the cell phone. It is working, but I am having to give permission manually in the configuration in the "modify system settings" as in the image below.

Packageneedspermissions:android.permission.WRITE_SETTINGSandroid.permission.READ_EXTERNAL_STORAGEandroid.permission.WRITE_EXTERNAL_STORAGE

Astheandroidversionis>6,youneedtogivepermissionsatruntime,Iusedtheplugin"ionic cordova plugin android-permissions". "READ_EXTERNAL_STORAGE" and "WRITE_EXTERNAL_STORAGE" I did, but the "WRITE_SETTINGS" does not even exist in the plugin. I tried this package too " link ", but there is no such permission.

    
asked by anonymous 12.07.2018 / 04:56

0 answers