Skip to content

Commit c728bec

Browse files
authored
Merge pull request #290 from OP-Engineering/oscar/fix-android-0.80
Fix signature of moveAssetsDatabase so that RN 0.80 validation scripts Android are happy
2 parents 78ad15e + 7636f6f commit c728bec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

android/src/main/java/com/op/sqlite/OPSQLiteModule.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ internal class OPSQLiteModule(context: ReactApplicationContext?) : ReactContextB
5151
}
5252

5353
@ReactMethod(isBlockingSynchronousMethod = true)
54-
fun getDylibPath(bundleId: String, name: String) {
54+
fun getDylibPath(bundleId: String, name: String): Boolean {
5555
throw Exception("Do not call getDylibPath on Android")
56+
return true
5657
}
5758

5859
@ReactMethod

0 commit comments

Comments
 (0)