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
here my question i have 3rd party payment gateway only working in web app not Inapp functionality, in most case i will pass by just add userAgent like this String get mobileUserAgent { return Platform.isIOS ? "Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Version/15.0 Mobile/15E148 Safari/537.36" : "Mozilla/5.0 (Linux; Android 10; Mobile; rv:89.0) Gecko/89.0 Firefox/89.0"; } but in InAppWebView( initialUrlRequest: URLRequest(url: Uri.parse(_currentUrl)), initialOptions: InAppWebViewGroupOptions( crossPlatform: InAppWebViewOptions( userAgent: mobileUserAgent, still the same issue it fails, i also add header and pass but still fail , any solution or trick i can use thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
here my question i have 3rd party payment gateway only working in web app not Inapp functionality, in most case i will pass by just add userAgent like this
String get mobileUserAgent { return Platform.isIOS ? "Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Version/15.0 Mobile/15E148 Safari/537.36" : "Mozilla/5.0 (Linux; Android 10; Mobile; rv:89.0) Gecko/89.0 Firefox/89.0"; }
but inInAppWebView( initialUrlRequest: URLRequest(url: Uri.parse(_currentUrl)), initialOptions: InAppWebViewGroupOptions( crossPlatform: InAppWebViewOptions( userAgent: mobileUserAgent,
still the same issue it fails, i also add header and pass but still fail , any solution or trick i can use thanksBeta Was this translation helpful? Give feedback.
All reactions