UWB Sample Crashes App During Ranging
When attempting to initiate ranging between two devices using the UWB sample, the application crashes when receiving the signal from one of the devices. The error message received is:
java.lang.IllegalArgumentException: Illegal API call was received.
Steps to Reproduce:
Launch the UWB sample application. Initiate ranging between two UWB devices. Observe the application crash when receiving the ranging signal on one of the devices.
Expected Behavior:
The UWB sample application should successfully complete ranging between the two devices without crashing.
Environment:
Android version: Android 13 Device model:Samsung Galaxy S21 plus, Samsung Galaxy S22 UWB SDK version: implementation 'androidx.core.uwb:uwb:1.0.0-alpha05'
Screenshots/Logs:
Hi,
upgrading to latest jetpack uwb library solved the issue for me:
implementation 'androidx.core.uwb:uwb:1.0.0-alpha08'