polyfill-service: Facebook iOS app browser not supported
The Facebook native iOS app uses a UIWebView with a custom user-agent. Ideally Polyfill should return a polyfill for the current Safari/iOS version, but returns an error message.
Here is a polyfill request with a Facebook user-agent:
curl "https://cdn.polyfill.io/v2/polyfill.min.js?features=Object.assign,Promise,Array.prototype.find,Array.prototype.findIndex,Intl,Intl.~locale.nb&flags=always,gated" --header "User-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13C75 [FBAN/FBIOS;FBAV/46.0.0.54.156;FBBV/18972819;FBDV/iPhone8,1;FBMD/iPhone;FBSN/iPhone OS;FBSV/9.2;FBSS/2; FBCR/Telenor;FBID/phone;FBLC/nb_NO;FBOP/5]"
Returns:
/* Unsupported UA detected: facebook/46.0.0 */
About this issue
- Original URL
- State: closed
- Created 11 years ago
- Comments: 15 (7 by maintainers)
Commits related to this issue
- Add aliasing for FB in-app browser on iOS, fixes #561 — committed to polyfillpolyfill/polyfill-service by triblondon 10 years ago
- Merge branch 'master' of github.com:Financial-Times/polyfill-service into grunt-dep * 'master' of github.com:Financial-Times/polyfill-service: Add aliasing for FB in-app browser on iOS, fixes #561 ... — committed to polyfillpolyfill/polyfill-service by deleted user 10 years ago
- Merge branch 'master' of github.com:Financial-Times/polyfill-service into pr765 * 'master' of github.com:Financial-Times/polyfill-service: Use relative path to fix clean task (#781) Add aliasing ... — committed to polyfillpolyfill/polyfill-service by deleted user 10 years ago
- Merge branch 'master' of github.com:Financial-Times/polyfill-service into rhys/array-iterators * 'master' of github.com:Financial-Times/polyfill-service: Add writeable property descriptors returned... — committed to polyfillpolyfill/polyfill-service by deleted user 10 years ago
- Merge branch 'master' of https://github.com/Financial-Times/polyfill-service into rhys/dom-iterators * 'master' of https://github.com/Financial-Times/polyfill-service: (71 commits) Fix Math.clz32 (... — committed to polyfillpolyfill/polyfill-service by wheresrhys 10 years ago
@JakeChampion Thanks, here’s a FB story link that links to the following HTML:
https://m.facebook.com/story.php?story_fbid=10154490930306508&id=739196507