fix(native): load config before init

- add native remap apk
This commit is contained in:
rhunk
2024-03-10 16:42:39 +01:00
parent 97806d693e
commit 0d2918adfb
11 changed files with 69 additions and 10 deletions

View File

@@ -627,6 +627,10 @@
"disable_bitmoji": {
"name": "Disable Bitmoji",
"description": "Disables Friends Profile Bitmoji"
},
"remap_apk": {
"name": "Remap APK",
"description": "Hides SnapEnhance apk path in /proc/self/maps"
}
}
},

View File

@@ -11,6 +11,7 @@ class Experimental : ConfigContainer() {
class NativeHooks : ConfigContainer(hasGlobalState = true) {
val disableBitmoji = boolean("disable_bitmoji")
val remapApk = boolean("remap_apk") { addNotices(FeatureNotice.UNSTABLE) }
}
class E2EEConfig : ConfigContainer(hasGlobalState = true) {