Android build executes a Cargo compile task in build.gradle.
This creates compiles the rust code and also created flutter rust bindings which are used by both Android and iOS.
As only build.gradle has the trigger to run this task, Android has to be built at-least once so that iOS app can be built and run.
A task is required for iOS so that the same task is executed with iOS build.
Android build executes a Cargo compile task in build.gradle. This creates compiles the rust code and also created flutter rust bindings which are used by both Android and iOS.
As only
build.gradle
has the trigger to run this task, Android has to be built at-least once so that iOS app can be built and run.A task is required for iOS so that the same task is executed with iOS build.
build.gradle task: https://github.com/LtbLightning/bdk-flutter/blob/142772b6aacf8d91524874610877a36da9a5b36c/android/build.gradle#L66