Preferences

Configure Cordova/Capacitor native preference tools with explicit stores and key restrictions.

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.