react-native-persona 1.2.8 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/RNPersonaInquiry.podspec +1 -1
  3. package/android/README.md +14 -0
  4. package/android/build.gradle +21 -100
  5. package/lib/commonjs/index.js +477 -0
  6. package/lib/commonjs/index.js.map +1 -0
  7. package/lib/commonjs/util.js +36 -0
  8. package/lib/commonjs/util.js.map +1 -0
  9. package/lib/commonjs/util.spec.js +31 -0
  10. package/lib/commonjs/util.spec.js.map +1 -0
  11. package/lib/module/index.js +452 -0
  12. package/lib/module/index.js.map +1 -0
  13. package/lib/module/util.js +29 -0
  14. package/lib/module/util.js.map +1 -0
  15. package/lib/module/util.spec.js +28 -0
  16. package/lib/module/util.spec.js.map +1 -0
  17. package/lib/typescript/persona-tools/Config.d.ts +15 -0
  18. package/lib/typescript/persona-tools/Theme.d.ts +124 -0
  19. package/lib/typescript/persona-tools/index.d.ts +1 -0
  20. package/lib/typescript/persona-tools/lib/AndroidResourcePrinter.d.ts +40 -0
  21. package/lib/typescript/persona-tools/lib/AndroidResourcePrinter.spec.d.ts +1 -0
  22. package/lib/typescript/persona-tools/lib/prompts.d.ts +8 -0
  23. package/lib/typescript/persona-tools/tools/AndroidThemeGenerator.d.ts +5 -0
  24. package/lib/typescript/persona-tools/tools/IosThemeInstructions.d.ts +5 -0
  25. package/{generatedTypes → lib/typescript/src}/index.d.ts +67 -3
  26. package/lib/typescript/src/util.d.ts +3 -0
  27. package/lib/typescript/src/util.spec.d.ts +1 -0
  28. package/package.json +79 -21
  29. package/persona-tools/{config.ts → Config.ts} +7 -7
  30. package/persona-tools/Theme.ts +140 -138
  31. package/persona-tools/index.ts +9 -9
  32. package/persona-tools/lib/AndroidResourcePrinter.spec.ts +100 -101
  33. package/persona-tools/lib/AndroidResourcePrinter.ts +314 -278
  34. package/persona-tools/lib/prompts.ts +11 -11
  35. package/persona-tools/tools/AndroidThemeGenerator.ts +31 -32
  36. package/persona-tools/tools/IosThemeInstructions.ts +8 -8
  37. package/src/index.ts +17 -18
  38. package/src/util.spec.ts +14 -8
  39. package/src/util.ts +3 -3
  40. package/jest.config.js +0 -10
  41. package/persona-tools/Theme.js +0 -213
  42. package/persona-tools/config.js +0 -72
  43. package/persona-tools/index.js +0 -30
  44. package/persona-tools/lib/AndroidResourcePrinter.js +0 -832
  45. package/persona-tools/lib/AndroidResourcePrinter.spec.js +0 -1135
  46. package/persona-tools/lib/prompts.js +0 -39
  47. package/persona-tools/tools/AndroidThemeGenerator.js +0 -59
  48. package/persona-tools/tools/IosThemeInstructions.js +0 -34
  49. package/src/index.js +0 -307
  50. package/src/util.js +0 -29
  51. package/src/util.spec.js +0 -15
  52. package/tsconfig.json +0 -29
@@ -1,135 +1,135 @@
1
- import Table from "cli-table";
2
- import chalk from "chalk";
1
+ import Table from 'cli-table';
2
+ import chalk from 'chalk';
3
3
 
4
- import Config from "./config";
4
+ import Config from './Config';
5
5
 
6
6
  const COLOR_REGEX = /^[a-zA-Z0-9]{6}$/;
7
7
 
8
8
  export enum ANDROID_THEME_CONFIG_KEY {
9
- backgroundColor = "backgroundColor",
10
- primaryColor = "primaryColor",
11
- darkPrimaryColor = "darkPrimaryColor",
12
- accentColor = "accentColor",
9
+ backgroundColor = 'backgroundColor',
10
+ primaryColor = 'primaryColor',
11
+ darkPrimaryColor = 'darkPrimaryColor',
12
+ accentColor = 'accentColor',
13
13
 
14
- titleTextColor = "titleTextColor",
15
- titleTextFont = "titleTextFont",
16
- titleTextSize = "titleTextSize",
14
+ titleTextColor = 'titleTextColor',
15
+ titleTextFont = 'titleTextFont',
16
+ titleTextSize = 'titleTextSize',
17
17
 
18
- bodyTextColor = "bodyTextColor",
19
- bodyTextFont = "bodyTextFont",
20
- bodyTextSize = "bodyTextSize",
18
+ bodyTextColor = 'bodyTextColor',
19
+ bodyTextFont = 'bodyTextFont',
20
+ bodyTextSize = 'bodyTextSize',
21
21
 
22
- footnoteTextColor = "footnoteTextColor",
23
- footnoteTextFont = "footnoteTextFont",
22
+ footnoteTextColor = 'footnoteTextColor',
23
+ footnoteTextFont = 'footnoteTextFont',
24
24
  footnoteTextSize = 'footnoteTextSize',
25
25
 
26
- cameraInstructionsTextColor = "cameraInstructionsTextColor",
27
- cameraInstructionsTextFont = "cameraInstructionsTextFont",
28
- cameraInstructionsTextSize = "cameraInstructionsTextSize",
26
+ cameraInstructionsTextColor = 'cameraInstructionsTextColor',
27
+ cameraInstructionsTextFont = 'cameraInstructionsTextFont',
28
+ cameraInstructionsTextSize = 'cameraInstructionsTextSize',
29
29
 
30
- cameraHintTextColor = "cameraHintTextColor",
31
- cameraHintTextFont = "cameraHintTextFont",
32
- cameraHintTextSize = "cameraHintTextSize",
30
+ cameraHintTextColor = 'cameraHintTextColor',
31
+ cameraHintTextFont = 'cameraHintTextFont',
32
+ cameraHintTextSize = 'cameraHintTextSize',
33
33
 
34
- cameraGuideHintTextColor = "cameraGuideHintTextColor",
35
- cameraGuideHintTextFont = "cameraGuideHintTextFont",
36
- cameraGuideHintTextSize = "cameraGuideHintTextSize",
34
+ cameraGuideHintTextColor = 'cameraGuideHintTextColor',
35
+ cameraGuideHintTextFont = 'cameraGuideHintTextFont',
36
+ cameraGuideHintTextSize = 'cameraGuideHintTextSize',
37
37
 
38
38
  // formLabelTextColor = "formLabelTextColor",
39
39
  // formLabelTextFont = "formLabelTextFont",
40
40
 
41
- textFieldTextColor = "textFieldTextColor",
42
- textFieldTextFont = "textFieldTextFont",
41
+ textFieldTextColor = 'textFieldTextColor',
42
+ textFieldTextFont = 'textFieldTextFont',
43
43
 
44
- pickerTextColor = "pickerTextColor",
45
- pickerTextFont = "pickerTextFont",
44
+ pickerTextColor = 'pickerTextColor',
45
+ pickerTextFont = 'pickerTextFont',
46
46
 
47
- buttonBackgroundColor = "buttonBackgroundColor",
48
- buttonDisabledBackgroundColor = "buttonDisabledBackgroundColor",
49
- buttonTouchedBackgroundColor = "buttonTouchedBackgroundColor",
50
- buttonTextColor = "buttonTextColor",
51
- buttonDisabledTextColor = "buttonDisabledTextColor",
47
+ buttonBackgroundColor = 'buttonBackgroundColor',
48
+ buttonDisabledBackgroundColor = 'buttonDisabledBackgroundColor',
49
+ buttonTouchedBackgroundColor = 'buttonTouchedBackgroundColor',
50
+ buttonTextColor = 'buttonTextColor',
51
+ buttonDisabledTextColor = 'buttonDisabledTextColor',
52
52
  // buttonTextAlignment = "buttonTextAlignment",
53
- buttonCornerRadius = "buttonCornerRadius",
54
- buttonFont = "buttonFont",
55
- buttonTextSize = "buttonTextSize",
56
- progressColor = "progressColor",
57
- successAsset = "successAsset",
58
- failAsset = "failAsset",
59
- loadingAnimationAsset = "loadingAnimationAsset",
60
- loadingAnimationWidthPercent = "loadingAnimationWidthPercent",
61
- selfieAnimationAsset = "selfieAnimationAsset",
62
- selfieAnimationWidthPercent = "selfieAnimationWidthPercent"
53
+ buttonCornerRadius = 'buttonCornerRadius',
54
+ buttonFont = 'buttonFont',
55
+ buttonTextSize = 'buttonTextSize',
56
+ progressColor = 'progressColor',
57
+ successAsset = 'successAsset',
58
+ failAsset = 'failAsset',
59
+ loadingAnimationAsset = 'loadingAnimationAsset',
60
+ loadingAnimationWidthPercent = 'loadingAnimationWidthPercent',
61
+ selfieAnimationAsset = 'selfieAnimationAsset',
62
+ selfieAnimationWidthPercent = 'selfieAnimationWidthPercent',
63
63
  }
64
64
 
65
65
  export enum IOS_THEME_CONFIG_KEY {
66
- backgroundColor = "backgroundColor",
67
- primaryColor = "primaryColor",
68
- darkPrimaryColor = "darkPrimaryColor",
69
- accentColor = "accentColor",
70
- progressColor = "progressColor",
71
- overlayBackgroundColor = "overlayBackgroundColor",
72
- titleTextColor = "titleTextColor",
73
- titleTextFont = "titleTextFont",
74
- titleTextSize = "titleTextSize",
75
- titleTextAlignment = "titleTextAlignment",
76
- bodyTextColor = "bodyTextColor",
77
- bodyTextFont = "bodyTextFont",
78
- bodyTextSize = "bodyTextSize",
79
- bodyTextAlignment = "bodyTextAlignment",
80
- footnoteTextColor = "footnoteTextColor",
81
- footnoteTextFont = "footnoteTextFont",
82
- footnoteTextSize = "footnoteTextSize",
83
- formLabelTextColor = "formLabelTextColor",
84
- formLabelTextFont = "formLabelTextFont",
85
- textFieldTextColor = "textFieldTextColor",
86
- textFieldBackgroundColor = "textFieldBackgroundColor",
87
- textFieldBorderColor = "textFieldBorderColor",
88
- pickerTextColor = "pickerTextColor",
89
- pickerTextFont = "pickerTextFont",
90
- cameraInstructionsTextColor = "cameraInstructionsTextColor",
91
- cameraInstructionsTextFont = "cameraInstructionsTextFont",
92
- cameraInstructionsTextSize = "cameraInstructionsTextFont",
93
- cameraHintTextColor = "cameraHintTextColor",
94
- cameraHintTextFont = "cameraHintTextFont",
95
- cameraHintTextSize = "cameraHintTextSize",
96
- cameraGuideHintTextColor = "cameraGuideHintTextColor",
97
- cameraGuideHintTextFont = "cameraGuideHintTextFont",
98
- cameraGuideHintTextSize = "cameraGuideHintTextSize",
99
- buttonBackgroundColor = "buttonBackgroundColor",
100
- buttonDisabledBackgroundColor = "buttonDisabledBackgroundColor",
101
- buttonTouchedBackgroundColor = "buttonTouchedBackgroundColor",
102
- buttonImageTintColor = "buttonImageTintColor",
103
- buttonImageHidden = "buttonImageHidden",
104
- buttonCornerRadius = "buttonCornerRadius",
105
- buttonTextAlignment = "buttonTextAlignment",
106
- buttonDisabledTextColor = "buttonDisabledTextColor",
107
- buttonTextColor = "buttonTextColor",
108
- buttonFont = "buttonFont",
109
- buttonTextSize = "buttonTextSize",
110
- selectedCellBackgroundColor = "selectedCellBackgroundColor",
111
- closeButtonTintColor = "closeButtonTintColor",
112
- cancelButtonBackgroundColor = "cancelButtonBackgroundColor",
113
- cameraButtonBackgroundColor = "cameraButtonBackgroundColor",
114
- cameraGuideCornersColor = "cameraGuideCornersColor",
115
- successAssetName = "successAssetName",
116
- successAssetWidth = "successAssetWidth",
117
- successAssetHeight = "successAssetHeight",
118
- verificationFailAssetName = "verificationFailAssetName",
119
- verificationFailAssetWidth = "verificationFailAssetWidth",
120
- verificationFailAssetHeight = "verificationFailAssetHeight",
121
- failAssetName = "failAssetName",
122
- failAssetWidth = "failAssetWidth",
123
- failAssetHeight = "failAssetHeight",
124
- loadingAnimationAssetName = "loadingAnimationAssetName",
125
- loadingAnimationAssetWidth = "loadingAnimationAssetWidth",
126
- loadingAnimationAssetHeight = "loadingAnimationAssetHeight",
127
- processingAnimationAssetName = "processingAnimationAssetName",
128
- processingAnimationAssetWidth = "processingAnimationAssetWidth",
129
- processingAnimationAssetHeight = "processingAnimationAssetHeight",
130
- selfieAnimationAssetName = "selfieAnimationAssetName",
131
- selfieAnimationAssetWidth = "selfieAnimationAssetWidth",
132
- selfieAnimationAssetHeight = "selfieAnimationAssetHeight",
66
+ backgroundColor = 'backgroundColor',
67
+ primaryColor = 'primaryColor',
68
+ darkPrimaryColor = 'darkPrimaryColor',
69
+ accentColor = 'accentColor',
70
+ progressColor = 'progressColor',
71
+ overlayBackgroundColor = 'overlayBackgroundColor',
72
+ titleTextColor = 'titleTextColor',
73
+ titleTextFont = 'titleTextFont',
74
+ titleTextSize = 'titleTextSize',
75
+ titleTextAlignment = 'titleTextAlignment',
76
+ bodyTextColor = 'bodyTextColor',
77
+ bodyTextFont = 'bodyTextFont',
78
+ bodyTextSize = 'bodyTextSize',
79
+ bodyTextAlignment = 'bodyTextAlignment',
80
+ footnoteTextColor = 'footnoteTextColor',
81
+ footnoteTextFont = 'footnoteTextFont',
82
+ footnoteTextSize = 'footnoteTextSize',
83
+ formLabelTextColor = 'formLabelTextColor',
84
+ formLabelTextFont = 'formLabelTextFont',
85
+ textFieldTextColor = 'textFieldTextColor',
86
+ textFieldBackgroundColor = 'textFieldBackgroundColor',
87
+ textFieldBorderColor = 'textFieldBorderColor',
88
+ pickerTextColor = 'pickerTextColor',
89
+ pickerTextFont = 'pickerTextFont',
90
+ cameraInstructionsTextColor = 'cameraInstructionsTextColor',
91
+ cameraInstructionsTextFont = 'cameraInstructionsTextFont',
92
+ cameraInstructionsTextSize = 'cameraInstructionsTextFont',
93
+ cameraHintTextColor = 'cameraHintTextColor',
94
+ cameraHintTextFont = 'cameraHintTextFont',
95
+ cameraHintTextSize = 'cameraHintTextSize',
96
+ cameraGuideHintTextColor = 'cameraGuideHintTextColor',
97
+ cameraGuideHintTextFont = 'cameraGuideHintTextFont',
98
+ cameraGuideHintTextSize = 'cameraGuideHintTextSize',
99
+ buttonBackgroundColor = 'buttonBackgroundColor',
100
+ buttonDisabledBackgroundColor = 'buttonDisabledBackgroundColor',
101
+ buttonTouchedBackgroundColor = 'buttonTouchedBackgroundColor',
102
+ buttonImageTintColor = 'buttonImageTintColor',
103
+ buttonImageHidden = 'buttonImageHidden',
104
+ buttonCornerRadius = 'buttonCornerRadius',
105
+ buttonTextAlignment = 'buttonTextAlignment',
106
+ buttonDisabledTextColor = 'buttonDisabledTextColor',
107
+ buttonTextColor = 'buttonTextColor',
108
+ buttonFont = 'buttonFont',
109
+ buttonTextSize = 'buttonTextSize',
110
+ selectedCellBackgroundColor = 'selectedCellBackgroundColor',
111
+ closeButtonTintColor = 'closeButtonTintColor',
112
+ cancelButtonBackgroundColor = 'cancelButtonBackgroundColor',
113
+ cameraButtonBackgroundColor = 'cameraButtonBackgroundColor',
114
+ cameraGuideCornersColor = 'cameraGuideCornersColor',
115
+ successAssetName = 'successAssetName',
116
+ successAssetWidth = 'successAssetWidth',
117
+ successAssetHeight = 'successAssetHeight',
118
+ verificationFailAssetName = 'verificationFailAssetName',
119
+ verificationFailAssetWidth = 'verificationFailAssetWidth',
120
+ verificationFailAssetHeight = 'verificationFailAssetHeight',
121
+ failAssetName = 'failAssetName',
122
+ failAssetWidth = 'failAssetWidth',
123
+ failAssetHeight = 'failAssetHeight',
124
+ loadingAnimationAssetName = 'loadingAnimationAssetName',
125
+ loadingAnimationAssetWidth = 'loadingAnimationAssetWidth',
126
+ loadingAnimationAssetHeight = 'loadingAnimationAssetHeight',
127
+ processingAnimationAssetName = 'processingAnimationAssetName',
128
+ processingAnimationAssetWidth = 'processingAnimationAssetWidth',
129
+ processingAnimationAssetHeight = 'processingAnimationAssetHeight',
130
+ selfieAnimationAssetName = 'selfieAnimationAssetName',
131
+ selfieAnimationAssetWidth = 'selfieAnimationAssetWidth',
132
+ selfieAnimationAssetHeight = 'selfieAnimationAssetHeight',
133
133
  }
134
134
 
135
135
  export type AndroidThemeObject = {
@@ -143,31 +143,31 @@ export type IosThemeObject = {
143
143
  export type ThemeObject = AndroidThemeObject | IosThemeObject;
144
144
 
145
145
  class Theme {
146
- async print(platform: string = "android") {
146
+ async print(platform: string = 'android') {
147
147
  const config = await Config.get();
148
148
  const themeConfig =
149
- platform === "android" ? config["androidTheme"] : config["iosTheme"];
149
+ platform === 'android' ? config.androidTheme : config.iosTheme;
150
150
  let usesCustomFontAndroid = false;
151
151
  let usesCustomFontIos = false;
152
152
 
153
153
  const head =
154
- platform === "android"
155
- ? ["Style Item", "Value", "Note"]
156
- : ["Style Item", "Value", "Note"];
154
+ platform === 'android'
155
+ ? ['Style Item', 'Value', 'Note']
156
+ : ['Style Item', 'Value', 'Note'];
157
157
 
158
158
  const table = new Table({
159
159
  head,
160
160
  // prettier-ignore
161
- chars: { 'mid': '', 'left-mid': '', 'mid-mid': '', 'right-mid': '' }
161
+ chars: { 'mid': '', 'left-mid': '', 'mid-mid': '', 'right-mid': '' },
162
162
  });
163
163
 
164
- console.log("Specified theme values:");
164
+ console.log('Specified theme values:');
165
165
  const keyEnum =
166
- platform === "android" ? ANDROID_THEME_CONFIG_KEY : IOS_THEME_CONFIG_KEY;
166
+ platform === 'android' ? ANDROID_THEME_CONFIG_KEY : IOS_THEME_CONFIG_KEY;
167
167
  for (const key in keyEnum) {
168
168
  let override =
169
169
  themeConfig[key as ANDROID_THEME_CONFIG_KEY | IOS_THEME_CONFIG_KEY];
170
- let colorOverride = key.includes("Color") || key.includes("color");
170
+ let colorOverride = key.includes('Color') || key.includes('color');
171
171
 
172
172
  if (override) {
173
173
  if (colorOverride) {
@@ -177,8 +177,8 @@ class Theme {
177
177
  }
178
178
  }
179
179
 
180
- if (key.includes("Font")) {
181
- if (platform == "android") {
180
+ if (key.includes('Font')) {
181
+ if (platform == 'android') {
182
182
  usesCustomFontAndroid = true;
183
183
  } else {
184
184
  usesCustomFontIos = true;
@@ -191,10 +191,10 @@ class Theme {
191
191
  key,
192
192
  override
193
193
  ? valueColor(colorOverride, override)
194
- : chalk.yellow("unspecified"),
195
- key.includes("Font")
196
- ? chalk.cyan("Fonts that are not built-in need to be installed.")
197
- : ""
194
+ : chalk.yellow('unspecified'),
195
+ key.includes('Font')
196
+ ? chalk.cyan('Fonts that are not built-in need to be installed.')
197
+ : '',
198
198
  ];
199
199
 
200
200
  table.push(row);
@@ -204,31 +204,33 @@ class Theme {
204
204
 
205
205
  if (usesCustomFontAndroid) {
206
206
  console.log(
207
- chalk.yellow(" NOTE") +
208
- ": A font customization was made. If the font is not built-in to the Android platform (https://github.com/react-native-training/react-native-fonts#android), then the font(s) must first be installed. A guide to install a font can be found here: https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml"
207
+ chalk.yellow(' NOTE') +
208
+ ': A font customization was made. If the font is not built-in to the Android platform (https://github.com/react-native-training/react-native-fonts#android), then the font(s) must first be installed. A guide to install a font can be found here: https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml'
209
209
  );
210
210
  }
211
211
 
212
212
  if (usesCustomFontIos) {
213
213
  console.log(
214
- chalk.yellow(" NOTE") +
215
- ": A font customization was made. If the font is not built-in iOS (https://github.com/react-native-training/react-native-ios), then the font(s) must first be installed. A guide to install a font can be found here: https://developer.apple.com/documentation/uikit/text_display_and_fonts/adding_a_custom_font_to_your_app"
214
+ chalk.yellow(' NOTE') +
215
+ ': A font customization was made. If the font is not built-in iOS (https://github.com/react-native-training/react-native-ios), then the font(s) must first be installed. A guide to install a font can be found here: https://developer.apple.com/documentation/uikit/text_display_and_fonts/adding_a_custom_font_to_your_app'
216
216
  );
217
217
  }
218
218
 
219
219
  // Add newline for spacing
220
- console.log("");
220
+ console.log('');
221
221
  }
222
222
  }
223
223
 
224
224
  // set default print color for non-color overrides
225
- function valueColor(isColorOverride, override) {
226
- return isColorOverride ? chalk.hex(override)(override) : chalk.magentaBright(override);
225
+ function valueColor(isColorOverride: boolean, override: string) {
226
+ return isColorOverride
227
+ ? chalk.hex(override)(override)
228
+ : chalk.magentaBright(override);
227
229
  }
228
230
 
229
231
  function normalizeColor(colorHex: string, themeKey: string) {
230
232
  let hex = colorHex;
231
- if (colorHex[0] === "#") {
233
+ if (colorHex[0] === '#') {
232
234
  hex = colorHex.slice(1);
233
235
  }
234
236
 
@@ -238,19 +240,19 @@ function normalizeColor(colorHex: string, themeKey: string) {
238
240
  `Received a color value of ${chalk.yellow(colorHex)} for ${chalk.red(
239
241
  themeKey
240
242
  )}.\nFormat must follow standard 6 character hexadecimal color code. Eg. ${chalk
241
- .bgHex("#FFFFFF")
242
- .hex("#7E66B7")("#290087")}`
243
+ .bgHex('#FFFFFF')
244
+ .hex('#7E66B7')('#290087')}`
243
245
  );
244
246
  } else {
245
247
  console.error(
246
248
  `Received a color value of ${chalk.yellow(
247
249
  colorHex
248
250
  )}.\nFormat must follow standard 6 character hexadecimal color code. Eg. ${chalk
249
- .bgHex("#FFFFFF")
250
- .hex("#7E66B7")("#290087")}`
251
+ .bgHex('#FFFFFF')
252
+ .hex('#7E66B7')('#290087')}`
251
253
  );
252
254
  }
253
- console.log("");
255
+ console.log('');
254
256
  process.exit(1);
255
257
  }
256
258
 
@@ -1,13 +1,13 @@
1
- import Config from "./Config";
2
- import { TOOL_CHOICE, whatWouldYouLikePrompt } from "./lib/prompts";
3
- import AndroidThemeGenerator from "./tools/AndroidThemeGenerator";
4
- import IosThemeInstructions from "./tools/IosThemeInstructions";
1
+ import Config from './Config';
2
+ import { TOOL_CHOICE, whatWouldYouLikePrompt } from './lib/prompts';
3
+ import AndroidThemeGenerator from './tools/AndroidThemeGenerator';
4
+ import IosThemeInstructions from './tools/IosThemeInstructions';
5
5
 
6
- console.log("");
7
- console.log("============================================");
8
- console.log("Persona React Native SDK customization tool.");
9
- console.log("============================================");
10
- console.log("");
6
+ console.log('');
7
+ console.log('============================================');
8
+ console.log('Persona React Native SDK customization tool.');
9
+ console.log('============================================');
10
+ console.log('');
11
11
 
12
12
  const run = async () => {
13
13
  // Run this once to print warning messages if it's not configured.