Compare commits
2 Commits
e6a8f51f61
...
f7ddb1bec5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7ddb1bec5 | ||
|
|
ebce72e7cd |
@@ -1,12 +1,16 @@
|
||||
{
|
||||
"id": "hot-update-v9-000000000000",
|
||||
"createdAt": "2026-07-20T16:00:00.000Z",
|
||||
"runtimeVersion": "0.1.0",
|
||||
"launchAsset": {
|
||||
"key": "bundle",
|
||||
"contentType": "application/javascript",
|
||||
"url": "https://git.childish-ghost.com/LukeMackin/Yuzu-GCA/releases/download/v0.1.0-dav-android-9/index.android.bundle"
|
||||
},
|
||||
"assets": [],
|
||||
"metadata": {}
|
||||
}
|
||||
"id": "ca582f57-9d65-4831-9d8a-1df3939264c7",
|
||||
"assets": [
|
||||
|
||||
],
|
||||
"createdAt": "2026-07-20T15:48:27.579Z",
|
||||
"metadata": {
|
||||
|
||||
},
|
||||
"runtimeVersion": "0.1.0",
|
||||
"launchAsset": {
|
||||
"contentType": "application/javascript",
|
||||
"key": "bundle",
|
||||
"url": "https://git.childish-ghost.com/LukeMackin/Yuzu-GCA/releases/download/v0.1.0-dav-android-10/index.android.bundle"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,2 +1,2 @@
|
||||
#Mon Jul 20 23:15:14 CST 2026
|
||||
#Tue Jul 21 00:19:27 CST 2026
|
||||
gradle.version=8.10.2
|
||||
|
||||
Binary file not shown.
@@ -3,5 +3,7 @@
|
||||
|
||||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
||||
|
||||
<application android:usesCleartextTraffic="true" tools:targetApi="28" tools:ignore="GoogleAppIndexingWarning" tools:replace="android:usesCleartextTraffic" />
|
||||
<application android:usesCleartextTraffic="true" tools:targetApi="28" tools:ignore="GoogleAppIndexingWarning" tools:replace="android:usesCleartextTraffic">
|
||||
<meta-data android:name="expo.modules.updates.ENABLED_IN_DEVELOPMENT" android:value="true" />
|
||||
</application>
|
||||
</manifest>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2,12 +2,41 @@ var React = require("react");
|
||||
var View = require("react-native").View;
|
||||
var Text = require("react-native").Text;
|
||||
var AppRegistry = require("react-native").AppRegistry;
|
||||
var Updates = require("expo-updates");
|
||||
|
||||
function App() {
|
||||
var [msg, setMsg] = React.useState("checking...");
|
||||
|
||||
React.useEffect(function() {
|
||||
async function check() {
|
||||
try {
|
||||
var rv = Updates.runtimeVersion || "empty";
|
||||
var ch = Updates.channel || "default";
|
||||
var id = Updates.updateId || "none";
|
||||
var emb = Updates.isEmbeddedLaunch ? "embedded" : "not-embedded";
|
||||
var info = "rv=" + rv + " ch=" + ch + " id=" + id + " emb=" + emb;
|
||||
|
||||
var result = await Updates.checkForUpdateAsync();
|
||||
if (result.isAvailable) {
|
||||
info += "\nUPDATE AVAILABLE! downloading...";
|
||||
await Updates.fetchUpdateAsync();
|
||||
info += "\ndownloaded. Restart app.";
|
||||
await Updates.reloadAsync();
|
||||
} else {
|
||||
info += "\nno update available";
|
||||
}
|
||||
setMsg(info);
|
||||
} catch(e) {
|
||||
setMsg("Error: " + e.message);
|
||||
}
|
||||
}
|
||||
check();
|
||||
}, []);
|
||||
|
||||
return React.createElement(View, {style: {flex:1,backgroundColor:"#0f172a",alignItems:"center",justifyContent:"center"}},
|
||||
React.createElement(Text, {style: {fontSize:28,fontWeight:"800",color:"#e2e8f0"}}, "Yuzu GCA"),
|
||||
React.createElement(Text, {style: {fontSize:14,color:"#64748b",marginTop:8}}, "v0.1.0-dav-android-9"),
|
||||
React.createElement(Text, {style: {fontSize:12,color:"#3b82f6",marginTop:16}}, "expo-updates active")
|
||||
React.createElement(Text, {style: {fontSize:14,color:"#64748b",marginTop:8}}, "v0.1.0-dav-android-10"),
|
||||
React.createElement(Text, {style: {fontSize:10,color:"#3b82f6",marginTop:8,textAlign:"center"}}, msg)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
BIN
screen2.png
Normal file
BIN
screen2.png
Normal file
Binary file not shown.
Reference in New Issue
Block a user