Open Osamasomy opened 4 years ago
What do you mean about react-native support?. It is for node js backend and react-native is for mobile frontend.
@Osamasomy You can add it via Webview
const onNavigationStateChange = (event) => { const url = event.url; if (url.indexOf('/mobile') === -1) { return; } const params = url.split('?')[1]; const parsed = queryString.parse(params); if (parsed.action === 'cancelled') { navigation.goBack(); } if (parsed.action === 'complete' && !paymentVerified.current) { paymentVerified.current = true; verifyPayment(routes.rideId, parsed.order_id); } };
how can i use this with react native