Understand the saved settings affecting app behavior
Inspect approved preference values in your Cordova/Capacitor app and make targeted changes during local debugging.
Preferences tools help explain behavior that depends on saved configuration or user state. Read the allowed stores and keys, then enable writes or removal only when you need to test or repair a specific setting.
const options = Ansight.createOptionsBuilder()
.withPreferencesTools({
allowedStores: ["standard"],
allowedKeyPrefixes: ["debug."],
})
.withReadWriteToolAccess()
.build();
The suite exposes prefs.list_keys, prefs.get_value, prefs.set_value, and prefs.remove_key. It operates on native preference stores, not browser localStorage. Keep stores and key allow-lists narrow.