About.tsx 3.81 KB
Newer Older
Thibaut Sardan's avatar
Thibaut Sardan committed
1
// Copyright 2015-2019 Parity Technologies (UK) Ltd.
fro's avatar
fro committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// This file is part of Parity.

// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// Parity is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with Parity.  If not, see <http://www.gnu.org/licenses/>.

import React from 'react';
18
import { Linking, StyleSheet, Text, View } from 'react-native';
19
20
21
22

import colors from 'styles/colors';
import fonts from 'styles/fonts';
import CustomScrollview from 'components/CustomScrollView';
fro's avatar
fro committed
23
24

export default class About extends React.PureComponent {
25
	render(): React.ReactElement {
26
		return (
27
28
29
30
			<CustomScrollview
				containerStyle={styles.body}
				contentContainerStyle={{ padding: 20 }}
			>
31
				<Text style={styles.title}>PARITY SIGNER</Text>
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
				<View>
					<Text style={styles.text}>
						The Parity Signer mobile application is a secure air-gapped wallet
						developed by Parity Technologies. It allows users to use a
						smartphone as cold storage.
					</Text>
					<Text style={styles.text}>
						This application is meant to be used on a phone that will remain
						offline at any point in time. To upgrade the app, you need to make
						sure you backup your accounts (e.g by writing the recovery phrase on
						paper), then factory reset the phone, then install Parity Signer's
						new version either from the store (iPhone or android) or from a sd
						card, and finally turn your phone offline for good before recoveing
						or generating new accounts.
					</Text>
					<Text style={styles.text}>
						Any data transfer from or to the App will happen using QR code
						scanning. By doing so, the most sensitive piece of information, the
						private keys, will never leave the phone. The Parity Signer mobile
						app can be used to store Ethereum or Kusama accounts. This includes
						ETH, ETC or Ether from various testnets (Kovan, Ropsten…) as well as
						KSMs.
					</Text>
					<Text style={styles.text}>
						This app does not send any data to Parity Technologies or any
						partner. The app works entirely offline once installed.
					</Text>
					<Text style={styles.text}>
						The code of this application is available on Github (
						<Text
							style={[styles.text, { textDecorationLine: 'underline' }]}
63
							onPress={(): Promise<any> =>
64
65
66
67
68
69
70
71
72
73
74
75
								Linking.openURL('https://github.com/paritytech/parity-signer')
							}
						>
							{'https://github.com/paritytech/parity-signer'}
						</Text>
						) and licensed under GNU General Public License v3.0.
					</Text>
					<Text style={styles.text}>
						Find on the Parity Signer wiki more information about this
						application as well as some tutorials:
						<Text
							style={[styles.text, { textDecorationLine: 'underline' }]}
76
							onPress={(): Promise<any> =>
77
78
79
80
81
82
83
84
85
86
								Linking.openURL(
									'https://wiki.parity.io/Parity-Signer-Mobile-App'
								)
							}
						>
							{' https://wiki.parity.io/Parity-Signer-Mobile-App'}
						</Text>
						.
					</Text>
				</View>
87
			</CustomScrollview>
88
89
		);
	}
fro's avatar
fro committed
90
91
92
}

const styles = StyleSheet.create({
93
94
95
96
97
98
99
100
101
102
103
	body: {
		backgroundColor: colors.bg,
		flex: 1,
		flexDirection: 'column',
		overflow: 'hidden'
	},
	bottom: {
		flexBasis: 50,
		paddingBottom: 15
	},
	text: {
Hanwen Cheng's avatar
Hanwen Cheng committed
104
		color: colors.bg_text_sec,
105
106
107
108
109
110
111
112
113
114
115
116
117
		fontFamily: fonts.regular,
		fontSize: 14,
		marginBottom: 20
	},
	title: {
		color: colors.bg_text_sec,
		fontFamily: fonts.bold,
		fontSize: 18,
		paddingBottom: 20
	},
	top: {
		flex: 1
	}
fro's avatar
fro committed
118
});