@unifold/connect-react-native 0.1.27 → 0.1.29
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 +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -7
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ Link Pay uses `@stripe/stripe-react-native`, which includes **native** code (App
|
|
|
36
36
|
|
|
37
37
|
Importing `@unifold/connect-react-native` loads the Stripe UI registration in the same JS bundle as the provider. Ensure the peer dependencies in **Installation** above are installed so Metro does not duplicate native modules.
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
**`expo-constants`** is a **dependency** of `@unifold/connect-react-native`, and the SDK **entry** includes a static `import "expo-constants"` so Metro always links the module. (A `require("expo-constants")` only inside the prebuilt UI was not always enough for Metro’s graph.) You can still set **`config.stripeMerchantIdentifier`** on `UnifoldProvider` to override or skip reading the plugin from constants.
|
|
40
40
|
|
|
41
41
|
#### Expo Go vs development build vs prebuild
|
|
42
42
|
|
|
@@ -308,7 +308,7 @@ import type {
|
|
|
308
308
|
| react-native-gesture-handler | >= 2.14.0 |
|
|
309
309
|
| react-native-svg | >= 13.0.0 |
|
|
310
310
|
| react-native-webview | >= 13.0.0 |
|
|
311
|
-
| expo-constants
|
|
311
|
+
| expo-constants | Installed with Connect (>= 14) — mirrors `merchantIdentifier` from the Stripe Expo plugin into JS; optional override via `config.stripeMerchantIdentifier` |
|
|
312
312
|
|
|
313
313
|
## Support
|
|
314
314
|
|