DecaneDocs
Get startedApp setup
Get started

App setup

Backups

Point android:dataExtractionRules (API 31+) and android:fullBackupContent (API 28 to 30) at @xml/decane_backup_rules, or copy its two <exclude> lines into your own rules. The store is encrypted under a key that lives only in this device’s keystore, so a restored copy would read as empty anyway.

xmlAndroidManifest.xml
<application
    android:dataExtractionRules="@xml/decane_backup_rules"
    android:fullBackupContent="@xml/decane_backup_rules"
    …>

Redirect scheme

For browser sign-in in the next release: set manifestPlaceholders["decaneRedirectScheme"], pass redirectUri = "myapp://auth" in DecaneConfig, and register that exact URL as the API key’s first callback URL in the dashboard. A native app sends no Origin, so it gets the first one.

Passkeys

Also next release. Set rpId to a domain you control and serve https://<rpId>/.well-known/assetlinks.json with the delegate_permission/common.get_login_creds relation for your package and signing-certificate SHA-256. Set origin to android:apk-key-hash:<base64url of that SHA-256>.

Biometric prompts

The device tier needs the foreground activity to be a FragmentActivity; AppCompatActivity is one.