You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot read /data/user/0/com.example.myapp/shared_prefs/LpT9bkPsuUdwEpc29u1gLRB8rwFE7rJAGDTZR6FxVd7z.xml
W/SharedPreferencesImpl(18119): org.xmlpull.v1.XmlPullParserException: Unexpected end of document
To Reproduce
on initialization
void main()async{
final callback = ThreatCallback(
onPrivilegedAccess: () async {
controller.isThreatDetected.value = true;
await prefs.clear();
await StorageService.instance.deleteAll();
controller.threatName.value =
"Unauthorized modifications (root/jailbreak) have been detected on your device";
},
onHooks: () async {
controller.isThreatDetected.value = true;
await prefs.clear();
await StorageService.instance.deleteAll();
controller.threatName.value = "Hooking activities detected";
},
);
Describe the bug
Cannot read /data/user/0/com.example.myapp/shared_prefs/LpT9bkPsuUdwEpc29u1gLRB8rwFE7rJAGDTZR6FxVd7z.xml
W/SharedPreferencesImpl(18119): org.xmlpull.v1.XmlPullParserException: Unexpected end of document
To Reproduce
on initialization
void main()async{
final callback = ThreatCallback(
onPrivilegedAccess: () async {
controller.isThreatDetected.value = true;
await prefs.clear();
await StorageService.instance.deleteAll();
controller.threatName.value =
"Unauthorized modifications (root/jailbreak) have been detected on your device";
},
onHooks: () async {
controller.isThreatDetected.value = true;
await prefs.clear();
await StorageService.instance.deleteAll();
controller.threatName.value = "Hooking activities detected";
},
);
Talsec.instance.attachListener(callback);
final config = TalsecConfig(
androidConfig: androidConfig,
iosConfig: iOSConfig,
watcherMail: email,
);
await Talsec.instance.start(config);
///my Code
}
Expected behavior
No exception should be thrown
Please complete the following information:
The text was updated successfully, but these errors were encountered: