push-receiveautomatically, and creates a notification in the Notification Center. When this notification is opened, it fires
push-receiveevent to immediately react on a push in case it is received in foreground, e.g. update content on a current page in your app.
push-notification, on the other side, is used to react on a notification click event, which requires user interaction, e.g. to navigate within your app, trigger a new process in your app etc.
NONE– do not display a notification when the app is in the foreground (default)
BANNER– displays banner in-app alert
ALERT– alert notification
true– do not automatically handle foreground pushes
false– automatically handle foreground pushes (default)
LOG_LEVELvariable to one of the following values:
NONE– no logs from the SDK
ERROR– only display errors in the console
WARNING– show warnings
INFO– show informational messages
DEBUG– show everything, including debug information (default)
phonegap plugin add pushwoosh-geozones-cordova-plugin
cordova plugin add pushwoosh-geozones-cordova-plugin
ionic plugin add pushwoosh-geozones-cordova-plugin
NSLocationWhenInUseUsageDescription– (required) for app to track Geozones only while running in the foreground.
NSLocationAlwaysAndWhenInUseUsageDescription- (required) for app to track Geozones in both conditions, and to show a permission request dialog pop-up.
NSLocationAlwaysUsageDescription– (optional) for app to track Geozones at all times; should be used if your app targets iOS 10 and earlier versions.