183 Commits

Author SHA1 Message Date
MohitMali
d1c84e9555 Removed unnecessary file creation.
* Testing loading files from chunks.
* Removed the `PLAY_ASSET_FILE` file tag from BuildConfig file as now we are using chunks for loading zim file from asset folder.
2023-11-07 19:11:20 +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
53d4ac1847 Fixed version code not found exception while publishing bundle on play store 2023-10-17 15:13:09 +05:30
MohitMali
71f851821a Fixed, uploadBundle method to properly upload bundle on play console instead of APKs 2023-10-17 14:38:20 +05:30
MohitMali
1b87900695 Fixed zim file not found when we try to retrieve it from Play asset delivery to our application.
* We are now storing the zim file name in buildConfig file which we will use when we try to retrieve it later.
* Improved downloading functionality.
2023-10-17 12:28:42 +05:30
MohitMali
4c951de69e Fixed, Unable to upload APK on play store for new apps.
* We have implemented Play Asset Delivery to include the ZIM file within the Android App Bundle (AAB).
* To achieve this, we've created Gradle tasks to automatically download the ZIM file and place it inside the assets folder.
* In order to utilize this asset file, we've refactored our custom application code.
* We haven't removed the functionality of uploading the APK, as this approach remains static for now. Thus, we are retaining both codebases.
2023-10-17 11:07:45 +05:30
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
MohitMali
fff9196337 Started using new libkiwix from new maven repo org.kiwix/libkiwix. 2023-09-18 19:13:20 +02:00
MohitMali
f7517a2272 Minimum SDK version changed to 24: The NDK version in kiwix-build has been upgraded (as mentioned in https://github.com/kiwix/kiwix-build/issues/544). However, to make this upgrade compatible, the minimum SDK version had to be updated to 24 since the NDK version is not compatible with Android API levels below 24. The README.md file has been updated to reflect the new minimum Android support version, which is now Android 7, due to the change in the minimum SDK version. Since the project's minimum SDK version is now 24, some conditions related to Android 23 and 24 have become unused. These unused conditions have been removed, and along with that, the drawable-night-23 and drawable-23 launch_screen.xml files, which were no longer in use, have also been removed. 2023-09-18 19:13:20 +02:00
MohitMali
6e0336ebf7 Using newly published 'libkiwix 1.0.0' from maven 2023-09-18 19:13:20 +02:00
MohitMaliFtechiz
e69499fa03 Removed the relinker dependency from the project, since now we are loading the .so files on the libkiwix side. Enabled the loadICUData method, since now it is fixed on the libkiwix side. Search and server is now starting successfully, but need some refactoring, for that see next commit. 2023-09-18 19:13:20 +02:00
MohitMali
161337a818 Start using libkiwix 11.0.0 from maven, loading wrappers .so files for fixing the jni crash which we have missed loading in libkiwix 2023-09-18 19:13:20 +02:00
MohitMaliFtechiz
aa86a88acb Fixed Auth.kt file using some deprecated method 2023-06-28 18:27:50 +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
Gouri Panda
50d0941fc3 Set playstore track from alpha to internal 2023-06-02 13:13:27 +02:00
MohitMaliFtechiz
2e4bb76cec Fixes of Better communication about min/max SDK/Android version supported 2023-06-01 16:56:52 +02:00
MohitMaliFtechiz
41ea7376c5 Replace deprecated exclude method with resources.excludes 2023-05-25 18:13:19 +03:00
MohitMaliFtechiz
093384d00f Upload apk on play store instead of uploading the app bundle 2023-05-25 17:18:18 +05:30
Shashank
bc98a335b6 fixes codefactor issues 2023-05-24 12:45:41 +05:30
MohitMaliFtechiz
f5d83c2e17 Upgraded test dependencies to support latest emulator
* Upgraded espresso-contrib dependency from 3.3.0 to 3.5.1
* Upgraded espresso-core dependency from 3.5.0 to 3.5.1
* Upgraded espresso-intents dependency from 3.5.0 to 3.5.1
* Upgraded espresso-web dependency from 3.5.0 to 3.5.1
* Upgraded barista dependency from 4.0.0 to 4.3.0
* Upgraded mockk dependency from 1.13.4 to 1.13.5
* Upgraded uiautomator dependency from 2.2.0 to 2.3.0-alpha03
2023-05-04 12:09:40 +02:00
MohitMaliFtechiz
00b2932fc9 Fixes of error in uploading custom apps on play store 2023-04-21 12:41:10 +05:30
MohitMaliFtechiz
6afcc2d192 Removed unused imports 2023-04-19 19:53:49 +02:00
MohitMaliFtechiz
defedb495a Removed deprecated versionCodeOverride and versionNameOverride uses from custom application 2023-04-19 19:53:49 +02:00
MohitMaliFtechiz
fd26fd370b Removing the deprecated method and uploading only the aab file for custom apps on play store 2023-04-19 19:53:49 +02:00
MohitMaliFtechiz
7f38468c31 Upload bundle on playstore instead of apk for custom apps 2023-04-19 19:53:49 +02:00
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
MohitMaliFtechiz
8e136b77c5 Removed extra added ignore lint warnings 2023-03-30 10:25:18 +02:00
Daniel Tang
f0096a63f8 Fix build on Java 19 2023-03-30 10:25:18 +02:00
MohitMaliFtechiz
c965020ade Upgraded android gradle version to 8.0 2023-03-29 09:14:46 +02:00
Daniel Tang
73fbceb387
Remove misleadingly unused library versions 2023-03-19 01:40:17 -04: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
Emmanuel Engelhart
f74c786d2c Fixes format of nightly filename date 2023-01-14 14:41:58 +01:00
MohitMali
d7259e8dd2 Upgraded test dependencies to latest stable version 2023-01-13 12:38:28 +05:30
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
fabb6981ee Removed explicit NDK version from project 2022-12-30 14:32:23 +05:30
MohitMali
aaba8d1c55 Introduce detecting memory leak on CI 2022-12-19 21:07:16 +01:00
MohitMali
5198225972 Enhancement in tests for reducing CI failure 2022-11-18 11:42:37 +05:30
MohitMali
975a4ea854 Update KiwixLib to 10.1.1 2022-09-13 06:42:41 +02:00
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
MohitMaliFtechiz
e1a688ce30 Fixing test cases failure 2022-07-26 18:10:03 +02:00
MohitMaliFtechiz
f69aa3521a make compatibility with android 13 and upgrading espresso 2022-07-26 18:10:03 +02:00
MohitMaliFtechiz
14f1adced2 upgrading navigation and resolve fetch lib errors 2022-07-26 18:10:03 +02:00
MohitMaliFtechiz
c844eb102d Upgradting leak canary 2022-07-26 18:10:03 +02:00
MohitMaliFtechiz
859bc35eaf android 13 targeting 2022-07-26 18:10:03 +02:00
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