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"; const versionCode = "5.6.0.2"; export const SettingTopPage = ({ testNFC, startPage, setStartPage, updateAndReload, }) => { const { width } = useWindowDimensions(); const { expoPushToken } = useNotification(); const navigation = useNavigation(); return ( navigation.goBack()} style={{ flexDirection: "column", flex: 1, }} > 閉じる アプリの設定画面 内部バージョン: {versionCode} ReleaseChannel: {Updates.channel} このアプリは、四国旅客鉄道株式会社の提供する列車走行位置表示システムを利用し、HARUKIN/Xprocessにより一部の機能を拡張したものです。 このアプリに関するお問い合わせは、HARUKIN/Xprocessにお願いします。くれぐれも四国旅客鉄道株式会社にはお問い合わせしないようにお願いします。 navigation.navigate("setting", { screen: "FavoriteSettings" }) } > お気に入り登録の並び替え navigation.navigate("setting", { screen: "NotificationSettings" }) } disabled={expoPushToken == ""} > 通知設定 {expoPushToken == "" ? "(通知設定をオンにしてください)" : "(β)"} navigation.navigate("setting", { screen: "LayoutSettings" }) } > レイアウト設定 {Platform.OS === "android" ? ( navigation.navigate("setting", { screen: "WidgetSettings" }) } > ウィジェット設定 ) : null} 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")} > 運営Twitter {/* testNFC()}> testNFC */} 設定を保存して再読み込み ); };