Closed Ankitinnovatree closed 3 years ago
i have change targetsdkversion library version 28 and i am change 28 to 30 .
and issue is Samsung mobile android version 10 to not creating hotspot and i am creating manually to hotspotmanagerfragment only show stop hotspot and qr code not showing.
@Ankitinnovatree did u find any solution to connect in Android 10 with target sdk 30 ?
sorry , but no found any solution's.
Without making the appropriate changes, just increasing the SDK level will cause more problems. You should get rid of any deprecated APIs if you want to support newer versions of Android.
Without making the appropriate changes, just increasing the SDK level will cause more problems. You should get rid of any deprecated APIs if you want to support newer versions of Android.
I resolved all other bugs successfully, it just doing issue to connect the hotspot in android 10, its receiving files in Android 10 but its doing issue when sending file. and issue is to connect with the user hotspot.
@aqeelzoobi That issue may be caused by change in android 10 api. Apps are not allowed to activate wifi programmatically.
@sergemastaki @velitasali . Dear thanks for response. i resolved the issue and connect the wifi in android 10.
@aqeelzoobi That issue may be caused by change in android 10 api. Apps are not allowed to activate wifi programmatically.
Yes its because of android 10. U can connect wifi in android 10 using WifiNetworkSpecifier. https://developer.android.com/reference/android/net/wifi/WifiNetworkSpecifier.Builder
gradle to change targetSdkVersion 30 not working creating hotspot and wifi.
phone/mobile version android version 10