1// You should import Platform module
2// Or use .android.js and .ios.js file extensions
3
4// Example
5import { View, Text, Platform } from 'react-native';
6
7function App() {
8 return (
9 <View style={styles.container}>
10 <Text>I'm a(n) {Platform.OS} device</Text>
11 </View>
12 );
13}
14
15export default App;