Know if app is opened for better Push notification handling (React Native)

Comments

1 comment

  • Avatar
    Fran Verona

    Object received by push handler function has a property called foreground.

    If foreground is true -> app is opened.

    If foreground is false -> app is closed.

Please sign in to leave a comment.