Repository navigation
Release 1.1.0: AGP 9 build, iOS Swift Package Manager support, debug-mode fixes - #13
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates flutter_oewa for current Flutter (3.44 and newer).
Changes
.aaris bundled inside the plugin, so apps no longer need aflatDirrepository.EXCLUDED_ARCHSworkarounds.PlatformException. iOS used to crash, and Android never returned.minSdk24 and iOS 13.