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
We recently updated from 0.72.14 to 0.74.1 and started facing an issue where formatToParts is missing on iOS. We have added intl-numberformat polyfill to temporarily fix this.
Is there any official solution to resolve this issue?
Our current Intl implementation uses APIs provided by the iOS or Android platform, but unfortunately, Intl often requires things that cannot be mapped onto the platform APIs. formatToParts is one such case, as we could not find a practical way to implement it on iOS.
We did previously expose a formatToParts method, but it had severe problems and we removed it last year. We did not take removing it lightly, but it seemed clear that Hermes users could not rely on it to serve them across locales.
We have a long term plan to fix this, and you can read about that in #1211.
Problem
Intl.NumberFormat.prototype.formatToParts
works on Android but is not implemented for iOS.Previously mentioned here.
Filing this as a separate issue as requested.
The text was updated successfully, but these errors were encountered: