Open Ruan-Infinity opened 2 years ago
Hi, please take a look at the example for StartActivityForResult, https://github.com/darryncampbell/plugin-intent-api-exerciser/blob/master/www/js/index.js#L162. You might also want to look at how to configure to send an explicit Intent to a specific package, https://github.com/darryncampbell/plugin-intent-api-exerciser/blob/master/www/js/index.js#L239.
For the return data, I suggest just to output the raw JSON of what you get back before you try to parse it: https://github.com/darryncampbell/plugin-intent-api-exerciser/blob/master/www/js/index.js#L316
You are asking very specific questions about your implementation and use case, feel free to reach out to me on email or twitter if you wanted dedicated support to integrate with your 3rd party app.
Hi Darryn,
I have an IONIC application that captures data and must send this data to a payment app that is on the same device. I have gone through your documentation and most of the issues that have been posted but I can't get a clear picture of what the code should look like. The 3rd party whose payment app I must send the data to sent me this example for native android.
On my app, when the user has entered the data and clicks the 'pay now' button, the data needs to be sent to the payment app (package name: com.ra.pos) and after the payment has been completed by the user it needs to redirect back to my app with a response which I then handle.
Any help will be greatly appreciated.