3.0.0: New architecture support 🎉
This release come with a huge change underneath: Instead of constants, the library now perform synchronous methods calls (on both old and new architecture), which means the returned informations will always be up-to-date (fixes #186).
This also means that remote debugging (e.g. with Chrome) is no longer possible and that you should switch to Flipper 🐬 (an acceptable trade-off as remote debugging isn't possible with the new architecture anyway)
Other changes:
- Drop support for:
react-native-windows
(temporarily)react-native
,react-native-macos
< 0.70react-native-web
< 0.18- Android < 5
- iOS and tvOS < 12.4
- Remove
addEventListener
as you can now safely rely onAppState
and get the possible new value when app becomeactive
(fixes #91) getCalendar
can now return all supported macOS calendars (buddhist
,coptic
,ethiopic
,hebrew
…)findBestAvailableLanguage
has been renamedfindBestLanguageTag
- Package default export has been removed. If you really want to import everything, use
import * as Localize from "react-native-localize"
instead