Quellcode durchsuchen

fix(types): Add missing applicationNameForUserAgent type (#589)

Penar Musaraj vor 5 Jahren
Ursprung
Commit
b06be7e136
1 geänderte Dateien mit 7 neuen und 0 gelöschten Zeilen
  1. 7
    0
      src/WebViewTypes.ts

+ 7
- 0
src/WebViewTypes.ts Datei anzeigen

@@ -376,6 +376,13 @@ export interface IOSWebViewProps extends WebViewSharedProps {
376 376
    * @platform ios
377 377
    */
378 378
   useSharedProcessPool?: boolean;
379
+
380
+  /**
381
+   * Append to the existing user-agent. Overriden if `userAgent` is set.
382
+   * @platform ios
383
+   */
384
+  applicationNameForUserAgent?: string;
385
+
379 386
   /**
380 387
    * The custom user agent string.
381 388
    */