|
@@ -3,18 +3,16 @@
|
|
|
* @邠心vbe on 2023/02/06
|
|
* @邠心vbe on 2023/02/06
|
|
|
*/
|
|
*/
|
|
|
import React from 'react';
|
|
import React from 'react';
|
|
|
-import { View, Text, ScrollView, StyleSheet, TextInput, Pressable, Image, Linking } from 'react-native';
|
|
|
|
|
|
|
+import { View, ScrollView, StyleSheet, TextInput, Pressable, Image, Linking } from 'react-native';
|
|
|
import apiUser from '../../api/apiUser';
|
|
import apiUser from '../../api/apiUser';
|
|
|
import Button from '../../components/Button';
|
|
import Button from '../../components/Button';
|
|
|
import { PageList } from '../Router';
|
|
import { PageList } from '../Router';
|
|
|
import Dialog from '../../components/Dialog';
|
|
import Dialog from '../../components/Dialog';
|
|
|
-import Modal from 'react-native-modal';
|
|
|
|
|
-import { RegisterDialog } from '../charge/InfoDialog';
|
|
|
|
|
|
|
+import app from '../../../app.json';
|
|
|
import Dropdown from '../../components/Dropdown';
|
|
import Dropdown from '../../components/Dropdown';
|
|
|
import ImagePicker from 'react-native-image-crop-picker';
|
|
import ImagePicker from 'react-native-image-crop-picker';
|
|
|
import apiUpload from '../../api/apiUpload';
|
|
import apiUpload from '../../api/apiUpload';
|
|
|
import { host } from '../../api/http';
|
|
import { host } from '../../api/http';
|
|
|
-import { ModalProps } from '../../components/BottomModal';
|
|
|
|
|
import { CountryDropCode, CountryDropNum, GetCountryList } from '../../components/CountryIcon';
|
|
import { CountryDropCode, CountryDropNum, GetCountryList } from '../../components/CountryIcon';
|
|
|
import StrengthView from './StrengthView';
|
|
import StrengthView from './StrengthView';
|
|
|
import CheckBox from '../../components/CheckBox';
|
|
import CheckBox from '../../components/CheckBox';
|
|
@@ -320,11 +318,11 @@ export default class RegisterV4 extends React.Component {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
toPrivayPolicy() {
|
|
toPrivayPolicy() {
|
|
|
- Linking.openURL("https://stridesmobility.sg/chargeco-privacy-policy")
|
|
|
|
|
|
|
+ Linking.openURL(app.storeUrl.privacyPolicyUrl)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
toUserTerms() {
|
|
toUserTerms() {
|
|
|
- Linking.openURL("https://chargeco.global/terms-of-use")
|
|
|
|
|
|
|
+ Linking.openURL(app.storeUrl.termsUseUrl)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
render() {
|