React Native Firebase
    Preparing search index...
    • Enable or disable automatic data collection for Firebase In-App Messaging.

      When enabled, generates a registration token on app startup if there is no valid one and generates a new token when it is deleted (which prevents deleteInstanceId() from stopping the periodic sending of data).

      This setting is persisted across app restarts and overrides the setting specified in your manifest/plist file.

      // Disable data collection
      const inAppMessaging = getInAppMessaging();
      setAutomaticDataCollectionEnabled(inAppMessaging, false);

      Parameters

      Returns Promise<null>