You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an alternative to using ActivityManager, it's possible to have the application class listen for activity lifecycle changes. Then you can derive that the app is in the background if Application.currentForegroundActivity = null or something. Not implying it's better, but now you have 2 options 🙂
In IncomingEventService,
getRunningTasks
is deprecated. This is used to get the foregroundTaskInfo and determine if our app is in the foreground.We need a non-deprecated way to do this.
The text was updated successfully, but these errors were encountered: