Hello,
I receive two notifications in my android app from urban airship
One notification is proper which is received by my customnotification class but the another notification comes from no where.
Pls help me on this.
pls below my settings
UAirship.takeOff(this, new UAirship.OnReadyCallback() {
@Override
public void onAirshipReady(UAirship airship) {
// Enable user notifications
airship.getPushManager().setUserNotificationsEnabled(false);
}
});
UAirship.shared().getPushManager().setUserNotificationsEnabled(false);
UAirship.shared().getPushManager().setPushEnabled(true);
UAirship.shared().getPushManager().getRegistrationToken();
UAirship.shared().getPushManager().setNotificationFactory(new CustomPushNotificationFactory(context));
UAirship.shared().getInAppMessageManager().setDisplayAsapEnabled(true);
UAirship.shared().getInAppMessageManager().setAutoDisplayDelay(1000L);
Thanks,
Baps
Comments
11 comments