I’m working on integrating PayU into our checkout flow using the WebView component. The checkout link loads and works perfectly in the WebView in the native app, but on the web app it either fails to load or throws an error. Currently, the only workaround is to redirect users from the web app to the checkout link (Link - website).
I’m trying to figure out a reliable way to detect whether a user is on the web app or the native app so I can route them accordingly. Has anyone faced a similar issue or have suggestions on the best way to handle this?
You can use the NoCode Monkey’s device detector component. The component would give below data :
Device Width - It’s a single number.
Device Height - It’s a single number.
Device OS - web, android , ios (Note - PWA’s return web every time and native apps which means apps published to stores return either android or ios depending on their device.)