Offline reading and biometric unlock in a native XenForo app

XenForo app offline reading means a member downloads a forum section or a single thread, with its replies, and reads it later without a connection. Biometric unlock lets a returning member open the app with Face ID, Touch ID or a fingerprint instead of signing in. Both run on the phone, which is why a website struggles to offer them.
How does offline reading work in a XenForo app?
The member opens a forum section or a thread and chooses Download for offline reading from its menu. The app fetches the threads and every reply through the API, shows progress while it works, and saves the result on the phone. Later, from the offline library or when the connection drops inside that section, the app opens the saved copy.
In XFMobile, a section download saves the first 20 threads in that forum’s list, each with all of its replies; a single thread can also be saved on its own. If a page of replies fails to load, the whole download is rejected instead of saving a partial copy that looks complete. Offline reading is on by default; administrators can turn it off with the App: offline reading option in Suite, and installed apps follow without a rebuild.
What still needs a connection?
Everything that changes the forum or depends on fresh data. Posting a reply, reacting, voting in a poll, sending a message and loading posts that arrived after the download all happen on your XenForo server. A saved copy is a snapshot from the moment of download, so the app labels offline reading as possibly out of date.
| Action | Offline? | Why |
|---|---|---|
| Read a downloaded thread and its replies | Yes | Saved on the phone |
| Browse the offline library | Yes | The library is part of the app |
| See replies posted after the download | No | They exist only on the server until the next download |
| Reply, react or vote | No | These actions change the forum |
| Images the phone never loaded | Not always | The download saves posts, not every image file |
Can a website offer the same offline reading?
Only partly. A browser can keep pages a member already visited, but the browser may clear that storage, and a cached page is a snapshot of your web theme rather than a set of sections the member chose to keep. A native app owns its storage and can present saved discussions as a library.
That gap is one of the clearer ways to tell a native app from a WebView: switch on airplane mode and see what is left.
What happens to downloads from private forums?
They are fetched with the member’s own permissions, so a private or staff forum can end up on the phone. In XFMobile, every offline download is deleted when the member signs out, so the next person who signs in on that phone does not see them. Members can also remove single downloads from the library to free space.
Tell staff members about this in plain words. Anything a moderator downloads from a staff-only forum sits on their phone until they delete it or sign out.
How does biometric unlock work?
The member signs in once with their forum account, then turns on biometric unlock in the app’s settings. On later launches the phone shows its Face ID, Touch ID or fingerprint prompt, and the saved session opens only if the check passes. On iPhone this uses Apple’s Local Authentication framework; on Android, the system biometric prompt.
In our app the switch is off by default and only appears when the phone supports biometrics and has a face or fingerprint enrolled. The session token itself is kept in the iPhone Keychain or, on Android, encrypted with a key held in the Keystore, as described in the XenForo REST API guide.
Does the app ever see the member’s fingerprint or face?
No. The operating system performs the match. Apple’s platform security guide says Face ID and Touch ID data stays in the Secure Enclave and that apps are told only whether authentication succeeded. Android’s biometric prompt works the same way from the app’s side. The app receives a yes or a no, never an image.
Does biometric unlock replace the forum password or two-step verification?
No. It is a convenience lock on a session that already exists on that phone. Your forum password, XenForo’s two-step verification and your moderation rules stay as they are. A member who signs out, reinstalls the app or moves to a new phone signs in with their normal credentials again.
How do you introduce both features to members?
Members rarely open settings by themselves. After launch, post a short announcement with three screenshots: where Download for offline reading sits in a forum’s menu, where the offline library is, and how to turn on biometric unlock. Pin it for a few weeks so moderators can link to it when someone asks.
Both features are part of every XFMobile build, and the Flutter article explains how they reach the phone’s own security and storage on each platform.
Frequently asked questions
Does offline reading update automatically?
No. A saved section or thread stays exactly as it was when the member downloaded it, and the app marks offline reading as possibly out of date. To refresh it, the member downloads the same section or thread again while online, and the new copy replaces the old one in the library.
How much storage does offline reading use?
It depends on the threads. A saved copy holds thread and post data rather than whole web pages, so text-heavy sections stay small. The offline library shows the number of threads and the size of each download, which lets members find and delete the large ones when their phone runs short of space.
What happens if Face ID or the fingerprint check fails?
The phone can fall back to its own passcode or PIN. If that also fails or the member cancels, the app opens without signing in for that launch and the saved session is kept, not deleted. The member can try biometrics again next time or sign in with their forum password.
Do offline reading and biometric unlock work on iPhone and Android?
Yes. Both features run on iPhone and Android. Biometric unlock uses whatever the phone supports, Face ID or Touch ID on iPhone and the fingerprint or face prompt on Android, and the switch only appears in settings when the phone has a biometric method set up.