How do I resolve a Runtime error by Distance_Type_Earshot
?
I'm trying to build Nearby Messages API (just the audio/earshot) into my Android application, I've even built another demo app to test it out again, but same issue.
Basically, everything is set up okay, when using Distance_Type_Default
, it works just fine too, but for some reason whenever it's set to Distance_Type_Earshot
it just doesn't work. The funny thing is there are no exceptions or errors, it's just that the phones I'm testing with just can't seem to detect each other? I'm trying to use audio/microphone exclusively, as my app can't use BLE/Bluetooth.
I've tried changing Discovery to Broadcast and Scan and Default, it doesn't seem to make a difference but the issue still stands.