Feedback board in a React Native app
Show your board in a web view or the system browser, sign users in with a token and handle the offline case.
Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.
Install
react-native-webview draws a web page inside your layout on iOS and Android. In an Expo project, install it with the Expo command so the version matches your SDK.
Add one dependency and one screen.
Run npx expo install react-native-webview, then rebuild the dev client if you use one.
The screen needs only the board's public address, which is app.votefirst.app, the language, public/roadmap and the slug of your board. Put the screen behind a settings row or a tab, and visitors can read the board, vote and send a suggestion straight away.
Anyone with the address can vote, so a first version needs no backend work at all. Votes and suggestions land in the same dashboard as any other, and every idea waits for your approval before it shows.
Try the screen on a real phone for each platform before a release. Open it in light and in dark mode, because the board follows the default mode you set in the dashboard. Then send one suggestion, so you see the approval queue fill on the other side.
import { ActivityIndicator } from 'react-native';
import { WebView } from 'react-native-webview';
const BOARD = 'https://app.votefirst.app/en/public/roadmap/your-board';
export default function FeedbackScreen() {
return (
<WebView
source={{ uri: BOARD }}
startInLoadingState
renderLoading={() => <ActivityIndicator style={{ flex: 1 }} />}
/>
);
}Signed in
Your backend signs a short lived token for the person who is logged in, and the app adds it to the address as vf_token.
Fetch a token from your own server first.
Signing users in is on Free and on Pro, and Lite leaves it out. Without a token the board still works for anonymous visitors.
A signed in vote carries the customer's own id, so your dashboard shows which customer asked. The token needs sub, your id for the person, and exp, the time it expires. Add name for a visible name, and email for their profile, where it is never shown to anyone else.
If the request for a token fails, fall back to the plain address instead of blocking the screen. The person can still read and vote, and the next visit tries again.
async function boardAddress(authHeader: string | null): Promise<string> {
if (authHeader === null) return BOARD;
try {
const res = await fetch('https://api.example.com/board-token', {
headers: { Authorization: authHeader },
});
const { token } = await res.json();
return `${BOARD}?vf_token=${encodeURIComponent(token)}`;
} catch {
return BOARD;
}
}Web view or browser
Opening the board in the system browser is a one line change, and it suits anonymous visitors. It is a poorer fit for a signed in address.
Prefer the web view once a token is involved.
A token in a browser address can end up in history, so keep its life short.
The system browser brings its own sign in state, bookmarks and a back button people understand. For a public link with no token, that is a fair trade and needs no new package.
The moment a token sits in the address, the web view is the safer choice. The address stays inside your app, and the token expires within the hour whatever happens to it. Choose a lifetime of an hour or less for tokens that go into any address.
The secret
A secret in a JavaScript bundle can be read by anyone who unpacks the app, and whoever holds it can vote as any customer.
Sign on the server and never bundle the secret.
Rotate the secret in the dashboard if you ever suspect it leaked.
Keep signing in one small endpoint that checks the logged in user and returns a token. Any HMAC algorithm works, and the library you already use for your own tokens will do.
The board reads the token from the address when it loads and sends it with each vote and comment. A wrong, expired or foreign token is refused, and the person keeps the anonymous voter they already had, so a mistake in your signing is never a lockout.
Offline
The board needs a connection. A web view with no network shows its own error, which looks like a broken feature.
Decide what an offline phone sees.
The WebView component can show your message through its error callback.
Give the screen an onError handler that swaps in a short message and a retry button, or check connectivity before you open it. Either way, the person learns that the problem is the connection and not your app.
Nothing is lost when a vote fails. The person taps again when they are back online.
Shipping it
Release emails go to changelog followers, not to voters your token signs in.
Tell people when their idea is live.
Publish the release after both stores have approved the build.
The token still pays off here. Your dashboard names the customer who asked, so you can tell them yourself, and the changelog page opens in the same web view.
Because the same project serves your iOS and Android builds, the combined count shows how many people across both stores want a thing. Check the guide on App Review before you submit a build that lets people post.
Test on a real phone with a poor connection once. A web view that works on office wifi can stall on mobile data, and the loading state is the first thing a person sees. Show a short message while the board loads, and give people a way back to the app if it does not, so a slow network never leaves them stuck on a blank screen.
React Native web view board benefits
One package to add
react-native-webview is the only new dependency.
No second codebase
iOS and Android show the same board from the same code.
Tokens that stay on your server
The app only ever holds a token with a short life.
Add the board in five steps
The first version needs no backend.
Create a board
Pick a slug and note its public roadmap address.
Install the web view
Run the Expo install command and rebuild your dev client.
Add the screen
Load the address and link the screen from settings.
Add the token
Fetch it from your server and append vf_token.
Test offline
Turn the network off and read what the screen says.
Testing both paths
Test the web view with a signed in user and with a signed out one, since the token path and the anonymous path load different states. On the phone, switch to airplane mode and open the screen once, so you know what your users see with no signal.
Keep the sign in token short lived and fetch a fresh one each time the screen opens.
What to know before you ship
- There is no React Native package. Every app uses the address, the widget or the API.
- The board follows its own look and an accent color, not your navigation theme.
- Signing in with a token is not part of Lite.
- The board has no offline mode.
React Native feedback board questions
Is there a React Native package?
No. There is no SDK for React Native. You load the board in a web view, or read cards from the REST API and draw them yourself.
Does it work with Expo?
Yes. Install react-native-webview with the Expo command and use the same component in a managed or a bare project.
Do users need to sign in to vote?
No. Anyone with the address can vote. A signed token links the vote to your own customer.
Which plan signs users in with a token?
The Free plan and Pro at $39/mo. Visitors can read and vote on every plan, Lite included.
How long should a token live?
An hour or less. The board checks it when the page loads and when a vote or comment is sent.
Can the board follow my app's theme?
Not automatically. It draws in its own colors with your accent, so set the accent and default mode in the dashboard.
What if the device is offline?
The board needs a connection. Show your own message from the web view's error callback.
What does it cost?
Free covers one project and 100 votes. Lite is $9/mo and Pro is $39/mo, and either trial runs 14 days with no card.
More ways to add a board
Related guides for mobile teams.
Put the board one tap away
Free covers one project and 100 votes, and a paid trial needs no card. Add the screen today and the first request can arrive tonight.