Skip to content

Commit eaa8e42

Browse files
committed
feat: 🎸 ios
1 parent c4d8ab2 commit eaa8e42

File tree

22 files changed

+3497
-60
lines changed

22 files changed

+3497
-60
lines changed

‎.DS_Store‎

6 KB
Binary file not shown.

‎.gitignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@
99

1010
# Files
1111
.eslintcache
12+
13+
/build

‎.nvmrc‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
14

‎README.md‎

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66

77
Native inject global function into browser:
88

9-
- iOS: window.webkit.messageHandlers.nativeApp.postMessage
10-
- Android: window.nativeApp.sendToNative
9+
- nativeBridge?.sendMessage
1110

1211
### Native -> Web
1312

@@ -70,21 +69,3 @@ setTimeout(() => {
7069
webApp.callBack(eventId, params);
7170
});
7271
```
73-
74-
## Preview
75-
76-
- [online examples](https://0x0006e.github.io/Hybrid-JS-SDK/examples/dist/)
77-
78-
```bash
79-
git clone https://github.com/0x0006e/Hybrid-JS-SDK.git
80-
cd Hybrid-JS-SDK/examples
81-
yarn && yarn start
82-
```
83-
84-
## TODO
85-
86-
- [ ] tests
87-
88-
## Others
89-
90-
- PR thanks!

‎examples/.DS_Store‎

6 KB
Binary file not shown.

‎examples/dist/main.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)