Push notification does not happening when app is not running - android
Posted
by
iShare
on Stack Overflow
See other posts from Stack Overflow
or by iShare
Published on 2012-11-18T04:38:49Z
Indexed on
2012/11/18
5:00 UTC
Read the original article
Hit count: 230
android
|urbanairship.com
I am using Urban Airship for Push notification. Its works like a charm but just found that its did not sending push notification when application is not running.
How to handle this? I am sure its a common scenario and there will be a solution.
I checked many posts in stack overflow but most of them are for iOS. I want for Android
AirshipConfigOptions options = AirshipConfigOptions.loadDefaultOptions(this);
UAirship.takeOff(this, options);
Logger.logLevel = Log.VERBOSE;
PushManager.shared().setIntentReceiver(IntentReceiver.class);
PushManager.enablePush();
© Stack Overflow or respective owner