Release 1.0.7 - Add version.
This commit is contained in:
1
App.js
1
App.js
@@ -5,7 +5,6 @@ import { Provider } from "react-redux";
|
|||||||
import { PersistGate } from "redux-persist/integration/react";
|
import { PersistGate } from "redux-persist/integration/react";
|
||||||
import * as Sentry from "sentry-expo";
|
import * as Sentry from "sentry-expo";
|
||||||
import ScreenMainComponent from "./components/screen-main/screen-main.component";
|
import ScreenMainComponent from "./components/screen-main/screen-main.component";
|
||||||
import env from "./env";
|
|
||||||
import { logImEXEvent } from "./firebase/firebase.analytics";
|
import { logImEXEvent } from "./firebase/firebase.analytics";
|
||||||
import { client } from "./graphql/client";
|
import { client } from "./graphql/client";
|
||||||
import { persistor, store } from "./redux/store";
|
import { persistor, store } from "./redux/store";
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<babeledit_project be_version="2.7.1" version="1.2">
|
<babeledit_project version="1.2" be_version="2.7.1">
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
BabelEdit project file
|
BabelEdit project file
|
||||||
@@ -4563,6 +4563,32 @@
|
|||||||
<folder_node>
|
<folder_node>
|
||||||
<name>settings</name>
|
<name>settings</name>
|
||||||
<children>
|
<children>
|
||||||
|
<folder_node>
|
||||||
|
<name>labels</name>
|
||||||
|
<children>
|
||||||
|
<concept_node>
|
||||||
|
<name>version</name>
|
||||||
|
<definition_loaded>false</definition_loaded>
|
||||||
|
<description></description>
|
||||||
|
<comment></comment>
|
||||||
|
<default_text></default_text>
|
||||||
|
<translations>
|
||||||
|
<translation>
|
||||||
|
<language>en-US</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
<translation>
|
||||||
|
<language>es-MX</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
<translation>
|
||||||
|
<language>fr-CA</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
</translations>
|
||||||
|
</concept_node>
|
||||||
|
</children>
|
||||||
|
</folder_node>
|
||||||
<folder_node>
|
<folder_node>
|
||||||
<name>titles</name>
|
<name>titles</name>
|
||||||
<children>
|
<children>
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ export default function DataLabelComponent({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<View {...restProps}>
|
<View {...restProps}>
|
||||||
<Text>{label}</Text>
|
<TextInput disabled placeholder={label} />
|
||||||
<TextInput disabled placeholder={theContent} />
|
<Text>{theContent}</Text>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,8 +32,6 @@ export default function JobDocumentsComponent({ job, loading, refetch }) {
|
|||||||
[job.documents]
|
[job.documents]
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log("fullphotos", fullphotos);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={{ flex: 1 }}>
|
<View style={{ flex: 1 }}>
|
||||||
<FlatList
|
<FlatList
|
||||||
|
|||||||
@@ -1,10 +1,27 @@
|
|||||||
|
import Constants from "expo-constants";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
import { Button, View } from "react-native";
|
import { Button, View } from "react-native";
|
||||||
|
import { Title } from "react-native-paper";
|
||||||
import { purgeStoredState } from "redux-persist";
|
import { purgeStoredState } from "redux-persist";
|
||||||
import SignOutButton from "../sign-out-button/sign-out-button.component";
|
import SignOutButton from "../sign-out-button/sign-out-button.component";
|
||||||
export default function ScreenSettingsComponent() {
|
export default function ScreenSettingsComponent() {
|
||||||
|
const { t } = useTranslation();
|
||||||
return (
|
return (
|
||||||
<View>
|
<View
|
||||||
|
style={{
|
||||||
|
flex: 1,
|
||||||
|
display: "flex",
|
||||||
|
alignItems: "center",
|
||||||
|
|
||||||
|
flexDirection: "column",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<Title>
|
||||||
|
{t("settings.labels.version", {
|
||||||
|
number: Constants.manifest.version,
|
||||||
|
})}
|
||||||
|
</Title>
|
||||||
<SignOutButton />
|
<SignOutButton />
|
||||||
<Button title="Purge State" onPress={() => purgeStoredState()} />
|
<Button title="Purge State" onPress={() => purgeStoredState()} />
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
import * as Analytics from "expo-firebase-analytics";
|
|
||||||
import * as firebase from "firebase/app";
|
import * as firebase from "firebase/app";
|
||||||
import "firebase/auth";
|
import "firebase/auth";
|
||||||
import { store } from "../redux/store";
|
|
||||||
|
|
||||||
//const config = JSON.parse(process.env.REACT_APP_FIREBASE_CONFIG);
|
//const config = JSON.parse(process.env.REACT_APP_FIREBASE_CONFIG);
|
||||||
// const config = {
|
// const config = {
|
||||||
|
|||||||
@@ -270,6 +270,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"labels": {
|
||||||
|
"version": "Version {{number}}"
|
||||||
|
},
|
||||||
"titles": {
|
"titles": {
|
||||||
"settings": "Settings"
|
"settings": "Settings"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -270,6 +270,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"labels": {
|
||||||
|
"version": ""
|
||||||
|
},
|
||||||
"titles": {
|
"titles": {
|
||||||
"settings": ""
|
"settings": ""
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -270,6 +270,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"labels": {
|
||||||
|
"version": ""
|
||||||
|
},
|
||||||
"titles": {
|
"titles": {
|
||||||
"settings": ""
|
"settings": ""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user