Cordova-geofence plugin issue

Hi, i am using ngcordova-geofence plugin in my project, i am getting alerts for initialization and successfully added geofence but onTransitionReceived method which is mentioned below is not getting called.

window.geofence.onTransitionReceived = function (geofences) {
geofences.forEach(function (geo) {
console.log(‘Geofence transition detected’, geo);
alert("'Geofence transition detected");

and notifiaction for entering and leaving the geofence area is also not working…I hope some can give me idea about this or solve this issue.