80 Commits

Author SHA1 Message Date
MohitMaliFtechiz
c5cc0cdd4c Migrated the deprecated detekt rules to new rules.
* Refactored the code according to the new rules of detekt.
2025-03-07 22:57:34 +01:00
MohitMaliFtechiz
e35135fc91 Removed the excluding of dependency from fetch library as now our project has support for Android 15. 2025-01-03 17:06:48 +01:00
MohitMaliFtechiz
ccfc896f02 Enabled EdgeToEdge mode in project to support latest windowInset API. 2025-01-03 17:06:48 +01:00
MohitMaliFtechiz
08c054586a Upgraded the dagger version to 2.53.1.
* Upgraded the ksp version to `2.0.0-1.0.24`.
* Upgraded the kotlin version to `2.0.0`.
* Upgraded the objectbox version to `4.0.3`.
* Removed the deprecated `runBlockingTest` from test cases which was giving compilation error because it is permanently removed in this version of kotlin.
* Replaced some deprecated methods with new methods that is deprecated in latest version of gradle.
* Fixed some string lint issues.
2025-01-03 17:06:48 +01:00
MohitMaliFtechiz
3423bbf671 Added support for Android 15. 2025-01-03 17:06:48 +01:00
MohitMaliFtechiz
2e63d70e6c Fixed: Downloading starts very slowly on Android 14+.
* Upgraded Fetch to 3.4.1.
* Upgraded Kotlin kotlin-stdlib from JDK7 to JDK8.
* Upgraded Kotlin version to 2.0.0 to support the latest Fetch library.
* Upgraded Dagger to 2.53.1.
* Upgraded ObjectBox to 4.0.3.
* Notification now shows "Pause" and "Resume" buttons instead of "pause" and "resume".
* Fixed: Notification buttons were not working on Android 13 and above.
* Fixed: Downloading was not working in the background. Added a foreground service for Fetch so that downloading will continue in the background.
2024-12-23 18:46:32 +05:30
MohitMaliFtechiz
2ddc395267 Added OkHttpDownloader in Fetch. 2024-12-19 21:49:50 +05:30
MohitMaliFtechiz
3ecb55928f Reintroduced the Fetch Library for Downloading ZIM files.
* Removed the DownloadManager from our project.
* Refactored the code, and test cases to use the Fetch library.
2024-12-19 17:04:22 +05:30
MohitMaliFtechiz
e3396901c6 Added Fetch library in our project for downloading the ZIM files. 2024-12-19 11:39:55 +05:30
MohitMaliFtechiz
3ab0dcd8b9 Fixed: AndroidXTracer: java.lang.NoSuchMethodError: No static method forceEnableAppTracing error in UI test cases. 2024-09-13 18:42:37 +05:30
MohitMaliFtechiz
8cd58a8136 Improved the tasks according to the new gradle. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
0b4bc66858 Fixed unit coverage test cases.
* Upgraded the jacoco dependency to `0.8.12`.
* Fixed StartSpeechInputTest was failing.
2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
8c522daa07 Upgraded few dependencies. * Upgraded kotlin to to make it compatible with gradle . * Upgraded dagger to to make it compatible with gradle . * Removed from project since it is not maintained from 2020 and new gradle is not compatible with this library, so we have changed the it with binding. 2024-08-16 15:35:10 +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
MohitMaliFtechiz
0f65ebeff9 Enabled BuildConfig file, since it is by default turened off in new gradle 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
88d828e5ce Removed the fetch library and its code from project.
* Fixed the Downloading for Authentication URL.
2024-08-12 17:14:18 +05:30
MohitMaliFtechiz
cf58340ee8 Removed the BasePageDao and RoomPageDao.
* We have refactored our code to use PageDao for managing data related to Bookmarks, Notes, and History. With the ability to return Flowable from the Room database, the BasePageDao interface has become unnecessary. Consequently, we have removed BasePageDao and streamlined our code to use PageDao, providing a unified approach for these functionalities. This change reduces code complexity and enhances readability, making the codebase easier to understand and maintain.
2024-06-07 06:35:21 +02:00
MohitMaliFtechiz
4898bacbc5 Fixed history was not showing on the HistoryScreen. 2024-05-31 17:03:47 +05:30
MohitMaliFtechiz
c2446d27c4 Refactored the code for saving the history in room database. 2024-05-30 12:21:56 +05:30
MohitMaliFtechiz
0c26f6192d Added Room dependency. 2024-05-29 14:36:59 +05:30
MohitMaliFtechiz
72d1ea3340 Introduced the ContentDescription lint check. 2024-05-20 11:59:06 +05:30
MohitMaliFtechiz
8828a8b917 Fixed: Lint Issue - Unconditional Logging.
* Re-enabled the `LogConditional` lint check.
* Introduced a `Log` class that exclusively handles logging operations in the debug variant.
* Removed unnecessary `if (BuildConfig.DEBUG)` conditions from the project.
2024-03-11 11:46:17 +05:30
MohitMali
a8b41f5b15 Introduce 'MaterialShowCase' feature to provide user education on the file transfer functionality. 2023-10-21 22:03:56 +02:00
MohitMali
11c5b3caa2 Fixed URLConnection not adding headers to the request.
* In this update, we've replaced the `URLConnection` with the OkHttp library, and now headers are being correctly passed in the request. As a result, the Zim file is successfully downloading.
* To integrate OkHttp into our Gradle project, we've moved the OkHttp dependency to our `buildSrc` folder.
2023-10-14 12:48:02 +02:00
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
MohitMaliFtechiz
f45816565e Fixed setting android:extractNativeLibs=false in manifest file is deprecated 2023-06-13 13:11:55 +02:00
MohitMaliFtechiz
41ea7376c5 Replace deprecated exclude method with resources.excludes 2023-05-25 18:13:19 +03:00
MohitMaliFtechiz
c965020ade Upgraded android gradle version to 8.0 2023-03-29 09:14:46 +02:00
MohitMali
7cbc40979a Removed squidb code 2023-01-27 16:15:53 +01:00
MohitMali
f473e7f92e Fixed lint issue CheckResult 2023-01-17 18:42:12 +05:30
MohitMali
e6679bc0d1 Removed deprecated gradle features from the project 2023-01-03 14:35:55 +05:30
MohitMali
fabb6981ee Removed explicit NDK version from project 2022-12-30 14:32:23 +05:30
MohitMali
5ad4e6167a Remove JCenter and update kiwixlib 2022-08-19 16:55:22 +05:30
MohitMali
c9ccfe7cca Remove Play Core Services 2022-08-18 19:23:12 +05:30
MohitMali
3a14a74090 Fix missing architecture in object box 2022-07-26 18:04:17 +02:00
MohitMaliFtechiz
421c5693dc Fix create instrumentation coverage failure 2022-07-01 19:19:44 +02:00
MohitMaliFtechiz
afa6176b59 version change for jacoco and introduce codecov runner 2022-06-20 13:23:57 +05:30
MohitMaliFtechiz
32d672fd72 merging fixes with develop 2022-06-20 13:23:44 +05:30
MohitMali
0ae2610020 moving fetch2 library to jitpack 2022-05-14 07:45:37 +02:00
Gouri Panda
f811915f9c update jacoco version to 0.8.7 2021-06-30 11:17:21 -07:00
Gouri Panda
e311adb704 Updated to LTS NDK version 2021-04-25 18:47:44 -07:00
Emmanuel Engelhart
807b500254 Bump-up NDK version to 22.0.7026061 2021-01-14 11:40:42 +01:00
Sean Mac Gillicuddy
1ac22fdd6c #2471 Custom app splash screen should not display Kiwix logo - add lint config to ignore webp 2020-11-05 11:47:07 +00:00
Sean Mac Gillicuddy
19bd06a460 #2082 Very slow search function - replace RX with Flow 2020-09-22 13:08:00 +01:00
HissPirat
a77454dc8e #2238 moved navigation implementation to AllProjectConfigurer 2020-08-07 11:20:30 +02:00
Sean Mac Gillicuddy
d5b97dbb84 #2149 Fix NDK version - bump version 2020-06-18 15:56:10 +01:00
Sean Mac Gillicuddy
c0a1e6a51f #2128 Upgrade Android Gradle Plugin to 4.0 - bump ndk 2020-06-12 14:37:05 +01:00
Sean Mac Gillicuddy
875aee9373 #2128 Upgrade Android Gradle Plugin to 4.0 - upgrade wrapper - explictly set ndk - upgrade AGP 2020-06-12 14:05:19 +01:00
Sean Mac Gillicuddy
e7d2d58b15 #2110 Zoom controls disappeared in v3.3.1 - fix static analysis 2020-06-10 13:47:28 +01:00