Skip to content

Commit 8294b10

Browse files
committed
fix: remove the deprecated injectOnLoadStart option
1 parent 230e393 commit 8294b10

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/native/withJavascriptInterface.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,6 @@ interface Options {
2828
* for control Comlink enable or disable status, default is `null`
2929
*/
3030
isEnabled?: isEnabledGetter;
31-
/**
32-
* the interface is injected on load end by default, set to `true`
33-
* to get the interface injected on load start
34-
* NOTE:
35-
* - it only works for Android, iOS will ignore this option as
36-
* it's necessary to inject on load end for iOS to work
37-
* - if target lower browser version device where it needs polyfills,
38-
* it's better to inject on load end where those polyfills are already
39-
* loaded with web page
40-
*/
41-
injectOnLoadStart?: boolean;
4231
/**
4332
* print debug log to console or not, default is `false`
4433
*/

0 commit comments

Comments
 (0)