Changed the applicationId from "org.shadowice.flocke.andotp" to "codes.kumi.andotp" to reflect the new branding and ownership. This may impact existing users with saved data and configurations. Ensure proper migration strategies are followed.
Switched to enabling non-final resource IDs to allow resource overlays and better resource management in large and modularized projects. This will facilitate easier resource modifications without needing recompilation of the entire codebase.
Switched to non-transitive R classes to improve build performance and reduce APK sizes. This change helps to better isolate module dependencies, making the project more maintainable and the builds more efficient. Addresses performance optimization and modular dependency management needs.
Set `android:exported="true"` for MainActivity, PanicResponderActivity, PlainTextBackupBroadcastReceiver, and EncryptedBackupBroadcastReceiver to address changes in Android 12 requirements.
Ensures components can be launched by the system or other applications, making the app compatible with Android 12's stricter component exporting rules.
Switched the build script repository from JCenter to Maven Central as JCenter is being deprecated. This ensures continued access to dependencies and improves future compatibility and support.
Align compileSdkVersion with targetSdkVersion 33. This ensures compatibility with the latest Android features and optimizations. No breaking changes anticipated.
Upgraded target SDK version to 33 and updated app version to 0.9.1.0 with version code 24091700 in line with new release standards. Replaced 'jcenter' with 'mavenCentral' and added an additional Maven repository. Resolves potential build issues due to jcenter shutdown and ensures compatibility with latest Android features.
Upgraded Gradle plugin to version 8.1.0 and updated the wrapper to use Gradle 8.0. Updated build settings to modern standards, including non-final resource IDs and non-transitive R class. Moved lintOptions block to the proper lint configuration block in build.gradle. Removed the redundant package attribute from the AndroidManifest.xml since it's now defined in the namespace block.
These updates address compatibility issues and take advantage of new features and performance improvements provided by the latest Gradle version.
- Updated the Gradle wrapper version from 6.5 to 7.2 to leverage the latest features and improvements.
- Enhanced the Unix `gradlew` script for better POSIX compliance and included a detailed license header.
- Added memory options (`-Xmx64m`, `-Xms64m`) as default JVM options for `gradlew`.
- Changed the Windows `gradlew.bat` script to resolve path issues and include a license header.
- Improved file descriptor handling and argument passing for better reliability.
These changes ensure compatibility with newer Gradle features, improve script reliability, and align with licensing requirements.
This is just a workaround, in the long run we should avoid handling configuration changes on our own and properly recreate the activity instead.
Fixes#592
The Activity#setContentView(int) in CaptureActivity#initializeContent() of super class needs to be called
before getInsetsController(), otherwise NPE will be thrown because the top-level view of
the current Window, containing the window decor, is not yet initialized.
FIXE #806
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>