Debug: Add loading and error screens to diagnose startup issues

This commit is contained in:
2025-10-23 17:20:24 +02:00
parent 051915a2bd
commit 5c68a49824
4 changed files with 248 additions and 8 deletions

32
App.test.tsx Normal file
View File

@@ -0,0 +1,32 @@
import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
export default function App() {
return (
<View style={styles.container}>
<Text style={styles.text}> WalletTracker fonctionne !</Text>
<Text style={styles.subtext}>Si vous voyez ce message, l'app charge correctement.</Text>
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F8F9FA'
},
text: {
fontSize: 24,
fontWeight: 'bold',
color: '#333',
marginBottom: 16
},
subtext: {
fontSize: 16,
color: '#666',
textAlign: 'center',
paddingHorizontal: 32
}
});