Countly Push does not show dialog when App is in foreground

My app receives Push Notifications from Countly. When in the background the device vibrates and displays the icon in tray. However, when in the foreground the app does not display a dialog. Instead it behaves the same as if it is in the background.

I have "Countly.onCreate(this);" in my MainActivity onCreate, and "Countly.sharedInstance().onStart(this);" and "Countly.sharedInstance().onStop();" in my MainActivity onStart and onStop respectively.

Any thoughts on what I am doing wrong?




1 comment

Please sign in to leave a comment.