Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setGeofences() {
- this.geofence.addOrUpdate(this.geofences).then(function () {
- console.log('Geofence successfully added');
- }, function (error) {
- console.log('Adding geofence failed', error);
- });
- this.geofence.onTransitionReceived().subscribe(resp => {
- console.log(resp);
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement