googlesamples / ios-nearby

69 stars 30 forks source link

Cannot make a specific device (iOS / Android) receive NearBy message from iOS / Android #45

Open kunaljoshi388 opened 4 years ago

kunaljoshi388 commented 4 years ago

Hi guys, I have an issue with Google Example Apps (iOS, Android).

I need to connect a specific device from the list of devices that are using my application.

When I run the application in 2 iPhone devices and 2 Android devices then I can see all 3 devices in my device, now I want to transfer/send data to only 1 device then I am not able to do it.

Both iOS and Android apps have API keys created for a specific platform inside a single Google Console project.

Any hints in how to connect a specific device from the list of devices will be greatly appreciated!

kushalhyperlink commented 3 years ago

Hello @kunaljoshi388

As per your comments, it seems like the demo/API is working except for specific device functionality, I tried to download demo under Xcode 12 and iOS 14.2 it seems to crash every time

NearbyMessagesExampleSwift[69904:434888] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'NSConcreteMutableAttributedString initWithString:: nil value'

Does Google nearby message SDK support Xcode 12

your reply is highly appriiciated.

Thank you Kushal