How to change the system config for my App?


I’m trying the native plugin “Local Notification” and i managed to do some stuff, but when i tried to show the notification on the lock screen and with sound it didnt work, even tho i set the lockscreen attribute to true and also the priority to 2.

However i went to system config for my app and saw that lockscreen notifications were disabled so when i enabled them it started working like a charm.

So my question is the following, is there a way to set it automatically without making the user change the system config for the app manually?

Ty in advance