Wi-Fi Aware between iOS 26 and Android device

Eager to see the Wi-Fi Aware communication between iPhone (iOS 26) and an Android device, I tried iOS 26 beta on my iPhone16. and tried below code snippet from provided example at https://developer.apple.com/documentation/wifiaware/building-peer-to-peer-apps. Idea is to first verify discovery of Android WiFiAware service on iOS.



extension WAPublishableService {
    public static var simulationService: WAPublishableService {
        allServices[simulationServiceName]!
    }
}


extension WASubscribableService {
    public static var simulationService: WASubscribableService {
        allServices[simulationServiceName]!
    }
}

struct ContentView: View {
    @State private var showingDevicePicker = false
    @State private var pairedDevices: [WAPairedDevice] = [] // To hold discovered/paired devices

    var body: some View {
        VStack {
            Button("Discover Devices") {
                showingDevicePicker = true // Trigger the device picker presentation
            }
            .sheet(isPresented: $showingDevicePicker) {
                DevicePicker(.wifiAware(.connecting(to: .selected([]), from: .simulationService))) { endpoint in
                    print("Paired Endpoint: \(endpoint)")
                } label: {
                    Image(systemName: "plus")
                    Text("Add Device")
                } fallback: {
                    Image(systemName: "xmark.circle")
                    Text("Unavailable")
                }
            }

            List(pairedDevices) { device in
                Text(device.name ?? "Unknown Device")
            }
        }
    }
}

With suggested entitlement of WiFiAware and info.plist of service info.

Then I had Android device with WIFiAware service publishing service (service name set '_sat-simulation._udp') from this app https://github.com/anagramrice/NAN.

But above iOS app is unable to find the service published from android device.

Am I missing something?

Note: the above Android-NAN app seems to be working fine between Android to Another Android.

Answered by DTS Engineer in 846374022

Please go to Developer > Accessories and download Accessory Design Guidelines for Apple Devices. It was updated during WWDC to include a Wi-Fi Aware chapter. Wi-Fi Aware is a complex and rapidly evolving standard, and that chapter has detailed info on the aspects of the standard that ensure compatibility.

Now, I’m not an expert on the Wi-Fi Aware (NAN) protocol, and I’m certainly not up to speed with the latest news on Android devices, but my understanding is that it’s rare to find hardware and software combinations that follow all of those guidelines. If you’re having problems with this, I recommend that you discuss these guidelines with your hardware and platform vendors.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  1. What Android device are you using?
  2. Do you have two iPhones to test if the demo works properly?

Hello @Bojie_Lv

  1. Samsung Galaxy S23 Ultra
  2. yes I verified the provided full iOS sample (from above link) between two iPhones. they discover and connect as expected.

And just to iterate, the Android NAN application that I pointed above seems to be working between two androids as well.

You first change your approach, can the Android NAN demo detect Apple devices?

Hello Bojie_Lv, Good question, when I tried even Android app was not able to detect the iOS wifiaware service 😞

Please go to Developer > Accessories and download Accessory Design Guidelines for Apple Devices. It was updated during WWDC to include a Wi-Fi Aware chapter. Wi-Fi Aware is a complex and rapidly evolving standard, and that chapter has detailed info on the aspects of the standard that ensure compatibility.

Now, I’m not an expert on the Wi-Fi Aware (NAN) protocol, and I’m certainly not up to speed with the latest news on Android devices, but my understanding is that it’s rare to find hardware and software combinations that follow all of those guidelines. If you’re having problems with this, I recommend that you discuss these guidelines with your hardware and platform vendors.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

maybe Galaxy S23 Ultra do not support Wi-Fi Aware 4.0

My phone with the SM8650 chip cannot detect the peer handle of iOS devices in the NAN demo.

1,In the Apple document "Accessory-Design-Guidelines.pdf", there is the following description: "Accessories and peer devices integrating Wi-Fi Aware technology shall support the Wi-Fi Aware Specification – Version 4.0". 2,In Android devices, it seems there is no direct way to find devices that comply with the "Wi-Fi Aware Specification – Version 4.0". However, through initial research, in Android, the method Characteristics.isAwarePairingSupported can indicate whether the pairing-related features in Version 4.0 are supported: /** Check if the Aware Pairing and all associated security features as defined in Wi-Fi Alliance (WFA) Wi-Fi Aware Specification version 4.0 are supported. This includes:... */ public boolean isAwarePairingSupported() { return mCharacteristics.getBoolean(KEY_SUPPORT_NAN_PAIRING); } 3,On the Amazon Cloud Testing Platform, only the Android phone series Galaxy S25 was found where isAwarePairingSupported shows YES (the Pixel 9 series and Xiaomi 14 series phones do not work). 4,However, pairing between Apple iOS 26 phones and the Android Galaxy S25 still doesn't seem to work; moreover, Apple requires that pairing be completed first before subsequent connections and communications can take place.

The pairing process of Apple Wi-Fi Aware requires 5 packets of plaintext interaction and 2-4 packets of encrypted interaction. With Apple as the publisher and Android as the subscriber, I have completed the 5 packets of plaintext interaction, but I am still encountering issues with the encrypted interaction. @DTS Engineer

@liyang123 @pandarisearch @Bojie_Lv @DTS Engineer I completed the pairing setup step, and then it stopped working

You started a new thread about this, and I’ve responded over there.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

@DTS Engineer To the best of my knowledge, one of the Android developers can achieve successful Apple-Android pairing via Wi-Fi Aware. I strongly recommend that Apple provide a demo for Android-to-Apple file transfer via Wi-Fi Aware.

I strongly recommend that Apple provide a demo for Android-to-Apple file transfer via Wi-Fi Aware.

I agree that folks would find that helpful (although I’m not sure how realistic it is).

Regardless, this isn’t my call. If you want to get that feedback to the Wi-Fi Aware team, I recommend that you file it in Feedback Assistant.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

@DTS Engineer @Bojie_Lv @liyang123 @pandarisearch Two FB is proposed: FB19568037 FB19570341 If possible, please reach out to Dr. Swetank from the Apple Wi‑Fi Aware team — we urgently need his help!

@DTS Engineer @Bojie_Lv @liyang123 @pandarisearch After Apple-to-Apple pairing is completed, the paired device will be recorded in “Settings → Privacy & Security → Paired Devices”.

However, after Android-to-Apple pairing is completed, the device is not saved to this list.

Android device can be normally displayed on the Apple official Wi-Fi Aware Sample. However, the indicator is not green. During pairing, the Apple log shows: state: authenticated, and the Android side triggers the callback onPairingSetupSucceeded. During pairing verification, the Apple log shows: state: authenticated, and the Android side triggers the callback onPairingVerificationSucceed.

My iPhone is iPhone 13, iOS 26.0 (23A5287g)

During the process of establishing a NAN data path between Android and Apple, why doesn’t Apple respond to the NDP response?

Our goal is to establish a Wi‑Fi Aware data path (NDP) between Apple and Android devices.

Apple will act as the Publisher, and Android will act as the Subscriber.

Apple-to-Android pairing has already been completed.

The Android device can be normally displayed on the Apple official Wi-Fi Aware Sample. However, the indicator is not green.

During pairing, the Apple log shows: state: authenticated, and the Android side triggers the callback onPairingSetupSucceeded.

During pairing verification, the Apple log shows: state: authenticated, and the Android side triggers the callback onPairingVerificationSucceed.

The Android side sends an NDP request to Apple (as shown in the figure 1), but Apple does not reply.

Note: Qualcomm’s NDI and NMI are different.

In addition, after Apple-to-Apple pairing is completed, the paired device will be recorded in “Settings → Privacy & Security → Paired Devices”.

However, after Android-to-Apple pairing is completed, the device is not saved to this list.

My iPhone model: iPhone 13, iOS 26.0 (23A5287g).

FB19683706

For those following at home, sengui has their own thread with detailed info about the issue they’re seeing. If you’re curious about the state of their investigation, I recommend that you follow that thread.

sengui, There’s not much point posting your results to both this thread and your thread. I recommend that you pick one thread and focus your efforts there.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Any news on this topic?

HI sengui @sengui Could you explain the procedure for completing the pairing process between an Android and an iOS device? Additionally, we would appreciate it if you could provide the demo code for the Android side.

@Bojie_Lv @DTS Engineer @leonboe1 @liyang123 @pandarisearch @ I think Apple only needs to modify the peer database, and then Android and Apple can establish a connection via Wi‑Fi Aware. However, Apple hasn’t given me any response.

Note: Qualcomm’s NMI and NDI are different, but Apple’s NMI and NDI are the same.

Wi-Fi Aware between iOS 26 and Android device
 
 
Q