simplypats Member Licensed User Longtime User Jan 30, 2019 #1 We are connecting to a device via WiFi and need to check the SSID of the connected device. Until iOS 12 was release the following code worked well https://www.b4x.com/android/forum/t...vailable-wifi-network-in-range-in-i-os.52578/ However with iOS 12 no SSID information is returned. We created a new App Id and enabled Access WiFi Information service enabled (with thanks to Erel and Tufanv) We are currently running B4i 5.3 Is there any new way of getting the SSID of the connected network or any configuration such as a PlistExtra setting which we need to implement.
We are connecting to a device via WiFi and need to check the SSID of the connected device. Until iOS 12 was release the following code worked well https://www.b4x.com/android/forum/t...vailable-wifi-network-in-range-in-i-os.52578/ However with iOS 12 no SSID information is returned. We created a new App Id and enabled Access WiFi Information service enabled (with thanks to Erel and Tufanv) We are currently running B4i 5.3 Is there any new way of getting the SSID of the connected network or any configuration such as a PlistExtra setting which we need to implement.
moster67 Expert Licensed User Longtime User Jan 30, 2019 #2 Haven't developed with B4i for a long time but saw this post on StackOverFlow: https://stackoverflow.com/questions...guration-captivenetwork-doesnt-work-on-ios-12 If it is possible to do that with B4i, I don't know since as I said, it's been a long time I did something with iOS. Perhaps others can help you. Upvote 0
Haven't developed with B4i for a long time but saw this post on StackOverFlow: https://stackoverflow.com/questions...guration-captivenetwork-doesnt-work-on-ios-12 If it is possible to do that with B4i, I don't know since as I said, it's been a long time I did something with iOS. Perhaps others can help you.
simplypats Member Licensed User Longtime User Jan 30, 2019 #3 Thanks for the suggestion moster67. We have looked at quite a few posts around the internet, including those on Stack OverFlow, but nothing really addresses the query. We are currently looking at another method as a fall back, which in theory should work, and early testing looks promising. Upvote 0
Thanks for the suggestion moster67. We have looked at quite a few posts around the internet, including those on Stack OverFlow, but nothing really addresses the query. We are currently looking at another method as a fall back, which in theory should work, and early testing looks promising.
JanPRO Well-Known Member Licensed User Longtime User Jan 30, 2019 #4 Hi, simplypats said: Until iOS 12 was release the following code worked well Click to expand... The code will also work fine with iOS 12, add the following Entitlement to your project attributes section: B4X: #Entitlement: <key>com.apple.developer.networking.wifi-info</key><true/> Jan Upvote 0
Hi, simplypats said: Until iOS 12 was release the following code worked well Click to expand... The code will also work fine with iOS 12, add the following Entitlement to your project attributes section: B4X: #Entitlement: <key>com.apple.developer.networking.wifi-info</key><true/> Jan
simplypats Member Licensed User Longtime User Jan 30, 2019 #5 Thank you very much Jan I will give it a go. Upvote 0
simplypats Member Licensed User Longtime User Jan 31, 2019 #6 Just an update to this thread, Adding the Entitlement above to the project attributes section has worked and the SSID of the connected network is now being returned. Many Thanks to Jan and moster67 Upvote 0
Just an update to this thread, Adding the Entitlement above to the project attributes section has worked and the SSID of the connected network is now being returned. Many Thanks to Jan and moster67
T Turbo3 Active Member Licensed User Longtime User Apr 5, 2019 #7 Did not work for me. I get the following error when compiling. Provisioning profile "Turbo3Wildcard2" doesn't support the Access WiFi Information capability. (in target 'B4iProject') Upvote 0
Did not work for me. I get the following error when compiling. Provisioning profile "Turbo3Wildcard2" doesn't support the Access WiFi Information capability. (in target 'B4iProject')