When this plugin was being developed, we had no way to make pure Dart implementations for iOS and Android (https://github.com/flutter/flutter/issues/52267). The Android implementation uses MethodChannel, but the iOS implementation is pure Dart. Thus, there was no way to properly register the iOS plugin, and I had to use a workaround to solve this.
When this plugin was being developed, we had no way to make pure Dart implementations for iOS and Android (https://github.com/flutter/flutter/issues/52267). The Android implementation uses MethodChannel, but the iOS implementation is pure Dart. Thus, there was no way to properly register the iOS plugin, and I had to use a workaround to solve this.
This issue has been solved with https://github.com/flutter/flutter/pull/87991, and thus now we have a way to properly register the iOS plugin, so we should do that.