flowboard-react 0.6.3 → 0.6.4
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.
- package/README.md +21 -4
- package/app.plugin.js +1 -1
- package/bin/setup.js +1 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -72,14 +72,31 @@ Supported plugin options:
|
|
|
72
72
|
- `permissionMessages`: override default iOS usage descriptions for supported Flowboard permissions
|
|
73
73
|
- `iosPermissions`: append advanced `react-native-permissions` iOS entries directly
|
|
74
74
|
- `androidPermissions`: append raw Android permissions directly
|
|
75
|
-
- `includeVectorIconFonts`: defaults to `
|
|
75
|
+
- `includeVectorIconFonts`: defaults to `false`
|
|
76
76
|
- `iconFonts`: override the bundled FontAwesome6 font file list
|
|
77
77
|
|
|
78
78
|
The plugin does three things:
|
|
79
79
|
|
|
80
80
|
- Composes `react-native-permissions` for iOS permission Podfile setup when needed
|
|
81
81
|
- Adds Android manifest permissions for Flowboard permission actions
|
|
82
|
-
-
|
|
82
|
+
- Optionally bundles FontAwesome 6 fonts through `expo-font` when `includeVectorIconFonts` is enabled
|
|
83
|
+
|
|
84
|
+
If your Expo app needs Flowboard's bundled icon fonts, enable them explicitly:
|
|
85
|
+
|
|
86
|
+
```json
|
|
87
|
+
{
|
|
88
|
+
"expo": {
|
|
89
|
+
"plugins": [
|
|
90
|
+
[
|
|
91
|
+
"flowboard-react",
|
|
92
|
+
{
|
|
93
|
+
"includeVectorIconFonts": true
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
```
|
|
83
100
|
|
|
84
101
|
## React Native CLI Support
|
|
85
102
|
|
|
@@ -101,6 +118,7 @@ The SDK does not edit your app config files automatically in this phase. It inst
|
|
|
101
118
|
| `@react-native-masked-view/masked-view` | Native masked rendering |
|
|
102
119
|
| `lottie-react-native` | Native animation runtime |
|
|
103
120
|
| `react-native-device-info` | Native device/app metadata |
|
|
121
|
+
| `react-native-get-random-values` | Native crypto randomness bridge |
|
|
104
122
|
| `react-native-in-app-review` | Native review prompt support |
|
|
105
123
|
| `react-native-linear-gradient` | Native gradient rendering |
|
|
106
124
|
| `react-native-pager-view` | Native paged screen containers |
|
|
@@ -109,11 +127,10 @@ The SDK does not edit your app config files automatically in this phase. It inst
|
|
|
109
127
|
| `react-native-svg` | Native vector rendering |
|
|
110
128
|
| `react-native-vector-icons` | Native font/icon bundling |
|
|
111
129
|
|
|
112
|
-
Expo apps also get `expo-font` so the plugin can bundle the FontAwesome 6 fonts used by Flowboard icons.
|
|
130
|
+
Expo apps also get `expo-font` so the plugin can bundle the FontAwesome 6 fonts used by Flowboard icons when `includeVectorIconFonts` is enabled.
|
|
113
131
|
|
|
114
132
|
These JS-only helpers are bundled by the SDK itself and do not need to be installed by host apps:
|
|
115
133
|
|
|
116
|
-
- `react-native-get-random-values`
|
|
117
134
|
- `react-native-mask-input`
|
|
118
135
|
- `expr-eval`
|
|
119
136
|
- `uuid`
|
package/app.plugin.js
CHANGED
|
@@ -190,7 +190,7 @@ function applyPermissionsPlugin(config, options, env) {
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
function resolveVectorIconFontPaths(options, env) {
|
|
193
|
-
if (options.includeVectorIconFonts
|
|
193
|
+
if (options.includeVectorIconFonts !== true) return [];
|
|
194
194
|
|
|
195
195
|
const iconFonts =
|
|
196
196
|
Array.isArray(options.iconFonts) && options.iconFonts.length > 0
|
package/bin/setup.js
CHANGED
|
@@ -10,6 +10,7 @@ const BASE_PACKAGES = [
|
|
|
10
10
|
['@react-native-masked-view/masked-view', '0.3.2'],
|
|
11
11
|
['lottie-react-native', '7.1.0'],
|
|
12
12
|
['react-native-device-info', '13.2.0'],
|
|
13
|
+
['react-native-get-random-values', '1.11.0'],
|
|
13
14
|
['react-native-in-app-review', '4.3.0'],
|
|
14
15
|
['react-native-linear-gradient', '2.8.3'],
|
|
15
16
|
['react-native-pager-view', '6.2.4'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flowboard-react",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "Onboard your users with one click",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"expr-eval": ">= 2.0.2 < 3",
|
|
39
|
-
"react-native-get-random-values": "1.11.0",
|
|
40
39
|
"react-native-mask-input": "1.2.3",
|
|
41
40
|
"uuid": ">= 8.3.2 < 12"
|
|
42
41
|
},
|
|
@@ -93,6 +92,7 @@
|
|
|
93
92
|
"react": "19.2.0",
|
|
94
93
|
"react-native": "0.83.0",
|
|
95
94
|
"react-native-builder-bob": "^0.40.17",
|
|
95
|
+
"react-native-get-random-values": "1.11.0",
|
|
96
96
|
"react-test-renderer": "19.2.0",
|
|
97
97
|
"release-it": "^19.0.4",
|
|
98
98
|
"turbo": "^2.5.6",
|
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
"react": ">= 18.2.0",
|
|
106
106
|
"react-native": ">= 0.71.0",
|
|
107
107
|
"react-native-device-info": ">= 13.2.0",
|
|
108
|
+
"react-native-get-random-values": ">= 1.11.0",
|
|
108
109
|
"react-native-in-app-review": ">= 4.3.0",
|
|
109
110
|
"react-native-linear-gradient": ">= 2.8.3",
|
|
110
111
|
"react-native-pager-view": ">= 6.2.4",
|