File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
android/src/main/java/com/reactnativefastopenpgp Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff 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 () {
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments