Skip to content

V- Modal AI: Visual Video / Image Search - Flutter Video SDK

Release Flutter SDK from 3f33bf4f235c7e8ff9c244aad2de851179fa9bcc

vmodal-release-app9185748b942b
diff --git a/README.md b/README.md
index 6ca4f93..b6cde0e 100644
--- a/README.md
+++ b/README.md
@@ -1,29 +1,171 @@
-# VModal Flutter SDK
+<div align="center">
+ <img src="readme_assets/logo_vmodal_owl.jpeg" alt="VModal owl" width="96">
+ <h1>VModal for Flutter</h1>
+ <p><strong>Give your Android and iOS apps a multimodal memory.</strong></p>
+ <p>Upload video. Find moments by meaning, speech, text, or imagery.<br>Keep the experience fast, native, and 100% Flutter.</p>
+ <img src="https://flutter.dev/assets/lockup_built-w-flutter.5443036ead976e7afea9249e17cd32b3.svg" alt="Built with Flutter" width="210">
+ <br><br>
+ <img src="https://img.shields.io/badge/Flutter-3.44%2B-02569B?logo=flutter&logoColor=white" alt="Flutter 3.44+">
+ <img src="https://img.shields.io/badge/Dart-3.12%2B-0175C2?logo=dart&logoColor=white" alt="Dart 3.12+">
+ <img src="https://img.shields.io/badge/Android-supported-3DDC84?logo=android&logoColor=white" alt="Android supported">
+ <img src="https://img.shields.io/badge/iOS-supported-000000?logo=apple&logoColor=white" alt="iOS supported">
+ <img src="https://img.shields.io/badge/license-MIT-6C63FF" alt="MIT license">
+</div>
-Typed VModal access for Flutter applications on Android and iOS. Flutter Web is
-not supported in this release. The package owns neither login UI nor credential
-storage; inject an already-loaded runtime API key from the parent application.
+<br>
+
+<img src="readme_assets/dev_homepage.jpg" alt="A wall of searchable video moments and developer screens" width="100%">
+
+<p align="center"><em>Turn every video library into an experience your users can explore.</em></p>
+
+## Build the feature people remember
+
+VModal brings multimodal video search and mobile-friendly uploads to Dart with a small, typed API. Your app owns the interface; the SDK handles the VModal gateway, request models, responses, upload streams, progress, and cancellation.
+
+| Your Flutter experience | VModal gives you |
+|---|---|
+| “Find the cyclist in the red jacket” | Semantic video and image search |
+| Search words spoken or shown on screen | ASR and OCR search sources |
+| Upload from a picker or camera flow | Streamed, signed uploads with live progress |
+| A cancel button that really cancels | Per-operation cancellation tokens |
+| Collection and indexing screens | Typed collection, index, usage, and image resources |
+| Login and account switching your way | App-owned runtime credentials—no login UI imposed |
+
+## Start in minutes
+
+The public package source is available on GitHub. Add it to your app:
+
+```yaml
+dependencies:
+ vmodal_sdk_flutter:
+ git:
+ url: https://github.com/v-modal/vmodal_sdk_flutter.git
+ ref: main
+```
+
+Then run:
+
+```bash
+flutter pub get
+```
+
+Create one client from the API key already loaded by your authenticated app:
```dart
-final keys = MutableApiKeyProvider(runtimeKey);
-final client = VmodalClient(
+import 'package:vmodal_sdk_flutter/vmodal_sdk_flutter.dart';
+
+final keys = MutableApiKeyProvider(runtimeApiKey);
+final vmodal = VmodalClient(
config: SdkConfig(apiKeyProvider: keys),
);
+```
-final me = await client.auth.me();
-final result = await client.searches.searchVideo(
- const SearchRequest(queryText: 'red bicycle'),
+> The SDK never owns your login screen or persists your API key. It receives an in-memory credential from your application at runtime.
+
+## Search video with natural language
+
+```dart
+final results = await vmodal.searches.searchVideo(
+ const SearchRequest(
+ queryText: 'the cyclist crossing the bridge at sunset',
+ groupName: 'travel_diaries',
+ searchSources: ['ocr', 'asr', 'image'],
+ limit: 20,
+ ),
);
+
+print('${results.cntActual} moments found');
+for (final moment in results.data) {
+ print(moment);
+}
```
-Gateway mode sends caller identity only through the bearer credential. Use
-`VmodalClient.unsafeDirect` only inside a trusted private network. Rotate a key
-with `keys.rotate(newKey)`; account switching requires canceling work, clearing
-the provider and upload persistence, then creating a new client.
+The response stays typed where the contract is stable and preserves the raw JSON so new server fields remain available immediately.
+
+## Upload with progress and cancellation
+
+The SDK reads an app-accessible `File` as a stream. It does not load the entire video into memory.
+
+```dart
+import 'dart:io';
+
+final task = vmodal.collections.videoUpload(
+ UploadSource.fromFile(File(videoPath)),
+ collectionName: 'travel_diaries',
+ subCollectionName: 'mobile_uploads',
+);
+
+final progress = task.progress.listen((value) {
+ print('Uploading ${value.percent}%');
+});
+
+// Connect this to your Flutter cancel button when needed:
+// task.cancel();
+
+final uploaded = await task.result;
+await progress.cancel();
+print('Ready: ${uploaded.fileName}');
+```
+
+Signed single upload is the production default for every file size. Multipart upload is experimental and must be enabled explicitly with `VideoUploadOptions(multipart: true)`; it fails with `FeatureDisabled` when the complete backend route family is unavailable.
+
+## Designed for real mobile lifecycles
+
+- Rotate credentials without rebuilding the client: `keys.rotate(newApiKey)`.
+- Cancel search or upload work when a screen closes.
+- Show upload progress from a broadcast Dart stream.
+- Keep file picking, secure storage, background scheduling, and lifecycle UI in the parent app.
+- Close network resources deterministically with `await vmodal.close()`.
+
+For logout or account switching, cancel active work, clear upload persistence, call `keys.clear()`, close the client, and create a new client for the next identity. Key rotation alone is not an identity switch.
+
+## One client, focused resources
+
+```text
+vmodal.auth identity and health
+vmodal.searches multimodal video search
+vmodal.collections upload and collection lifecycle
+vmodal.indexes create, inspect, and delete indexes
+vmodal.admin usage and cache statistics
+vmodal.r2 presigned object-storage operations
+vmodal.images image retrieval
+```
+
+Gateway mode is the safe default and sends caller identity only as a bearer credential. `VmodalClient.unsafeDirect` is reserved for trusted private networks.
+
+## Platform support
+
+| Platform | Status | Notes |
+|---|---:|---|
+| Android | ✅ Supported | Flutter-native Dart API |
+| iOS | ✅ Supported | Flutter-native Dart API |
+| Flutter Web | ⛔ Not supported | Not part of the 1.0 release contract |
+| macOS, Windows, Linux | ⏳ Not targeted | Mobile-first release |
+
+Minimum toolchain: Flutter `3.44.0` and Dart `3.12.0`.
+
+## Explore the SDK
+
+- [Run the complete example app](https://github.com/v-modal/vmodal_sdk_flutter/tree/main/example)
+- [Read the SDK guide](https://github.com/v-modal/vmodal_sdk_flutter/blob/main/doc/sdk_doc.md)
+- [Manage API keys safely](https://github.com/v-modal/vmodal_sdk_flutter/blob/main/doc/manage_api_key.md)
+- [Build a search experience](https://github.com/v-modal/vmodal_sdk_flutter/blob/main/doc/search_app.md)
+- [Review the API contract](https://github.com/v-modal/vmodal_sdk_flutter/blob/main/doc/sdk_contract.md)
+- [Open an issue](https://github.com/v-modal/vmodal_sdk_flutter/issues)
+
+## Development
+
+```bash
+git clone https://github.com/v-modal/vmodal_sdk_flutter.git
+cd vmodal_sdk_flutter
+bash install.sh
+bash test.sh all
+```
+
+The offline gate analyzes the package, runs the SDK and example tests, checks route synchronization, and validates Android/iOS example builds. Live tests require the repository's existing test credentials and are intentionally separate.
+
+---
-Signed single upload is the production default for every file size. Multipart
-is experimental and requires explicit `VideoUploadOptions(multipart: true)`;
-it fails with `FeatureDisabled` when the complete backend route family is not
-available. The parent app owns file picking, private storage directories,
-background scheduling, and lifecycle UI.
+<p align="center"><strong>Build video experiences people can search, not just scroll.</strong></p>
+<sub>Flutter and the related logo are trademarks of Google LLC. VModal is not endorsed by or affiliated with Google LLC.</sub>
diff --git a/RELEASE_METADATA b/RELEASE_METADATA
index 5b2f8e6..d17cb1c 100644
--- a/RELEASE_METADATA
+++ b/RELEASE_METADATA
@@ -1 +1 @@
-Source-vmx-api: 7fb167d15e1fadc765c0d14d535a64d8f70a68c0
+Source-vmx-api: 3f33bf4f235c7e8ff9c244aad2de851179fa9bcc
diff --git a/SOURCE_MANIFEST.sha256 b/SOURCE_MANIFEST.sha256
index ee0372d..33c003a 100644
--- a/SOURCE_MANIFEST.sha256
+++ b/SOURCE_MANIFEST.sha256
@@ -1,22 +1,19 @@
002abcc5d95c0cf20375adefe4ee2472581a615e64f5726bf361dd5c679cdea7 test/auth_http_test.dart
008655dc4707449090b05556247f12e3f210bae227e1dc62b1e28c40a2c3c537 test/resources_models_test.dart
05a8215a0f8d4d5ca26d8dfdf93d8c41b5785d84855459f979b079527f6232b3 lib/src/api_key_provider.dart
+07675cf3fed7bf35703aac4c14e67157d7eb57d8a52ea2e523acb1b711e30873 README.md
0a1394c90829b91541aa01e9786e3195aae04fc49a7b92775dbf404bf2802107 test/fakes_test.dart
-0e00d398815f8dd7cded7624b0758d16db3e0c40f9f4598ef154ede76240f6a9 test/workflow_layout_test.dart
0f82b18017fba6bb5ce3aa4b2d1a00c9382fc8aae7b1d9326e44b18abd66d80b example/android/gradle.properties
119668af3446819daa6f8aa55b6e9c2160dda70241628709f6f1f14836f4aff9 example/pubspec.lock
11b247bc6796892d67c9a821d18604db4dd6a880981b34f38460b9866e6b247f example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
11b247bc6796892d67c9a821d18604db4dd6a880981b34f38460b9866e6b247f example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
13bacc486006b6b6ae11ae37b2cda0dddf588b8aa8e72c1b13e570b95f36aa59 doc/sdk_contract.md
14368b598ece0ce9b2e249148a10a92f2c80e38427c077013a1515826f4365bd test/fixtures/routes_contract.json
-18cba02cc4f3295820e22fbca5fcf563beb7eca3ed81f6049f89f1db392faf0a README.md
19be171481dc71a0b2803ebcd01dd8b0c5fd5778dee34c0a3cabc948c225f24e example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
19be171481dc71a0b2803ebcd01dd8b0c5fd5778dee34c0a3cabc948c225f24e example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
1a8d11d01d1cc92c650c9c9ed35299240052d4683a15a719a2315ef44185e074 example/ios/Runner/Runner-Bridging-Header.h
-1f8d8c8067b690902c8c719cd8628ce80defdd0863bbb7574c87fe33b4191bc7 doc/release.md
2261aee252795421960040a611bdda5cc86fe649411b13391e62a86e9d73a4f3 example/ios/Runner.xcodeproj/project.pbxproj
23756b83470b1f25f6a7e6b5a6270f123a5224e49fd8e2eda36001358951b688 install.sh
-25a63a36db611a75e8101306807d6726d054d7198233c37f0833a0299a142253 RELEASE_METADATA
28315361fb94de58b44de0e303fab5271aec59c752a8c36ec76fd66c806bfc59 CHANGELOG.md
28960838bdddfa72b39ce7e86a23d547d5e5ec755498249af966d3733605dacc build.sh
28c321f8798c0e803246c737e0b634c5f3ade930239bb6e5429098bb2b096d86 doc/manage_api_key.md
@@ -34,18 +31,20 @@
406de1350b79662fcaf007cb0cacd7a6b71b83815dc7cd3c7b561fcfba5600a3 tool/check_route_sync.dart
41c7d42f6e61f8fe7f30b1ffa2256aecbc9682be06d18c4a3062043e1a2e547c example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
4209a49e44a92ec40a327d3455eb1b1c153ee83d75de1c2be0a12ab18b2ff9de example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
+42c8c75e3384d7d93a3319c6b50ed2f74e3862e7c5ce45757d8165f8f656ae9a test/workflow_layout_test.dart
451c6d9ba0a2b3ff43092ea349c60fa79a91f1158b915eb29dbdd357cb95d7b8 example/ios/Runner/AppDelegate.swift
4630bdec004652eae39bd30f1e864a5b6e5f27a7d98f866bdea192b4d65b4046 lib/src/adaptive_upload.dart
46c3c9702ff7c5584e11c954d943cfb6e07fb26e3fbd072ddbc0f388aa352de1 example/ios/Runner.xcworkspace/contents.xcworkspacedata
471beea99cb1189fe081eb0fbe0365025b15ab9b7d9909461ac2c6bcae195d25 example/lib/main.dart
47ce679eef585b28fe5e10a92a642eef4946c5d33d56411202734139b1db8e7b example/android/app/src/main/kotlin/com/vmodal/sdk/vmodal_example/MainActivity.kt
4d470bf22d5c17d84edc5f82516d1ba8a1c09559cd761cefb792f86d9f52b540 example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
-52c47ca2a079343aa0d142883b3d53c1e02dd86a50563e7ece0c550f7bdbfb1b security_check.sh
5b386cfbac75cc03ab5bac6f075fd33bbac03d880911cd43384ae0c12c8fc2df example/pubspec.yaml
5c90a4437c33000865ee889e1e2afb875d3e1abc83e5d3150e867efe1240232c doc/sdk_doc.md
+5d6f8ff6f9e38deb47587b6df7bc765732d3dd4efb3677bb02e47c032ddb7c13 doc/release.md
5d7e5bdf01b93802bc973345b3a78c038907147625035952a08a115a563b7f81 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
5dee24dc104ac76dc162e42ae0beb163d426bf365562ee28ba7b3ad368559a60 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
5e8f4908dacea6f29b2a790e4d38bf5fded69096063f9a27a2f21584d62b30c0 example/ios/RunnerTests/RunnerTests.swift
+5ee841b9f4a4e4bb682aac32c401b600bc972006ce158869496605d1df8fda60 security_check.sh
6a26dba2cb8dfba1e74f540b0d17a89d96c1301d3c3bfda14348bed257fddcba example/android/build.gradle.kts
6a7c8f0d703e3682108f9662f813302236240d3f8f638bb391e32bfb96055fef example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
72fff91181fd3e25fd9afd766930a67025205b61096fd35c55cbdd9a3178ecf0 pubspec.lock
@@ -68,7 +67,9 @@
94433756fe10005ddd6fc55cc5c0b1e9f3c10b66a08ceac795ece6713d34e28a example/android/app/src/main/res/drawable/launch_background.xml
970aad998c7e3d34430ff59c72aa224e60155f85038efa7ffc6fdf73b531437a test/regression_manifest_test.dart
9fbce429f56243561dd437a527136c9f9ed77165e3b271b923faf236cfcd0484 example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+9fcf83984baf7b89f8c243c5dd68096362469f808165573769ee332f7ebaa46a RELEASE_METADATA
a3134f6fc8387589e96a345ea35d4c68240c7c1893ef5cd5926707e4168e5309 lib/src/transport.dart
+a80b38547f5d9ca1874f60e71c648e3fc12ab5f7cb88d1bead6d5b863d3c0245 readme_assets/dev_homepage.jpg
a82d7765b37116ee4821d2cd1d65942febf8032353757ffb0826eabde785b4a6 example/ios/Flutter/Debug.xcconfig
a82d7765b37116ee4821d2cd1d65942febf8032353757ffb0826eabde785b4a6 example/ios/Flutter/Release.xcconfig
a985b626c4f7546a8ba392d135e9226c3547c8e2b46895f5f2bdf40d7b14ef9f example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
@@ -86,19 +87,20 @@ b9ad02cf6576a04d1b6806ac02a2431481b448dd0c2e505ce25842d1f7c4730b example/ios/Ru
ba941377f1ee717091dd30522609d028f32cd60df575564c75ab0228c2543d35 test/config_routes_test.dart
be59599b9ba77d031e9b4bad7f8d5c59efd2687888c5b73be4fbea115902106b test/adaptive_upload_test.dart
c13557f89597f0be73f48dc8463aa7513e9e814c0e6a0ab871e441834687abb1 test/upload_test.dart
+c56419d129059b64551e06f074e88ef62676f25938dc2a1fe28a6ab3f2ba8547 readme_assets/logo_vmodal_owl.jpeg
c5ce516b547327aab5b6fa27a523d4c76e66294ada3248b293c54b9595cd3a87 example/.metadata
c6e6d3b215ae744a9c391f4c4d44157eff5e739d6ad6c39f9bfa5df66dddd267 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
c7c0c0189145e4e32a401c61c9bdc615754b0264e7afae24e834bb81049eaf81 example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
cab10a0d391ec5bc09ef50ce49e8ad401cee7ef03707ec0923a222c5c2b3d212 example/ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
cafa2529768e48a6b89f85a069e337eff7a5cf75103d6ac8623bdbb7a1088549 lib/src/collection_uploads.dart
ccc7950fd5f5b82067c85f667940a9d59189151460761ece8098ca78daa19469 example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
+cf9402a50d0b10a4a1002fa7aeef3b98c0f12e7638dd8cb3acd26d286bd66914 tool/release_manifest.dart
d09f68c36895c2550a6b78d378b0ca1d533b16ae12ead55f3d6dbcfb9997996f lib/src/models.dart
d2411f67f427c095c7d82718c23ddd114fa39221e43333bfd55ac8ece9e4c877 lib/src/upload.dart
d31d6bb36542a9022c62d2d9940b0efd07f60b1cdfb30e35f8be8b15a226c843 run.sh
d5f5f9246656a5c275c5ab5863dbf3945d8ef6b1c9042c9d1912cfafce93646f tool/flutter_checksums.txt
da12038f9b2688a8a26160fea2609fa8fcb11421448c109f09c0f573efe7698d example/ios/Flutter/AppFrameworkInfo.plist
da330cad4fc27776d249a5db97c1e20bf2cac015d0bbab73b781c0a9ec15b00f doc/search_app.md
-dc1fe4b5d4cd1cf3ba061ebbd2a7ca199bdff014242ccd3ce89fc6d6fb527289 tool/release_manifest.dart
dd2a40eaedcf0f194d5faf7abf398124506f9db206d418617a69b7361d6ec349 lib/vmodal_sdk_flutter.dart
def7e4f643adff5b01b877b6a7fa5b2381612b693c0bf06bd232ee0f7197d342 analysis_options.yaml
dfa0f9bb85b95ccba9c6811adadf8cb407fb5d52088e89db83ebc308ec448542 example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/doc/release.md b/doc/release.md
index 0f5d4b1..235ef74 100644
--- a/doc/release.md
+++ b/doc/release.md
@@ -5,13 +5,15 @@ archive checksum and installs only into a user-owned cache. Run `bash test.sh al
for the offline gate and `bash test.sh live` only after explicitly loading the
existing repository test credential variables.
-The internal workflow checks out one immutable candidate SHA, runs secret
-detection only on the current `uinterface/sdk_flutter` tree and that path's Git
-history, then runs offline tests, Android/iOS example builds, the live
-signed-upload lifecycle, and package dry-run. It exports one checksummed source
-artifact to the public repository. Optional pub.dev publication is triggered
-only by the exported version tag and uses OIDC trusted publishing; no long-lived
-pub token is stored.
+Push and pull-request CI run the offline suite and Android/iOS example builds
+without requiring the secret scanner or production API credential. A manual
+publication checks out one immutable candidate SHA, scans the current
+`uinterface/sdk_flutter` tree without scanning historical commits, runs the
+credentialed live lifecycle, and exports one checksummed source artifact to the
+public repository. These release-only jobs remain mandatory before source or
+pub.dev publication. Optional pub.dev publication is triggered only by the
+exported version tag and uses OIDC trusted publishing; no long-lived pub token is
+stored.
Multipart is excluded from production live claims until all five backend routes
are verified. A failed publication is fixed forward with a new version after the
diff --git a/readme_assets/dev_homepage.jpg b/readme_assets/dev_homepage.jpg
new file mode 100644
index 0000000..37f87ec
Binary files /dev/null and b/readme_assets/dev_homepage.jpg differ
diff --git a/readme_assets/logo_vmodal_owl.jpeg b/readme_assets/logo_vmodal_owl.jpeg
new file mode 100644
index 0000000..43e8221
Binary files /dev/null and b/readme_assets/logo_vmodal_owl.jpeg differ
diff --git a/security_check.sh b/security_check.sh
index 4a2770d..9ed1263 100755
--- a/security_check.sh
+++ b/security_check.sh
@@ -24,10 +24,9 @@ sdk_security_workflow() {
grep -Eq 'needs:[[:space:]]+verify_tagged_source' "$public"
grep -Eq 'environment:[[:space:]]+pub\.dev' "$public"
grep -Eq 'environment:[[:space:]]+sdk-flutter-production' "$internal"
- grep -Eq 'fetch-depth:[[:space:]]+0' "$internal"
grep -Eq 'persist-credentials:[[:space:]]+false' "$internal" "$public"
grep -Fq -- '--source "$WORKDIR"' "$internal"
- grep -Fq -- '--log-opts="--all -- $WORKDIR"' "$internal"
+ ! grep -Fq -- '--log-opts=' "$internal"
grep -Fq 'RELEASE_TOKEN: ${{ secrets.GH_TOKEN }}' "$internal"
! grep -Fq 'FLUTTER_SDK_APP_' "$internal"
! grep -Eq 'git merge|git push[^\n]*--force|--skip-validation' "$internal" "$public"
diff --git a/test/workflow_layout_test.dart b/test/workflow_layout_test.dart
index 794302b..87ad3a5 100644
--- a/test/workflow_layout_test.dart
+++ b/test/workflow_layout_test.dart
@@ -14,6 +14,8 @@ final publicFile = File('release/public_publish.yml').existsSync()
final public = publicFile.readAsStringSync();
void checkWorkflow(String main, String tagged) {
+ const releaseOnly =
+ "if: \${{ github.event_name == 'workflow_dispatch' && (inputs.publish_sdk_flutter || inputs.publish_pub_dev) }}";
expect(main, contains('name: sdk_flutter_test_release'));
expect(main, contains('publish_sdk_flutter:'));
expect(main, contains('publish_pub_dev:'));
@@ -21,9 +23,21 @@ void checkWorkflow(String main, String tagged) {
expect(main, contains('group: sdk_flutter_release_\${{ github.ref }}'));
expect(main, contains('WORKDIR: uinterface/sdk_flutter'));
expect(main, contains('RELEASE_SHA: \${{ github.sha }}'));
- expect(main, contains('secret_detection:'));
- expect(main, contains('needs: secret_detection'));
- expect(main, contains('needs: [offline_test, example_android]'));
+ expect(
+ main,
+ contains('secret_detection:\n $releaseOnly\n runs-on: ubuntu-latest'),
+ );
+ expect(main, contains('offline_test:\n runs-on: ubuntu-latest'));
+ expect(
+ main,
+ contains(
+ 'live_test:\n needs: [offline_test, example_android]\n $releaseOnly',
+ ),
+ );
+ expect(
+ main,
+ contains('pub_package:\n needs: offline_test\n $releaseOnly'),
+ );
expect(
main,
contains(
@@ -34,10 +48,9 @@ void checkWorkflow(String main, String tagged) {
expect(main, contains('pub.dev publication requires source export.'));
expect(main, contains('if: \${{ inputs.publish_pub_dev }}'));
expect(main, contains('environment: sdk-flutter-production'));
- expect(main, contains('fetch-depth: 0'));
expect(main, contains('gitleaks_'));
expect(main, contains('--source "\$WORKDIR"'));
- expect(main, contains('--log-opts="--all -- \$WORKDIR"'));
+ expect(main, isNot(contains('--log-opts=')));
expect(main, contains('SHA256SUMS'));
expect(main, contains('SOURCE_MANIFEST.sha256'));
expect(main, contains('RELEASE_TOKEN: \${{ secrets.GH_TOKEN }}'));
diff --git a/tool/release_manifest.dart b/tool/release_manifest.dart
index 31875b2..2b12c70 100644
--- a/tool/release_manifest.dart
+++ b/tool/release_manifest.dart
@@ -84,6 +84,7 @@ Future<void> _export(Directory root, Directory destination) async {
'analysis_options.yaml',
'LICENSE',
'README.md',
+ 'readme_assets',
'CHANGELOG.md',
'.flutter-version',
'.pubignore',