K
K
kolyall2014-11-08 20:16:00
Android
kolyall, 2014-11-08 20:16:00

onCreate doesn't work to get push from pushapps.mobi?

onCreate doesn't work to get push from pushapps.mobi
Here it says that

default if the activity is closed then you need to handle the click in the onCreate() of the activity.

i paste
in onCreate()
Bundle bundle = this.getIntent().getExtras();      
        if (bundle != null) {
            String notificationLink = bundle.getString(PushManager.NOTIFICATION_LINK_KEY);
            }
        }

but onCreate is not called on push when app is closed and removed from task manager... what to do?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question