Firebase Messaging instance
Optional
options: UseMessagingTokenOptionsOptions to configure how the token will be fetched
Token, loading state, and error
undefined
if token is currently being fetched, or an error occurredtrue
while fetching the token; false
if the token was fetched successfully or an error occurredundefined
if no error occurred
Returns the messaging token. The token never updates.