victordiaz / PHONK

PHONK is a coding playground for new and old Android devices
https://phonk.app
GNU General Public License v3.0
456 stars 27 forks source link

network.wifiScan() does not work with Android 9 / MIUI 11 #74

Open SuperUserNameMan opened 3 years ago

SuperUserNameMan commented 3 years ago

Hello again,

I tried the WifiScan example on my Xiaomi Redmi 7 (android 9 / MIUI 11 ), and it does not displays the list of network.

Some more tests shows that the network.wifiScan() function does not call the callback on this device.

I checked the permissions allowed to Phonk! and they seems to be enabled for accessing the list of wifi network.

Problem description

network.wifiScan() does not call the callback.

Device model

Xiaomi Redmi 7

Android version

MIUI 11 (customized version of Android 9 )

Steps to reproduce the bug

Run the WifiScan example on my phone ?

victordiaz commented 3 years ago

Hi @SuperUserNameMan Could you check in another device? Does it give any error?

SuperUserNameMan commented 3 years ago

Hello @victordiaz :

Does it give any error?

I get no error with this device.

Could you check in another device?

It works with my Android 4.1.2 tablet, and with my Android TV 5.1.1 tv.