Expose the basic P2P messaging provided by Google Nearby within a Nativescript plugin, currently we only support iOS but Android support is pending.
$ git clone https://github.com/ysterbal/nativescript-google-nearby .
$ cd ./nativescript-google-nearby/src
$ npm install
$ npm run build
tns plugin add nativescript-google-nearby
- Get an Google Nearby API key see Google Developers Guide
- Initialize the SDK using the key
- Add a subscription and provide callbacks and process
- Publish messages
Apache License Version 2.0, January 2004