Updated
On this page
Detect native platform file changes in Flutter projects since a given git ref.
#rlsbl.targets.native_changes
#rlsbl.targets.native_changes
Detect native platform file changes in Flutter projects since a given git ref.
Used by the release flow to validate whether an OTA release is safe (Dart-only changes) or whether a full build release is required (native code changed).
#detect_native_changes
python
def detect_native_changes(project_dir: str, since_ref: str) -> list[str]Return list of changed native files since a git ref.
Runs git diff --name-only to find files changed between since_ref and HEAD, then filters for files under native platform directories.
Returns an empty list if no native changes are found (OTA is safe).