Resolve image/video issues during upload by using local URI.

This commit is contained in:
Patrick Fic
2021-05-21 08:27:41 -07:00
parent f4b045bc33
commit 5dc046cc39
6 changed files with 39 additions and 16 deletions

View File

@@ -5,8 +5,12 @@ import { Button, View, Text } from "react-native";
import { Title } from "react-native-paper";
import { purgeStoredState } from "redux-persist";
import SignOutButton from "../sign-out-button/sign-out-button.component";
import * as Updates from "expo-updates";
export default function ScreenSettingsComponent() {
const { t } = useTranslation();
console.log(Constants.manifest);
return (
<View
style={{
@@ -22,9 +26,9 @@ export default function ScreenSettingsComponent() {
number: Constants.manifest.version,
})}
</Title>
<Text>{Updates.releaseChannel}</Text>
<SignOutButton />
<Button title="Purge State" onPress={() => purgeStoredState()} />
<Text>Test Channel</Text>
</View>
);
}