- Expo managed project at apps/mobile/ with TypeScript - Expo Router with 4 tabs: Map, Routes, Activities, Profile - app.config.ts with monorepo experiment, bundle IDs, scheme - Workspace packages linked: api, gpx, i18n, map-core, types - Profile tab imports API_VERSION from @trails-cool/api to verify shared package resolution Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 lines
533 B
TypeScript
17 lines
533 B
TypeScript
import { View, Text, StyleSheet } from "react-native";
|
|
import { API_VERSION } from "@trails-cool/api";
|
|
|
|
export default function ProfileScreen() {
|
|
return (
|
|
<View style={styles.container}>
|
|
<Text style={styles.text}>Profile</Text>
|
|
<Text style={styles.version}>API v{API_VERSION}</Text>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: { flex: 1, justifyContent: "center", alignItems: "center" },
|
|
text: { fontSize: 18, color: "#666" },
|
|
version: { fontSize: 12, color: "#999", marginTop: 8 },
|
|
});
|