Skip to content

Commit 2de9152

Browse files
committed
applied hermes patch
1 parent 4ec6cd5 commit 2de9152

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

android/src/main/java/com/reactnativefastopenpgp/FastOpenpgpModule.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ internal class FastOpenpgpModule(reactContext: ReactApplicationContext) :
6262

6363
override fun initialize() {
6464
super.initialize()
65-
initialize(this.reactApplicationContext.javaScriptContextHolder.get())
65+
reactApplicationContext.runOnJSQueueThread {
66+
initialize(this.reactApplicationContext.javaScriptContextHolder.get())
67+
}
6668
}
6769

6870
override fun onCatalystInstanceDestroy() {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-fast-openpgp",
3-
"version": "2.2.3",
3+
"version": "2.2.4",
44
"description": "library for use openPGP",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)