Parcourir la source

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

Penar Musaraj il y a 5 ans
Parent
révision
b06be7e136
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7
    0
      src/WebViewTypes.ts

+ 7
- 0
src/WebViewTypes.ts Voir le fichier

@@ -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
    */