Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sriharshamadamanchi authored Aug 16, 2024
1 parent 606aa8e commit 2e4fa95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const response = await addGeofence({
longitude: 100.281585,
radius: 500
})
console.log(response) // { success: true, id, type: "add" }
console.log(response) // { success: true, id }
```
Supported options:
* `id` (String) - Set the ID of the geofence. This is a string to identify this geofence.
Expand All @@ -155,7 +155,7 @@ Supported options:
import { removeGeofence } from '@rn-bridge/react-native-geofencing';

const response = await removeGeofence(id)
console.log(response) // { success: true, id, type: "remove" }
console.log(response) // { success: true, id }
```
Supported options:
* `id` (String) - The ID uniquely identifies a geofence, enabling precise and efficient removal by referencing the specific geofence without ambiguity.
Expand Down

0 comments on commit 2e4fa95

Please sign in to comment.