by Ulum Özergen
A really easy way to control wifi by just shaking your phone.
Ps. Since this is my first flow, i couldn't think of a better way to loop the code.
Currently; the whole code runs once, when the wifi status is changed it starts the first flow again which checks the screen lock status and it repeats it again and again.
If there is a better way please let me know, this seems like this is going to drain a lot of juice.
Rate and review within the app in the Community section.