import React from "react"; import { View, Text, TouchableOpacity, ScrollView, Linking, Image, Platform, } from "react-native"; import * as Updates from "expo-updates"; import { useWindowDimensions } from "react-native"; import { useNavigation } from "@react-navigation/native"; import { ListItem } from "@rneui/themed"; import TouchableScale from "react-native-touchable-scale"; import { SwitchArea } from "../atom/SwitchArea"; import { useNotification } from "../../stateBox/useNotifications"; import { SheetHeaderItem } from "@/components/atom/SheetHeaderItem"; const versionCode = "6.0.1"; export const SettingTopPage = ({ testNFC, startPage, setStartPage, updateAndReload, }) => { const { width } = useWindowDimensions(); const { expoPushToken } = useNotification(); const navigation = useNavigation(); return ( navigation.goBack(), }} /> 内部バージョン: {versionCode} ReleaseChannel: {Updates.channel} このアプリは、四国旅客鉄道株式会社の提供する列車走行位置表示システムを利用し、HARUKIN/Xprocessにより一部の機能を拡張したものです。 このアプリに関するお問い合わせは、HARUKIN/Xprocessにお願いします。くれぐれも四国旅客鉄道株式会社にはお問い合わせしないようにお願いします。 navigation.navigate("setting", { screen: "FavoriteSettings" }) } /> navigation.navigate("setting", { screen: "NotificationSettings" }) } disabled={expoPushToken == ""} /> navigation.navigate("setting", { screen: "LayoutSettings" }) } /> {Platform.OS === "android" ? ( navigation.navigate("setting", { screen: "WidgetSettings" }) } /> ) : null} navigation.navigate("setting", { screen: "LauncherIconSettings" }) } /> Linking.openURL( "https://nexcloud.haruk.in/sites/press-harukin/JRShikokuApps/policy" ) } /> Linking.openURL("https://nexcloud.haruk.in/s/2WFEN5oLPGtrRqT") } /> Linking.openURL("https://twitter.com/Xprocess_main")} /> {/* testNFC()}> testNFC */} 設定を保存して再読み込み ); }; const SettingList = ({ string, onPress, disabled }) => { return ( {string} ); };