I'm using NEHotspotNetwork for getting the WiFi network information , ex - SSID , BSSID and Signal Strength.
But the BSSID values are not accurate comparing to the Router MAC Address .
The last segment value is different is always from NEHotspotNetwork.
Is apple intentionally proving last value differently or do I need to use any other API for getting the MAC address of a router.
Example : What I am getting using NEHotspotNetwork : c3:85:63:26:56:ef
The actual Mac address of the Network : c3:85:63:26:56:3c
Post
Replies
Boosts
Views
Activity
I am currently attempting to resolve the hostname of a device connected to the same Wi-Fi network as mine. However, I've been unable to find sufficient resources or documentation on utilising the NBNS (NetBIOS Name Service) protocol for this purpose. Can someone please provide guidance on how to achieve this?
Hi Team ,
I'm currently working on universal links.
iOS application is build with react-native framework
Steps I did to achieve the universal links
Step 1 :
Created an app-site-association file
My AASA file format :
"applinks": {
"details": [
{
"appIDs": [
"TEAMID.BUNDLEID"
],
"components": [
{
"/": "*",
"?": {
"$web_only": "true"
},
"exclude": true
},
{
"/": "*",
"?": {
"%24web_only": "true"
},
"exclude": true
},
{
"/": "/e/*",
"exclude": true
},
{
"/": "*",
},
{
"/": "/",
}
]
}
]
}
}
Step 2 :
I have hosted the app-site-association file in .well-known path
https://staging.***.com/.well-known/apple-app-site-association
Step 3 :
I have enabled associated domains and added applinks in Entitlements also
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:staging.***.com</string>
</array>
<key>com.apple.developer.networking.multicast</key>
<true/>
<key>com.apple.developer.networking.wifi-info</key>
<true/>
</dict>
</plist>
Step 4 :
https://app-site-association.cdn-apple.com/a/v1/staging.***.com
With the above apple cdn url , I can able to see the app-site-association file which I hosted in https://staging.***.com/.well-known/apple-app-site-association path.
Step 5 :
I have checked the console of phone with Xcode -> Devices -> Console
When my application trying to down the AASA file from my server , I got this below error :
swcd : Error getting enterprise-managed associated domains data. If this device is not enterprise-managed, this is normal: Error Domain=SWCErrorDomain Code=1701 "Failed to get associated domain data from ManagedConfiguration framework." UserInfo={NSDebugDescription=Failed to get associated domain data from ManagedConfiguration framework., Line=298, Function=}
swcd : Developer mode enabled: NO
Kindly help me to resolve this issue
Thanks in advance.