Sfoglia il codice sorgente

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

Penar Musaraj 5 anni fa
parent
commit
b06be7e136
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7
    0
      src/WebViewTypes.ts

+ 7
- 0
src/WebViewTypes.ts Vedi File

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