We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to improve handling moving the app to background. It will improve showing notifications about new messages.
class AppForegroundedObserver : DefaultLifecycleObserver { val isAppForegrounded: Boolean get() { return isAppForegroundedInternal } private var isAppForegroundedInternal = false override fun onStart(owner: LifecycleOwner) { isAppForegroundedInternal = false } override fun onStop(owner: LifecycleOwner) { isAppForegroundedInternal = true } }
class FlowCryptApplication : Application(), Configuration.Provider { val appForegroundedObserver = AppForegroundedObserver() ......... override fun onCreate() { super.onCreate() ProcessLifecycleOwner.get().lifecycle.addObserver(appForegroundedObserver) ..........
The text was updated successfully, but these errors were encountered:
DenBond7
No branches or pull requests
Need to improve handling moving the app to background. It will improve showing notifications about new messages.
The text was updated successfully, but these errors were encountered: