Customizing notifications
Last updated
res
├── drawable-hdpi
│ └── ic_notification_icon.png
├── drawable-mdpi
│ └── ic_notification_icon.png
├── drawable-xhdpi
│ └── ic_notification_icon.png
└── drawable-xxhdpi
└── ic_notification_icon.png<meta-data
android:name="com.batch.android.push.smallicon"
android:resource="@drawable/ic_notification_icon" /><meta-data
android:name="com.batch.android.push.color"
android:value="#FF00FF00" />// This should be right after batch.start()
batch.push.setiOSShowForegroundNotifications(false);<meta-data android:name="com.batch.android.push.foreground_push_handling" android:value="true" />batch.push.setAndroidShowNotifications(false);batch.push.setAndroidShowNotifications(true)batch.push.setiOSNotificationTypes(batch.push.iOSNotificationTypes.ALERT |
batch.push.iOSNotificationTypes.BADGE);