64 Commits

Author SHA1 Message Date
MohitMaliFtechiz
05e231579b Fixed: Compilation issues in unit test cases. The issue was in Gradle itself, which was preventing us from merging or excluding duplicate META-INF files.
* Upgraded Gradle to `8.11.0-alpha03` for better support for Android 16.
* Upgraded the Gradle wrapper to `8.13`, the latest version.
* Fixed: Some deprecated methods in the custom app's Gradle. The new methods for registering tasks are better than the previous ones, which is why Gradle deprecated the older methods.
* Refactored the `createDynamically` task for custom apps according to new gradle.
* Fixed: Some lint and detekt issues.
2025-03-31 15:27:31 +05:30
MohitMaliFtechiz
f34d46cc7b Added target, compileSdkVersion versions since now there are sources available for SDK 36. 2025-03-31 12:11:09 +05:30
MohitMaliFtechiz
5d88048976 Upgraded the org.jetbrains.kotlinx:kotlinx-coroutines-rx3 to version 1.10.1.
* Upgraded the `androidx.test:orchestrator` to version `1.5.1`.
* Upgraded the `androidx.constraintlayout:constraintlayout` to version `2.2.0`.
* Fixed the last lint issue.
2025-03-31 12:11:09 +05:30
MohitMaliFtechiz
fbe7712b03 Added support for Android 16. * Upgraded the AGP to which supports Android 16.
* Replaced the  and  with , and  to add support for Android 16.
2025-03-31 12:11:09 +05:30
MohitMaliFtechiz
6721be1764 Upgraded detekt and ktlint libraries to latest version. 2025-02-21 19:05:43 +05:30
MohitMaliFtechiz
ef5eb5bca8 Disabled the dependencies metadata for Singed APK.
* Added comments in build.gradle.kts file of app module to inform devs why this is required and why we have disable this for APKs.
2025-01-01 14:08:40 +01:00
MohitMaliFtechiz
0278fa8a0c Added test cases to the CI for testing the minified version of the application to prevent this type of error from happening in the future. 2024-09-13 16:59:01 +05:30
MohitMaliFtechiz
d5013674ab Added test cases for CopyMoveFileHandler. 2024-09-05 04:41:04 +00:00
MohitMaliFtechiz
2a9bbe71b3 Resolve namespace issues for compatibility with Gradle 8.0 and above. * In compliance with the requirement to specify a namespace for each module, we have eliminated package names from manifests and introduced namespace declarations in the Gradle files. * Considering the presence of multiple apps in the custom app, we configured the namespace during the creation of product flavors. * To enhance clarity and understanding, comprehensive comments have been added. 2024-08-16 15:35:10 +00:00
MohitMali
f314e70d0c Upgraded Gradle to 8.1.3 * Added the namespace property in the build.gradle file because, in the newer Gradle version, it is necessary to specify the namespace in the build.gradle file instead of declaring it in the manifest file. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
d690475621 Improved the renameTarakFile task to ensure that any string removed from the main file will not be added to the tarask old file. We are removing the tarask file from the project at runtime before building the project. If we keep this file, the project will not build. To fix the lint issue, we have enhanced our Gradle task. 2024-07-24 14:55:57 +05:30
MohitMaliFtechiz
a76cef9cee Introduced new standalone apk for website and nightly.
* Created a new package name for the website and nightly APK so that the playStore does not recognize it and do not show updates for these apks.
* Refactored the release CI to upload the app with this new appId.
2024-07-22 18:37:38 +05:30
MohitMaliFtechiz
a5284afce6 Better naming for for top level function class.
* Using top-level extension function instead of object class function.
2024-07-19 18:56:20 +05:30
MohitMaliFtechiz
882784d0ea Fixed: Automatically publish to PlayStore for internal testing team.
* Implemented a method to automatically generate a unique version code by calculating the number of days from the reference date (July 17, 2024) to the current date and adding this value to the base version code (231101) from the last release.
* Added a workflow that automatically generates the bundle and uploads it to internal testing every Monday at 12:00. This workflow will also trigger under the `internal_testing` tag.
* Since we are implementing this, it is necessary to directly release the bundle to internal testing instead of placing it in draft (to eliminate manual steps), so we have refactored our code accordingly.
2024-07-19 18:55:48 +05:30
MohitMaliFtechiz
ed0ffad86c Uploading nightly APK with released signature.
* Uploading nightly APK with a released signature so that APK can update, if a user downloads the new version of nightly like our released APK.
* Modified the nightly CI for this change.
2024-05-14 15:34:27 +05:30
MohitMaliFtechiz
52fefe7df7 Moved version-related properties from individual build.gradle files to a common configuration file (Config.kt).
* The `Config.kt` now holds the version information we can directly change the versionCode here and it will automatically replace in both gradle files.
* Removed duplicate version configurations from build.gradle files.
2023-11-21 12:44:37 +05:30
MohitMaliFtechiz
c18c9d7bba Fixes for some Lint options have been deprecated in newer Gradle versions.
We have introduced a new method, configureCommonExtension, in the AllProjectConfigurer.kt file since Lint is only available in CommonExtension. This allows us to configure Lint in one place for every module. Previously, we couldn't directly use Lint in the android-library project, but with this approach, we can now configure Lint for the android-library project as well.
2023-06-27 17:22:59 +02:00
Emmanuel Engelhart
a2d4b1f55c
Bump-up version to 3.7.1 2023-06-05 21:55:16 +02:00
Gouri Panda
50d0941fc3 Set playstore track from alpha to internal 2023-06-02 13:13:27 +02:00
MohitMaliFtechiz
f6c00a8eba Update version number for 3.7.0 release 2023-05-12 12:30:05 +05:30
MohitMaliFtechiz
aee9d28d9d
Changed secret key as PLAYSTORE_JSON
We have updated the release.yml file to use the new PLAYSTORE_JSON secret key instead of the google_json secret key that was previously used to get credentials. As part of this update, we have renamed the google.json file to playstore.json for better naming consistency with the new secret key.
2023-04-13 12:57:34 +02:00
MohitMali
7c95941da8 Fixed Translate wiki PR failed to compile application due to tarask string file 2023-01-30 14:39:51 +05:30
MohitMali
7cbc40979a Removed squidb code 2023-01-27 16:15:53 +01:00
MohitMali
cb98558120 Change nightly APK filename 2023-01-11 14:09:26 +01:00
MohitMali
e6679bc0d1 Removed deprecated gradle features from the project 2023-01-03 14:35:55 +05:30
MohitMali
aaba8d1c55 Introduce detecting memory leak on CI 2022-12-19 21:07:16 +01:00
MohitMali
8e53bfaa17 release 3.6.0 2022-07-29 19:35:41 +05:30
MohitMaliFtechiz
392a722f59 fixing lint failue 2022-07-08 17:04:27 +02:00
MohitMaliFtechiz
36d882aed5 Change VERSION_INFO without tag and fix CI failue 2022-07-08 17:04:27 +02:00
Licaon_Kter
a88b949f96 Fix VERSION_INFO formatting
ref: https://github.com/kiwix/kiwix-android/issues/1682#issuecomment-1178822759
2022-07-08 17:04:27 +02:00
MohitMaliFtechiz
18b142eb49 publish version info to download.kiwix.org 2022-07-07 16:56:08 +02:00
MohitMaliFtechiz
2662f6362b generating versionCode and versionName via gradle task 2022-07-07 16:56:08 +02:00
MohitMaliFtechiz
766e997df8 Fix lint error 2022-06-27 20:47:04 +02:00
MohitMaliFtechiz
efdb93ff70 playstore compilation flag 2022-06-27 20:47:04 +02:00
MohitMaliFtechiz
32d672fd72 merging fixes with develop 2022-06-20 13:23:44 +05:30
MohitMali
c0a102a99c remove migrated lib 2022-05-19 06:14:19 +02:00
MohitMali
9f5c58eb64 merging issue resolved 2022-05-19 06:14:19 +02:00
MohitMali
7c2e00a6fd release version 3.5.0 and change log update 2022-05-17 15:01:46 +05:30
MohitMali
2c067fbf80 Migrated squidb dependency JCenter to jitpack 2022-05-16 10:31:57 +05:30
Emmanuel Engelhart
21da4edaaf
Bump-up version to 3.4.5 2022-01-30 16:35:45 +01:00
Gouri Panda
fdafc1757d fixes #2704 play store language issues 2021-09-12 16:01:58 +05:30
Gouri Panda
36a811c0a1
bump app version 2021-09-01 14:30:05 +02:00
gouri-panda
19c07caa59 bump app version 2021-04-05 22:41:25 +05:30
Sean Mac Gillicuddy
8816e11363 bump version 2020-12-15 11:43:19 +00:00
Sean Mac Gillicuddy
705ca88240 bump app version 2020-11-30 08:58:08 +00:00
Sean Mac Gillicuddy
f5786929c3 bump version 2020-10-08 10:39:59 +01:00
Sean Mac Gillicuddy
51af5bfbb4 Rename release to 3,4,0 2020-08-19 11:38:36 +01:00
Sean Mac Gillicuddy
01da2c791c bump app version 2020-08-19 11:03:44 +01:00
Sean Mac Gillicuddy
28bbe37176 bump version 2020-07-15 09:49:33 +01:00
Sean Mac Gillicuddy
0a5f6ae307 fix static analysis 2020-07-06 10:36:55 +01:00