setwifienabled not allowed

DaMqXwEE

New member
Jan 20, 2020
3
0
0
Hello,

I've installed an application to make automatic back-up on my NAS through SMB (SMBSync2), which have an option that turn ON wifi automaticaly in order to make synchronization. This option is very interesting for me, as I want to sync during the night, while my phone is on flight mode.

However, each time I have the same issue saying that application was not abble to switch ON wifi. I've contact application creator that indicated me that I can't turn On WIFI on my OnePlus 5 with WIFIManager#setWIFIEnabled() from the app.

Does someone know how to make it work ?