I have initialized geofence like this .
this.geofence.initialize().then(
// resolved promise does not return a value
() => alert('Geofence Plugin Ready'),
(err) => alert(err)
)
Getting the error TypeError: Object(...) is not a function at Geofence.initialize .
Let me know if you have any input on this.
I have initialized geofence like this . this.geofence.initialize().then( // resolved promise does not return a value () => alert('Geofence Plugin Ready'), (err) => alert(err) )
Getting the error TypeError: Object(...) is not a function at Geofence.initialize . Let me know if you have any input on this.