Skip to content

Release 1.1.0: AGP 9 build, iOS Swift Package Manager support, debug-mode fixes - #13

Merged
burlakovzp merged 2 commits into
mainfrom
feat/1.1.0-agp9-spm
Dec 1, 2026
Merged

burlakovzp merged 2 commits into
mainfrom
feat/1.1.0-agp9-spm

Conversation

@burlakovzp

@burlakovzp burlakovzp commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Updates flutter_oewa for current Flutter (3.44 and newer).

Changes

  • Android: the plugin build now uses AGP 9 and the Kotlin DSL. The OEWA .aar is bundled inside the plugin, so apps no longer need a flatDir repository.
  • iOS: adds Swift Package Manager support and a privacy manifest. CocoaPods still works, and Apple Silicon simulators no longer need EXCLUDED_ARCHS workarounds.
  • Debug mode only turns on in debug builds. Android used to enable SDK debug logging in every build.
  • Missing method-channel arguments now throw a PlatformException. iOS used to crash, and Android never returned.
  • Requires Flutter 3.44, Android minSdk 24 and iOS 13.
  • Updated the example app and the README. CI now tests Flutter 3.44, 3.47 and 3.50, and builds the example for Android and iOS.

Android
- Move the plugin build to AGP 9 and the Kotlin DSL (Java 17,
  compileSdk 36, minSdk 24).
- Unpack the vendored infonlinelib AAR inside the plugin module, so
  apps no longer need a flatDir repository. The build fails if a
  future AAR ships files this step would drop.
- Declare androidx.preference and androidx.localbroadcastmanager,
  which the OEWA SDK uses directly, and remove multidex.
- Pass debugMode through to the SDK. Init used to enable debug
  logging in every build.

iOS
- Add Swift Package Manager support. The xcframework moves to
  ios/flutter_oewa/Frameworks and the Swift sources to
  ios/flutter_oewa/Sources/flutter_oewa.
- Podspec: remove the arm64 simulator exclusion, raise the deployment
  target to iOS 13.0 and set the version to 1.1.0.
- Return INVALID_ARGUMENTS for missing arguments instead of crashing
  on a forced cast.

Dart
- Enable SDK debug mode only in debug builds
  (Oewa.debugModeAllowed defaults to kDebugMode).
- Require Flutter 3.44 / Dart 3.11 and flutter_lints 6.

Also update the example app for Flutter 3.50 and SPM, add Kotlin
and Dart unit tests, and set up the publish workflow with
setup-dart and Flutter 3.50.1.
The PR check installed Flutter 3.13.9, which can no longer resolve the package. It now runs analyze and tests on Flutter 3.44.0 (the lowest supported version), 3.47.9 and 3.50.1, builds the example on Android and iOS, and runs the Kotlin unit tests. The formatting step now fails on unformatted code.

README: install from pub.dev instead of a local path, fix the import lines, list the requirements and note that debug mode only works in debug builds.

EOF
@burlakovzp burlakovzp changed the title Feat/1.1.0 agp9 spm Release 1.1.0: AGP 9 build, iOS Swift Package Manager support, debug-mode fixes Dec 1, 2026
@burlakovzp
burlakovzp merged commit 8e3d7a1 into main Dec 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants