We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clearStateNativeJsi
1 parent 489016d commit 13e9577Copy full SHA for 13e9577
android/cpp-adapter.cpp
@@ -14,7 +14,10 @@ struct QuickSQLiteBridge : jni::JavaClass<QuickSQLiteBridge> {
14
javaClassStatic()->registerNatives(
15
{// initialization for JSI
16
makeNativeMethod("installNativeJsi",
17
- QuickSQLiteBridge::installNativeJsi)});
+ QuickSQLiteBridge::installNativeJsi),
18
+ makeNativeMethod("clearStateNativeJsi",
19
+ QuickSQLiteBridge::clearStateNativeJsi)
20
+ });
21
}
22
23
private:
@@ -29,7 +32,7 @@ struct QuickSQLiteBridge : jni::JavaClass<QuickSQLiteBridge> {
29
32
osp::install(*jsiRuntime, jsCallInvoker, docPathString.c_str());
30
33
31
34
- static void clearStateNativeJsi() {
35
+ static void clearStateNativeJsi(jni::alias_ref<jni::JObject> thiz) {
36
osp::clearState();
37
38
};
0 commit comments