<?xml version="1.0" encoding="utf-8"?>
<!--
  Disable cloud backup and device-to-device transfer of app data.

  The identity secret in identity.key grants full access to all of a user's
  private content (DMs, encrypted posts, persona keys). Silently replicating
  it to Google Drive / device-transfer without a conscious user action is not
  an acceptable default. Users who want backup can use in-app
  Settings -> Export, which produces a ZIP the user explicitly handles.

  Android 12+ (API 31+) reads this file. Combined with allowBackup="false"
  and fullBackupContent="false" in AndroidManifest.xml for older Android.
-->
<data-extraction-rules>
  <cloud-backup>
    <exclude domain="root" />
    <exclude domain="file" />
    <exclude domain="database" />
    <exclude domain="sharedpref" />
    <exclude domain="external" />
  </cloud-backup>
  <device-transfer>
    <exclude domain="root" />
    <exclude domain="file" />
    <exclude domain="database" />
    <exclude domain="sharedpref" />
    <exclude domain="external" />
  </device-transfer>
</data-extraction-rules>
