build: ⬆️ upgrade plugin and example sdk and dependencies#85
Open
moazelsawaf wants to merge 1 commit intonateshmbhat:masterfrom
Open
build: ⬆️ upgrade plugin and example sdk and dependencies#85moazelsawaf wants to merge 1 commit intonateshmbhat:masterfrom
moazelsawaf wants to merge 1 commit intonateshmbhat:masterfrom
Conversation
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.
This pull request updates the build system, dependencies, and configuration for both the main
card_scannerplugin and its example app, aligning them with the latest Android, Kotlin, and Flutter standards. It also introduces improvements to code style and project structure, ensuring better compatibility and maintainability.Build System and Dependency Upgrades
2.1.0and Android Gradle Plugin to8.9.1inandroid/build.gradle, switched repository fromjcenter()tomavenCentral(), increasedcompileSdkVersionto36, setndkVersion, and raisedminSdkVersionto24.gradle-8.13-all.zipin both plugin and example apps for consistency with latest Gradle features. [1] [2]gradle.propertiesfiles. [1] [2]example/android/app/build.gradleby using the plugins DSL, updating SDK versions, and removing legacy Flutter SDK checks. [1] [2] [3] [4]settings.gradlein the example app for improved plugin management and repository configuration, using the latest plugin loader approach.Flutter and Dart Environment Updates
^3.9.2and Flutter SDK to>=3.3.0in bothpubspec.yamlfiles, and refreshed dependency versions (e.g.,cupertino_icons,flutter_launcher_icons). [1] [2]pubspec.yamlfiles by removing outdated comments and improving formatting. [1] [2]Code and Manifest Improvements
CardHolderNameFilter.ktby switching fromtoLowerCaseto the more idiomaticlowercase.AndroidManifest.xmlto setandroid:exported="true"for the main activity, ensuring compliance with newer Android requirements.iOS Debugging Enhancements
These changes collectively bring the project up to date with current best practices for Android, Kotlin, and Flutter development, improving compatibility, reliability, and maintainability.