eu-digital-identity-wallet / eudi-lib-ios-iso18013-data-transfer

EUDI ISO 18013-5 iOS Data Transfer library according to ISO/IEC 18013-5 standard
Apache License 2.0
5 stars 6 forks source link

Proximity flow not responding #37

Open maurolucc opened 2 weeks ago

maurolucc commented 2 weeks ago

Hello!

Context: I'm trying to test the Proximity flow following the instructions provided. Once the wallet is successfully build on an iPhone, I load the sample data provided and click on show QR code.

Problem: The EUDI Verifier app detects the QR code and shows "Device engagement received..." message. After a while, it shows a toast "Error connecting holder" and nothing happens in the wallet. I've seen in the demo video that this flow works on Eudi app Android wallet. Is it currently working fot Eudi app iOS wallet?

Versions tested:

Thanks in advance

stzouvaras commented 1 week ago

Hi @maurolucc,

Latest develop branch and latest demo app, work as expected with no issues. The demo app is a bit behind and uses an older approach (recently the flow was refactored) but it still works.

maurolucc commented 1 week ago

Hello Stilianos,

What do you mean but develop branch? I only see main branch in the repository.

I've just pulled the latest version of this repository in main branch, I've compiled the app and test the proximity flow with the App verifier and I still can't make it work:

image image image image

I've tried different combinations of App Verifier settings but still doesn't work.

I've seen in the README of this repository that the demo of the proximity flown shows the Android EUDI wallet (not the iOS EUDI wallet) performing the proximity flow with the App Verifier. Is the iOS EUDI wallet ready to perform a proximity flow?

stzouvaras commented 1 week ago

Hi @maurolucc,

Yes, I meant the main branch. The iOS app works and supports proximity, and it functions without any issues on my end.

If it doesn't work for you, there might be an issue with the verifier app, your device model, or its settings. According to this documentation, the proximity verifier app is not exclusively developed by us, and support is currently limited until a new proximity verifier is ready.

My test scenario was:

maurolucc commented 1 week ago

Thanks for your quick answer.

I've reproduced your scenario with a Galaxy Note8 for the verifier and an iPhone mini 12 for the wallet and although all the permissions are granted, I obtain the same result unfortunately.

I will keep investigating...

stzouvaras commented 1 week ago

Maybe try restarting your devices and give it another shot. I’ve noticed that sometimes the connection can be a bit finicky, depending on the device accessing the BLE module.

maurolucc commented 1 week ago

Hello!

Today I had the chance to test the flow with several iPhones. These are the results (iOS version; Bluetooth Modem Firmware version):

Only one of them worked although all of them have Bluetooth enabled. It looks like the modem firmware version might be the problem.

Which iPhone have you used to test?

stzouvaras commented 1 week ago

Hi @maurolucc ,

iPhone 11 18.0.1 modem version: 6.00.00 iPhone 15 pro max 18.0.1 and iOS 17.+ (I don't have the modem version info)

stzouvaras commented 20 hours ago

Hi @maurolucc, if you’ve identified that the issue is related to the BT modem and compatibility, please let me know so I can forward the issue to the appropriate team.

maurolucc commented 14 hours ago

Indeed, from my experiments, it looks that BT modem version has an impact. It is early to conclude what is this about but it deserves further investigation. All what I could discover has been already shared in this thread.