Skip to content

Commit

Permalink
fix: add android and ios to cd script
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySerfaty committed Jul 7, 2024
1 parent b846570 commit 943372d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
paths:
- 'src/**'
- 'ios/**'
- 'android/**'
branches:
- main

Expand Down
1 change: 1 addition & 0 deletions src/RichText/useEditorBridge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export const useEditorBridge = (options?: {

const sendMessage = (message: EditorActionMessage) => {
if (!webviewRef.current) return console.warn("Editor isn't ready yet");

// Workaround for https://github.com/react-native-webview/react-native-webview/issues/3305
// On the new arch on Android, messages are sent twice, so if we toggle bold it immediately toggles back
// We workaround this by adding a random id to the message and not handling it twice on the web side
Expand Down

0 comments on commit 943372d

Please sign in to comment.