Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @react-native-firebase/iid with all npm packages installed. Try it out:

require("@react-native-firebase/app/package.json"); // @react-native-firebase/app is a peer dependency. var iid = require("@react-native-firebase/iid")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@react-native-firebase/iid v6.3.4

React Native Firebase - Firebase Instance ID provides a unique identifier for each instance of your app and a mechanism to authenticate and authorize actions for it (for example: sending FCM messages).


React Native Firebase - Instance ID

Coverage NPM downloads NPM version License Maintained with Lerna

Chat on Discord Follow on Twitter Follow on Facebook


Firebase Instance ID provides a unique identifier for each instance of your app and a mechanism to authenticate and authorize actions for it (for example: sending FCM messages).

An Instance ID is long lived except in a few scenarios:

  • when you call delete()
  • the app is restored on a new device
  • the user uninstalls/reinstall the app
  • [android] the user clears the app data

Installation

Requires @react-native-firebase/app to be installed.

yarn add @react-native-firebase/iid

Documentation

License


Built and maintained with 💛 by Invertase.

💼 Hire Us | ☕️ Sponsor Us | ‍💻 Work With Us


Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free