Ionic push notification with onesignal

#1

Hi,

I’m implementing one signal with push notification with “LOCATION” filter. but I don’t know how to start. I can only do subscribed users but not with specific locations.

Please see below my app.module.ts file

 var notificationOpenedCallback = function(jsonData) {
        alert('notificationOpenedCallback: ' + JSON.stringify(jsonData));
      };

      window["plugins"].OneSignal
        .startInit(this.singal_app_id, this.firebase_id)
        .handleNotificationOpened(notificationOpenedCallback)
        .endInit();