PathSense Android SDK 2.+: How to customize Notification




The PathSense SDK runs as a foreground service. A notification briefly appears when it is first initialized (i.e. the app is first launched or device is rebooted).


By default, it will show the PathSense icon and read "Pathsense is running". You can customize this notification, by adding pathsense.properties to the /assets folder of your app and setting the following properties:
  • icon_name:┬áresource name of icon (i.e. drawable/icon)
  • ticker_text
  • content_title
  • content_text