Back

Is Appwrite Cloud ready for production build ?

  • 0
  • React Native
AzizMr
19 Mar, 2025, 07:34

I create really simple expo app just to get listing todos data from appwrite, its 100% fine when i build it in development profile, but when i try to build using preview profile, the app just blank, nothing showing.

TL;DR
Developers are having issues with Appwrite Cloud when building for production. The app displays correctly in development build but shows as a blank screen in the preview profile.
AzizMr
19 Mar, 2025, 07:37

my code:

export default function Index() { const [todos, setTodos] = useState<any>([]); useEffect(() => { const fetchTodos = async () => { const todos = await getTodos(); if(todos){ setTodos(todos); }

} fetchTodos(); }, []);

return ( <View style={{ flex: 1, justifyContent: "center", alignItems: "center", }} > <Text>Todos:</Text> {todos.length > 0 ? ( todos.map((todo: any) => ( <TouchableOpacity key={todo.$id} style={{ padding: 10 }}> <Text>{todo.title}</Text> </TouchableOpacity> )) ) : ( <ActivityIndicator size="large" /> )}

TypeScript
</View>

); }

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more