App Version 4.2 Release

This commit is contained in:
harukin-DeskMini 2022-06-11 07:54:00 +09:00
parent 2e8e12ba58
commit 71eed8cafd
4 changed files with 23 additions and 5 deletions

View File

@ -694,7 +694,7 @@ const injectJavascriptData = bootData+trainIconMaker+textInsert;
useEffect(()=>{ useEffect(()=>{
AsyncStorage.getItem("status") AsyncStorage.getItem("status")
.then(d=>{ .then(d=>{
if(d != "2022/04/14"){ if(d != "2022/06/11"){
navigate('news'); navigate('news');
} }
}) })

View File

@ -7,7 +7,7 @@
"ios", "ios",
"android" "android"
], ],
"version": "4.1", "version": "4.2",
"orientation": "portrait", "orientation": "portrait",
"icon": "./assets/icon.png", "icon": "./assets/icon.png",
"splash": { "splash": {
@ -22,13 +22,13 @@
"**/*" "**/*"
], ],
"ios": { "ios": {
"buildNumber": "19", "buildNumber": "20",
"supportsTablet": true, "supportsTablet": true,
"bundleIdentifier": "jrshikokuinfo.xprocess.hrkn" "bundleIdentifier": "jrshikokuinfo.xprocess.hrkn"
}, },
"android": { "android": {
"package": "jrshikokuinfo.xprocess.hrkn", "package": "jrshikokuinfo.xprocess.hrkn",
"versionCode": 12, "versionCode": 14,
"permissions": ["ACCESS_FINE_LOCATION"], "permissions": ["ACCESS_FINE_LOCATION"],
"googleServicesFile": "./google-services.json" "googleServicesFile": "./google-services.json"
} }

View File

@ -8,7 +8,7 @@ export default function News(props){
const { navigation: { navigate } } = props; const { navigation: { navigate } } = props;
return( return(
<View style={{height:"100%",backgroundColor:"#0099CC"}}> <View style={{height:"100%",backgroundColor:"#0099CC"}}>
<WebView useWebKit={true} source={{uri: 'https://nexcloud.haruk.in/sites/press-harukin/JRShikokuApps/2022-4-13'}} mixedContentMode={'compatibility'} javaScriptEnabled={true}/> <WebView useWebKit={true} source={{uri: 'https://nexcloud.haruk.in/sites/press-harukin/JRShikokuApps/2022-6-11'}} mixedContentMode={'compatibility'} javaScriptEnabled={true}/>
<TouchableOpacity style={{padding:10,flexDirection:"row",borderColor:"white",borderWidth:1,margin:10,borderRadius:5,alignItems:"center"}} onPress={()=>{AsyncStorage.setItem('status', "2022/04/14");navigate('Apps');}}> <TouchableOpacity style={{padding:10,flexDirection:"row",borderColor:"white",borderWidth:1,margin:10,borderRadius:5,alignItems:"center"}} onPress={()=>{AsyncStorage.setItem('status', "2022/04/14");navigate('Apps');}}>
<View style={{flex:1}} /> <View style={{flex:1}} />
<Text style={{fontSize:25,fontWeight:"bold",color:"white"}}>更新情報を閉じる</Text> <Text style={{fontSize:25,fontWeight:"bold",color:"white"}}>更新情報を閉じる</Text>

18
eas.json Normal file
View File

@ -0,0 +1,18 @@
{
"cli": {
"version": ">= 0.53.1"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {}
},
"submit": {
"production": {}
}
}