I created a task that checks the WiFi SSID and displays it in a popup: it works in Tasker, but not when creating a standalone app (I suspect that it hangs a soon as Test net is called).
I even tried manually adding the ACCESS_WIFI_STATE permission, but it still didn't work (strangely, it didn't ask for it while installing).
I have gote a Galaxy Note 4 with Android 6.0.1, any clue?