React Native Firebase
    Preparing search index...
    • Sets a string value to be associated with the given attribute name which will be visible in the Firebase Crashlytics console.

      const crashlytics = getCrashlytics();
      await setAttribute(crashlytics, 'role', 'admin');

      Parameters

      • crashlytics: Crashlytics

        A crashlytics instance.

      • name: string

        The name of the attribute to set.

      • value: string

        A string value for the given attribute.

      Returns Promise<null>