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
Please tell us how to recreate the issue in as much detail as possible.
RUN:
http.getJSON("http://exmplesite.com") in the app code, run it on an iPhone device or IOS iPHone simulator.
Look at the access log of exmplesite.com, you'll see the UserAgent String looks something like:
"Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25""Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25"
Where "iPad" is shown, this should be "iPhone". (When loading a webview, the user agent string is correct from an iPhone, so it appears the issue is NOT happen on a webview, but IS happening using the http.getJSON() function.)
THANKS!
The text was updated successfully, but these errors were encountered:
When using http.getJSON() in a mobile app on IOS, the app sends a UserAgent of "iPad", even from an iPhone.
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
"dependencies": {
"moment": "^2.14.1",
"nativescript-collapsing-header": "^2.0.0",
"nativescript-floatingactionbutton": "^2.2.4",
"nativescript-fresco": "^1.0.5",
"nativescript-google-analytics": "^0.2.9",
"nativescript-pulltorefresh": "^1.1.6",
"nativescript-snackbar": "^1.1.2",
"nativescript-social-share": "^1.3.0",
"tns-core-modules": "^2.2.1"
}
Please tell us how to recreate the issue in as much detail as possible.
RUN:
http.getJSON("http://exmplesite.com") in the app code, run it on an iPhone device or IOS iPHone simulator.
Look at the access log of exmplesite.com, you'll see the UserAgent String looks something like:
"Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25""Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25"
Where "iPad" is shown, this should be "iPhone". (When loading a webview, the user agent string is correct from an iPhone, so it appears the issue is NOT happen on a webview, but IS happening using the http.getJSON() function.)
THANKS!
The text was updated successfully, but these errors were encountered: