react-native-network-info icon indicating copy to clipboard operation
react-native-network-info copied to clipboard

when run from windows to a usb connected android phone, getssid always returns undefined

Open asafosci opened this issue 5 years ago • 1 comments

i run react-native run-android from windows. i have an android phone connected to usb. the app runs but NetworkInfo.getSSID returns undefined ssid all the time. the phone is connected to a local wifi

asafosci avatar May 16 '19 17:05 asafosci

do you get permission

const granted = await PermissionsAndroid.request(
		PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION
	);

dohard-ma avatar May 17 '19 06:05 dohard-ma