embeddedConfigurationFile property
Name of a signed configuration bundled with the app, used as a last-resort fallback when no online source and no previously fetched configuration is available, typically the app's very first start during an outage.
The same file name is resolved on each platform:
- iOS / macOS: a resource of the app's main bundle. Add the file to the app target's Copy Bundle Resources.
- Android: an asset, i.e.
android/app/src/main/assets/<name>.
Note this is not a Flutter asset declared in pubspec.yaml: Flutter
assets live inside flutter_assets/ and are not visible to the native
bundle/asset loaders. Ship the file per platform, exactly like
TrustPin-Info.plist / trustpin.json.
Use it only in applications protected by runtime application self-protection (RASP) that guards bundled resources against modification. The file must be the unmodified signed payload downloaded from the TrustPin dashboard for this project; it is verified against publicKey during setup, and regenerating it in CI on every release keeps it from going stale.
Leave null (the default) to ship no fallback.
Implementation
final String? embeddedConfigurationFile;