Setup:
Android
CBL 2.8
Documentation is here and here:
-keep class com.couchbase.lite.ConnectionStatus { <init>(...); }
-keep class com.couchbase.lite.LiteCoreException { static <methods>; }
-keep class com.couchbase.lite.internal.core.C4* {
static <methods>;
<fields>;
<init>(...);
}
ConnectionStatus cannot be resolved. The only reference I found in code was in file \couchbase-lite-java-ce-root\common\common\main\cpp\native_c4listener.cc
//-------------------------------------------------------------------------
// Utility methods
//-------------------------------------------------------------------------
static bool initListenerCallbacks(JNIEnv *env) {
{
jclass localClass = env->FindClass("com/couchbase/lite/ConnectionStatus");
if (!localClass)
return false;
I was unable to find a ConnectionStatus file after going through all the different com/couchbase/lite
directories.
Is this essentially dead code in the cpp file? And was the ConnectionStatus file renamed? What file should be kept for Proguard?