diff --git a/CHANGELOG.md b/CHANGELOG.md index 498fb92..a165adc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -330,5 +330,3 @@ Added: - Updated the Roam SDK to the latest version. - Added support for the New Architecture. - - diff --git a/README.md b/README.md index 014636d..106aa5c 100755 --- a/README.md +++ b/README.md @@ -112,6 +112,7 @@ const startTracking = () => { ) } ``` + # Finally, lets do some javascript ## Import module diff --git a/js/index.js b/js/index.js index 26f61a3..2932e6b 100755 --- a/js/index.js +++ b/js/index.js @@ -408,16 +408,16 @@ const publishAndSave = (jsonMetadata) => { } const batchProcess = (enable, syncHour) => { - NativeModules.RNRoam.batchProcess(enable, syncHour); -}; + NativeModules.RNRoam.batchProcess(enable, syncHour) +} const stopPublishing = () => { NativeModules.RNRoam.stopPublishing() } -const createGeofence = (geofence) => { - NativeModules.RNRoam.createGeofence(geofence); -}; +const createGeofence = (geofence) => { + NativeModules.RNRoam.createGeofence(geofence) +} const startTracking = (trackingMode) => { NativeModules.RNRoam.startTracking(trackingMode)