Skip to content
This repository was archived by the owner on Jan 16, 2019. It is now read-only.
This repository was archived by the owner on Jan 16, 2019. It is now read-only.

It's not working when startMonitoring after onStart() in Activity #21

@Double-Dude

Description

@Double-Dude

It's working fine when I have the following code before onStart() method gets code, i.e. in onCreate method. But if I have the following code added after onStart() in Activity, then app enters background onAppDidEnterForeground will not get fired at the first time. If I come back to foreground and re-enter background, then it works as expected.

AppStateMonitor appStateMonitor = AppStateMonitor.create(application);
appStateMonitor.addListener(this);
appStateMonitor.start();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions