This is the source code of the e-Bible app for malagasy reader using MG1865 bibe version
# SmartBaibolyYarn
SmartBaibolyYarn is a cross-platform **React Native** application for reading and searching:
- **Bible** (local SQLite database)
- **Hymns** (local SQLite database)
Repository:
-
github.com
## Features
- **Bible reader** (chapters/verses)
- **Hymns reader**
- **Search** for Bible and hymns
- **Offline-first**: content is packaged as SQLite databases under `assets/data/`
- **About screen** with developer/contact info
## Requirements
- Node.js `>= 20` (see `package.json`)
- Yarn (recommended)
- React Native environment:
-
reactnative.dev
## Install
```sh
yarn
```
## Databases (Bible + Hymns)
This project includes prebuilt SQLite databases in:
- `assets/data/BibleMG65.db`
- `assets/data/Hymns.db`
### Building Databases
**Development mode** (uncompressed .db files for faster builds):
```sh
yarn build:database
```
**Production mode** (compressed .zip files for smaller APK/IPA size):
```sh
yarn build:database:prod
```
The production build creates ZIP archives of the databases:
- `BibleMG65.zip` (~60% smaller)
- `Hymns.zip` (~50% smaller)
These are automatically decompressed on first app launch.
To ensure runtime data/assets are set up:
```sh
yarn setup:data
```
## Run
Start Metro:
```sh
yarn start
```
Android:
```sh
yarn android
```
iOS:
```sh
yarn ios
```
For the iOS build pipeline and the manual iCloud backup-exclusion check, see
`docs/ios-ci.md`.
## Useful scripts
- `yarn test`
- `yarn lint`
- `yarn build:database`
- `yarn setup:data`
## Notes / Troubleshooting
### SQLite FTS5
Some builds/environments may not support SQLite FTS5. The app is designed to fall back to non-FTS search when FTS is unavailable.
### Cross-platform paths
If you're working across Windows/macOS/Linux, see:
- `CROSS_PLATFORM_GUIDE.md`
## License
GPL-3.0-or-later. See `LICENSE`.
Copyright (C) 2026 Arotiana Randrianasolo
This program is free software: you can redist …