7812 Commits

Author SHA1 Message Date
MohitMaliFtechiz
07cca85c95 Improved the CI for using the same emulator. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
040e548391 Removed the canary channel from CI to run the emulator on stable versions.
* Added the emulator boot timeout so that emulator can boot if it takes long in booting.
2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
6a67c8bd5f Improved the CI for running custom app test cases.
* The emulator was not running on API level 25 so now we are directly running the new emulator for this without canary channel.
2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
fce89ef2b3 Updated the CI to run on separate emulator for custom app test cases.
* Upgraded the `uiautomator` version to `2.3.0`.
* Upgraded the `appcompat` version to `1.7.0`.
* Upgraded the coroutines version to `1.8.1`.
* Upgraded the `androidx.test:runner` version to `1.6.1`.
* Upgraded the `androidx.test:core` version to `1.6.1`.
* Upgraded the `androidx.test:orchestrator` version to `1.5.0`.
* Upgraded the `io.mockk:mockk` version to `1.13.12`.
* Upgraded the `org.junit.jupiter:junit-jupiter` version to `5.11.0`.
* Upgraded the `org.assertj:assertj-core` version to `3.26.3`.
* Upgraded the `androidx.annotation:annotation` version to `1.6.0`.
* Improved the SearchStateTest.
* Fixed some deprecated code which is deprecated in new dependencies.
2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
3f7d0f7214 Updated the testing_release.yml to use the JAVA 17.
* Updated the README file to show that now our project requires the JAVA 17 instead of JAVA 11.
* Updated the pre-commit failed message to properly show the error information.
2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
9eebd2b750 Removed the TypographyQuotes issue from lintConfig file since the issue has been fixed on the upstream. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
55d5019b2f Kept the emulator running after creating the instrumentation coverage so that the same emulator can be used for testing custom apps. This will reduce the CI timing since it will not create the new emualtor to run the custom app test cases. 2024-08-16 15:35:10 +00:00
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
23fa4500df Improved the downloading for custom apps.
* Improved the CI to run the test cases for custom app on same emulator.
2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
3d29faf02e Running Android 13 test cases on default apis. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
b3dba69249 Upgraded the webView dependency to 1.11.0 to take advantage of new webView fixes/improvements. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
26bb7c62c1 Fixed all memory leaks in application.
* Improved the LanguageFragmentTest by updating it to no longer wait for the "Off the grid" file, which no longer exists. The test case has been enhanced to check whether the data is loaded without relying on any specific ZIM file name.
2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
79b441b29a Trying to run the android 14 emulator on default apis. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
aed1dd1661 Fixed namespace issue in custom module. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
1e64f37f2d Now we have upgraded the kotlin version of our project so we don't need to exclude the kotlin-stdlib package from libkiwix since we are now using the latest version kotlin. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
132ad353fd Improved the SearchFragmentTest which sometimes failing. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
09070d187b Fixed Instrumentation test cases was failing. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
302580b425 Fixed the CI was not running on emulators. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
bfff033af8 Fixed app_name is not found in core module.
* Fixed some ids are not found in the project.
2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
533ed67f84 Fixed, assemble CI failure.
* After upgrading the gradle to `8.1.3` now it is treating proguard warnings as errors. So to fix this we have modify our proguard rules file.
2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
69ade98e5c Fixed all the compilation issues occurring in instrumentation test cases 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
899bca2389 Fixed namespace error in instrumentation test cases 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
d7a870c562 Suppressed TypographyQuotes lint error after upgrading the gradle. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
2a88bd89d0 Fixed, drawerLayout ids not set in app and custom module. * Fixed memory leak in CoreReaderFragment. * Improved variables and method for better optimization. 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
3cdb7d998d Fixed, ids and string are not found in app and custom module 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
8f6cde05b3 Fixed, package name and R classes not found in custom module 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
1d7cbbd96b FIxed, detekt and lint issues 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
f352d27616 Fixed, coordinatorLayoutStyle, colorOnSurface, colorPrimary not found errors after upgrading the gradle 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
d2f33f8270 Removed butterknife from core module 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
MohitMaliFtechiz
19e18f6276 Configured CI to use Java 17 instead of Java 11 because new gradle version are needed Java 17 to compile the project. 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
MohitMali
2b8f7300f6 Fixed detekt issues. 2024-08-16 15:35:10 +00:00
MohitMali
f066272087 Running the Android 14 test cases with aosp_atd emulators since default apis is not available for Android 14. 2024-08-16 15:35:10 +00:00
Gouri Panda
86b977c950 Add API 34 to default 2024-08-16 15:35:10 +00:00
MohitMaliFtechiz
88a83be01d Updated to Android 14 & refactored some methods inorder to compile with the SDK 14 2024-08-16 15:35:10 +00:00
Kelson
453c1d38ef
Merge pull request #3977 from CalebKL/task/bottom-page-content-cut-bug-fix
Fix bottom page content being cut
2024-08-16 15:34:45 +00:00
CalebK
173db42aa0 updated bottom navigation padding 2024-08-16 18:19:05 +05:30
CalebK
0b954eeaf0 Revert contentFrame padding values 2024-08-16 18:19:05 +05:30
CalebK
f99a68ac37 Bump padding to 40dp 2024-08-16 18:19:05 +05:30
CalebK
d44eb701ab Fix bottom page content being cut 2024-08-16 18:19:05 +05:30
Kelson
d43092f774
Merge pull request #3974 from kiwix/Fixes#3965
Fixed: Dark mode failing on "Astrolabe" homepage.
2024-08-16 10:58:09 +00:00
MohitMaliFtechiz
68137fb363 Fixed: Dark mode failing on "Astrolabe" homepage.
* Removed the unnecessary rule that was inverting the header image. Since the image was already inverted, there is no need to apply the filter again.
* The poster image was being inverted due to the first rule being applied to the poster element, which caused the image and video inside the poster to be inverted. To correct this, a CSS rule is added to prevent the inversion of the poster's image and video.
2024-08-14 12:59:58 +05:30
Kelson
78e63497c9
Merge pull request #3935 from kiwix/Fixes#3141
Replacing the fetch library with Android's DownloadManager.
2024-08-12 18:08:26 +02:00
MohitMaliFtechiz
d34dd376d7 Improved the migration of storage for existing users according to DownloadManager's storage configuration. 2024-08-12 17:47:03 +05:30
MohitMaliFtechiz
c9b43117e6 Removed the fetch library from README file.
* Also, now we are not using fetch library anymore so we have removed this from our credits files.
* Removed the unused code from detekt_baseline.xml file.
2024-08-12 17:15:42 +05:30
CalebK
a267ae835d refactor shouldEnablePauseResumeButtonForPauseReason to clarify functionality of the function 2024-08-12 17:14:18 +05:30