Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,5 +330,3 @@ Added:

- Updated the Roam SDK to the latest version.
- Added support for the New Architecture.


1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ const startTracking = () => {
)
}
```

# Finally, lets do some javascript

## Import module
Expand Down
10 changes: 5 additions & 5 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down