EXPO VER 2 - Ensure uploads are unique.
This commit is contained in:
1
app.json
1
app.json
@@ -3,6 +3,7 @@
|
||||
"name": "ImEX Mobile",
|
||||
"slug": "imexmobile",
|
||||
"version": "1.2.0",
|
||||
"extra": { "expover": "2" },
|
||||
"orientation": "default",
|
||||
"icon": "./assets/logo192noa.png",
|
||||
"ios": {
|
||||
|
||||
@@ -21,9 +21,10 @@ export default function ScreenSettingsComponent() {
|
||||
>
|
||||
<Title>
|
||||
{t("settings.labels.version", {
|
||||
number: Constants.manifest.version,
|
||||
number: `${Constants.manifest.version}-${Constants.manifest.extra.expover}`,
|
||||
})}
|
||||
</Title>
|
||||
|
||||
<Text>{Updates.releaseChannel}</Text>
|
||||
<SignOutButton />
|
||||
<Button title="Purge State" onPress={() => purgeStoredState()} />
|
||||
|
||||
@@ -5,7 +5,13 @@
|
||||
"android": "expo start --android",
|
||||
"ios": "expo start --ios",
|
||||
"web": "expo start --web",
|
||||
"eject": "expo eject"
|
||||
"eject": "expo eject",
|
||||
"release:test": "expo publish --release-channel test",
|
||||
"release:production": "expo publish --release-channel production",
|
||||
"build:ios:production": "expo build:ios --release-channel production",
|
||||
"build:ios:test": "expo build:ios --release-channel test",
|
||||
"build:android:production": "expo build:android --release-channel production",
|
||||
"build:android:test": "expo build:android --release-channel test"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apollo/client": "^3.3.19",
|
||||
|
||||
@@ -22,7 +22,7 @@ export const handleUpload = async (ev, context) => {
|
||||
let key = `${bodyshop.id}/${jobId}/${(filename || newFile.data.name).replace(
|
||||
/\.[^/.]+$/,
|
||||
""
|
||||
)}`;
|
||||
)}-${new Date().getTime()}`;
|
||||
|
||||
const res = await uploadToCloudinary(
|
||||
key,
|
||||
|
||||
Reference in New Issue
Block a user