React Native Firebase
    Preparing search index...

    The React Native Firebase Utils service interface.

    This module is available for the default app only.

    Get the Utils service for the default app:

    const defaultAppUtils = firebase.utils();
    

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Attempts to make Google Play services available on this device, returns undefined on iOS

      await firebase.utils().makePlayServicesAvailable();
      

      Returns Promise<void>

    • A prompt appears on the device to ask the user to update play services, returns undefined on iOS

      await firebase.utils().promptForPlayServices();
      

      Returns Promise<void>

    • Resolves an error by starting any intents requiring user interaction, returns undefined on iOS

      await firebase.utils().resolutionForPlayServices();
      

      Returns Promise<void>

    Properties

    The current FirebaseApp instance for this Firebase service.

    isRunningInTestLab: boolean

    Returns true if this app is running inside a Firebase Test Lab environment, always false on iOS

    const isRunningInTestLab = await firebase.utils().isRunningInTestLab;
    
    playServicesAvailability: PlayServicesAvailability

    Returns PlayServicesAvailability properties, always { isAvailable: true, status: 0 } on iOS

    const PlayServicesAvailability = await firebase.utils().playServicesAvailability;