BookNest still forgets things it should keep: reading notes vanish when the modal closes (Reading Notes Screen), and the appearance choice from NativeWind resets on every launch. This section gives each kind of data the right store, then goes below JavaScript: it writes a Turbo Native Module and an Expo 6,418 Module in Kotlin, keeps both alive through expo prebuild with a config plugin, and uses the Expo Module to pin a book to the home screen. Each native change needs a new development build.
Subsections
- Local Storage Options Compared
- AsyncStorage
- MMKV
- SQLite with expo-sqlite
- Secure Storage for Secrets
- Native Modules
- Turbo Module Architecture
- Spec Files
- Running Codegen
- Kotlin Turbo Module
- Calling Native Modules
- The Expo Modules API
- Expo Modules in Kotlin
- Expo vs Turbo Modules
- Prebuild and CNG
- Config Plugins
- Bare Workflow
- BookNest Native Module