The FAQ Provider allows you to manage and deliver multilingual FAQs dynamically. It uses the same offline-first architecture as the string system.
Features
- Offline-First: FAQs are cached locally in the Room database.
- Tagging: Filter FAQs by tags (e.g., “payments”, “account”) and sub-tags.
- Reactive: Listen for updates using Kotlin Flows.
Initialization
Before using the FAQ Provider, ensure the Stringboot SDK is initialized in yourApplication class:
Usage
Fetching FAQs
UseFAQProvider.getFAQs() to fetch a list of FAQs.
Reactive Flow
UsegetFAQsFlow() to observe changes: