cowbell / cordova-plugin-geofence

Geofencing plugin for cordova
Apache License 2.0
264 stars 318 forks source link

Geofence notifications are not working in background #302

Open Pratikshakhandagale opened 4 years ago

Pratikshakhandagale commented 4 years ago

Notifications are works only while i am logging into app(if I'm in given radius area) after that notifications are not getting.

My android device version is 9:

Code :-

let fence = {
      id:  2,
      latitude: 14.501243, 
      longitude:62.814435,
      radius: 100, 
      transitionType: 3,
      notification: { 
        id: 1, 
        title: 'Hello..', 
        text: 'You crossed a fence', 
        openAppOnClick: true
      }
sumit1203 commented 4 years ago

how you have resolve this issue...Im also stuck with this

chenlitchian commented 4 years ago

This plugin has been deprecated. Please find the other alternative