Skip to content

Get Push token outside ready #707

Description

@thomashrabe

Is there a way to obtain the push token outside of device / platform ready?
I want to access it later. From my understanding token should remain constant from push permission granted till app is deleted? Hence why not bind the token to the Push object as an attribute once it's set. This way it would be available throughout the code, outside of the ready function and one would not to have to set either global variables or localstorage.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions