-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoptions.js
110 lines (105 loc) · 2.21 KB
/
options.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
import { StyleSheet } from "react-native";
const BASE_URL = "http://localhost:8000";
const REDIRECT_URI = "https://www.crowdbotics.com/";
const CLIENT_ID = "";
const CLIENT_SECRET = "";
const WEBHOOK_URL = `${BASE_URL}/webhook/`; // http://localhost:8000/webhook/
const WEBHOOK_TAG = "cb-module";
const userAgent =
"Mozilla/5.0 (Linux; Android) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.87 Mobile Safari/537.36";
const styles = StyleSheet.create({
formListContainer: {
padding: 10,
backgroundColor: "#FFF",
height: "100%"
},
colouredText: {
color: "grey"
},
responseButton: {
padding: 10,
backgroundColor: "#000",
justifyContent: "center",
alignItems: "center",
borderRadius: 5,
marginTop: 12
},
heading: {
fontSize: 20,
marginVertical: 10,
paddingHorizontal: 10,
color: "#000",
fontWeight: "500",
marginBottom: 20
},
p10: {
padding: 10
},
section: {
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
marginVertical: 15
},
token: {
width: 100,
fontWeight: "bold"
},
date: {
fontWeight: "bold"
},
responseCard: {
justifyContent: "center",
alignItems: "flex-start"
},
question: {
fontWeight: "bold",
fontSize: 16
},
container: {
width: "100%",
height: "100%",
position: "absolute",
justifyContent: "center",
alignItems: "center",
zIndex: 9999
},
loaderContainer: {
width: 40,
height: 40,
borderRadius: 20,
justifyContent: "center",
alignItems: "center",
backgroundColor: "#F5F5F5",
shadowColor: "#000",
elevation: 3
},
card: {
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center"
},
cardContainer: {
shadowColor: "gray",
elevation: 20,
borderLeftWidth: 3,
marginVertical: 5,
backgroundColor: "#fff",
borderRadius: 5,
padding: 10
},
resText: {
color: "#FFF",
fontSize: 16,
fontWeight: "500"
}
});
export default {
styles: styles,
userAgent: userAgent,
REDIRECT_URI: REDIRECT_URI,
CLIENT_ID: CLIENT_ID,
CLIENT_SECRET: CLIENT_SECRET,
WEBHOOK_URL: WEBHOOK_URL,
WEBHOOK_TAG: WEBHOOK_TAG
};