Reputation: 39
I am developing an Android wearable (Wear OS 4) standalone application in which two wearables must exchange their unique ID as a one-time thing (Just pairing). The plan was to use NFC p2p to exchange data with each other but recently found that NFC p2p (Android Beam) is deprecated in API > 29. The next best option was to use Nearby devices API, but it involved creating extra screens(send, receive, list devices and consent) in the application, extra permissions and was more battery-consuming, considering the pairing was a one-time feature. Are there any third-party libraries that I can use to directly use NFC p2p? or what different approaches should I proceed with? I'm also planning to support Tizen devices in future, so using Android nearby, restricts me from doing that.
Upvotes: 0
Views: 67