Native source code changes should trigger a warning/error on full restart #16493
Labels
engine
flutter/engine repository. See also e: labels.
waiting for customer response
The Flutter team cannot make further progress on this issue until the original reporter responds
When people change commits either due to merging branches, cherry picking etc there's the potential to bring in changes in files such as manifest, source code, plist etc.
While the flutter engine can survive those changes they will tend to display inconsistent behaviour if dart code needs to communicate with native. And the developer may be completely unaware that native files have changed.
I'd suggest something very obvious, ranging from refusing to update to trigger a full build or flashing something very obvious on the device's screen. Although I think the last alternative is not a good one for a number of reasons: message shown while screen is locked, devices without screens (Android Things doesn't require it) or the trend with foldable displays.
In short,
Stretch goal, tap into AS instant run. But that can get hairy since I still don't fully trust some things it does, and it wont bring benefits in half the cases.
The text was updated successfully, but these errors were encountered: