You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding the react-native-razorpay package,the option to `prebuild` the app must be used(this generates the android/ios platform folders in the project to use native-modules). Command for which,
149
+
```shell
150
+
npx expo prebuild
151
+
```
152
+
After which the application will be installed on the device/emulator.
153
+
```shell
154
+
npx expo run:[ios|android] --device
155
+
```
156
+
157
+
140
158
## Usage
141
159
142
160
Sample code to integrate with Razorpay can be found in
@@ -204,6 +222,23 @@ If you are using proguard for your builds, you need to add following lines to pr
204
222
205
223
## FAQ's
206
224
225
+
- For UPI Intent in iOS, the info.plist in iOS should be modified to include `LSApplicationQueriesSchemes`
226
+
- For Bare React-Native Apps:
227
+
- info.plist can directly be modified from the xcode project. LSApplicationQueriesSchemes takes as array value and can currently include only ["tez","phonepe","paytmmp"]
228
+
- For Expo Apps:
229
+
- Directly modifying info.plist is discouraged, and hence this should be added in app.json
230
+
```shell
231
+
"ios": {
232
+
"infoPlist": {
233
+
"LSApplicationQueriesSchemes": [
234
+
"tez",
235
+
"phonepe",
236
+
"paytmmp"
237
+
]
238
+
}
239
+
}
240
+
```
241
+
- P.S: The apps won't be visible if the application is run with metro builder. The info.plist is generated successfully and integrated only when the app is built as standalone app.
207
242
- Still having trouble with integrating our payment gateway? Follow [this link](https://github.com/razorpay/react-native-razorpay/wiki/FAQ's) for more info.
0 commit comments