react-native-device-info - v15.0.1
    Preparing search index...

    Function getUserAgent

    • Retrieves the user agent information reported by the native platform.

      iOS ✅ Android ✅ Windows ❌ Web ✅ visionOS ✅

      Returns Promise<string>

      const result = await getUserAgent();