MohitMaliFtechiz 677a481ef5 Fixed: Opening ZIM file from history that does not exist in fileSystem leads to execpected UI behavior (When already a ZIM file opened in the reader).
* The issue occurs because we are not opening the zim file in the reader because it does not exist in the fileSystem but we are loading the saved URL in webView of that file which does not exist. So when we are switching between fragments then we are opening the previously saved zim file but with the wrong URL which leads to this unexpected behavior. So to fix this we are closing the previously opened book if the new zim file does not exist in the fileSystem.
2024-03-22 03:27:22 +01:00
2020-10-07 13:14:51 +03:00
2024-03-22 03:21:58 +01:00
2019-07-26 10:40:54 +01:00
2022-06-11 16:11:21 +02:00
2023-05-23 15:58:02 +02:00
2022-09-12 10:27:03 +02:00
2024-03-22 03:23:39 +01:00
2024-01-08 14:26:22 +05:30
2020-11-01 22:10:48 +05:30
2019-08-27 12:30:15 +01:00
2024-01-05 19:37:07 +05:30
2018-01-18 14:37:37 +01:00
2015-06-07 15:19:01 +02:00

Get it on Google Play Get it on F-Droid

Kiwix Android

Kiwix is an offline reader for Web content. One of its main purposes is to make Wikipedia available offline. This is done by reading the content of a file in the ZIM format, a highly compressed open format with additional metadata.

This is the version for Android, with support versions ranging from 7 to 13 (like mentioned here).

Important Note: Starting from Android 11, the ZIM file picker feature has been restricted in the Play Store variant due to Play Store policies. This means that users running Android 11 and above will not be able to load ZIM files from internal/external storage directly within the app if they have downloaded Kiwix from the Google Play Store. This restriction is in place to comply with the Play Store policies. The Play Store variant of Kiwix does not require the MANAGE_EXTERNAL_STORAGE permission anymore, which is necessary to scan storage and access ZIM files at arbitrary locations. Therefore, the storage scanning & file picking functionalities are not available in this variant anymore. To use the full version of Kiwix and benefit of the ZIM file picker feature, you can download it directly from the official repository or use F-Droid. We understand that this restriction may cause inconvenience, but it is necessary to comply with the Play Store policies and ensure a smooth user experience. We recommend using the official version of the app available on our website to access the complete set of features.

Kiwix Android is written in Kotlin

Build Status Nightly codecov CodeFactor License: GPL v3 Public Chat Slack

Build Instructions

Production releases of the app are built on travis and released automatically

To build this repository alone for development purposes you can simply import the project into Android Studio and the hard work will be done for you. Note here that instead of opening the project, you have to import it. If you prefer to build without Android Studio you must first set up the Android SDK and then run the command: ./gradlew build from the root directory of the project.

Kiwix-Android is a multi-module project, in 99% of scenarios you will want to build the app module in the debug configuration. If you are interested in our custom apps they have their own repo kiwix-android-custom that goes into further detail

Libraries Used

  • Libkiwix - Kotlin/Java binding for the core Kiwix library
  • Dagger 2 - A fast dependency injector for Android and Java
  • Retrofit - Retrofit turns your REST API into a Java interface
  • OkHttp - An HTTP+SPDY client for Android and Java applications
  • Butterknife - View "injection" library for Android
  • Mockito - Most popular Mocking framework for unit tests written in Java
  • RxJava - Reactive Extensions for the JVM a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
  • ObjectBox - Reactive NoSQL Database
  • MockK - Kotlin mocking library that allows mocking of final classes by default.
  • JUnit5 - The next generation of JUnit
  • AssertJ - Fluent assertions for test code
  • Fetch - A customizable file download manager library for Android

Contributing

Before contributing be sure to check out the CONTRIBUTION guidelines.

We currently have a series of automated Unit and Integration tests. These can be run locally and are also run when submitting a pull request.

Communication

Available communication channels:

For more information, please refer to https://wiki.kiwix.org/wiki/Communication.

License

GPLv3 or later, see COPYING for more details.

Description
Languages
Kotlin 98.9%
Shell 0.6%
HTML 0.4%