Commit 16ea3c73 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

seting margin account

parent d2d6dbb9
......@@ -404,7 +404,7 @@ class Account extends React.Component {
)
}
<View style={{ flex: 1, marginBottom: 10 }}>
<View style={{ flex: 1, marginBottom:20,marginTop:25 }}>
<TouchableOpacity onPress={() => this.handleSettings()}>
{Platform.OS === 'ios' ? (
<Text style={{ color: 'grey', fontSize: 12, textAlign: 'center' }}>Version {Constants.manifest.version} Build {Constants.manifest.ios.buildNumber}</Text>
......
......@@ -57,7 +57,7 @@ class Cameras extends React.Component {
takePictureSelfie = async () => {
if (this.camera) {
let photo = await this.camera.takePictureAsync({ skipProcessing: true });
let photo = await this.camera.takePictureAsync({ skipProcessing: true,quality:0.1});
let photo_img = photo.uri;
const base64 = await FileSystem.readAsStringAsync(photo_img, { encoding: 'base64' });
// var set_photo = photo.replace('uri','')
......@@ -74,7 +74,7 @@ class Cameras extends React.Component {
takePictureIdCard = async () => {
if (this.camera) {
let photo = await this.camera.takePictureAsync({ skipProcessing: true });
let photo = await this.camera.takePictureAsync({ skipProcessing: true,quality:0.1 });
let photo_img = photo.uri;
const base64 = await FileSystem.readAsStringAsync(photo_img, { encoding: 'base64' });
// var set_photo = photo.replace('uri','')
......@@ -106,6 +106,7 @@ class Cameras extends React.Component {
this.props.setUriSelfi(UriProps);
this.props.setpickimageSelfieProps(setpickSelfie);
this.props.navigation.navigate("Upgrade Premium")
console.log("INI BASE 64 : "+ base64)
//false
} else {
let result = await ImagePicker.launchImageLibraryAsync({
......
......@@ -179,6 +179,8 @@ class UpgradePremium extends React.Component {
'',
response.msg,
)
// console.log("INI BASE64 SELFI :" + URI)
// console.log("INI BASE64 ID :" + URI_IDCARD)
this.setState({
spinner: false,
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment