diff --git a/README.md b/README.md index 7cbb154..42f8ca1 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ $ npm login --scope=@teamdotworld --registry=https://npm.pkg.github.com Now install the package. See the releases and use latest version ```sh -npm install @teamdotworld/rn-ble-advertiser@2.3.0 +npm install @teamdotworld/rn-ble-advertiser@2.3.1 ``` --- @@ -79,12 +79,11 @@ ReactNativeBleAdvertiser.setData('1234'); // set the data setTimeout(() => { // start the service after setting data. Restart if the data is changed after starting ReactNativeBleAdvertiser.startBroadcast(); - + setTimeout(() => { - // start the service after setting data. Restart if the data is changed after starting - ReactNativeBleAdvertiser.stopBroadcast(); + // start the service after setting data. Restart if the data is changed after starting + ReactNativeBleAdvertiser.stopBroadcast(); }, 4000); - }, 4000); ``` diff --git a/package.json b/package.json index 4273b5b..998cfc6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@teamdotworld/rn-ble-advertiser", - "version": "2.3.0", + "version": "2.3.1", "description": "A React native BLE Advertiser", "main": "lib/commonjs/index", "module": "lib/module/index",