Skip to content

3.7.0

Choose a tag to compare

@zoontek zoontek released this 22 Feb 18:53
· 40 commits to master since this release
14fd6c3
  • Export a dedicated typed function for Expo dynamic configuration (app.config.ts):
import type { ConfigContext, ExpoConfig } from "expo/config";
import localize from "react-native-localize/expo"; // use `require` in app.config.js

export default ({ config }: ConfigContext): ExpoConfig => ({
  plugins: [
    localize({
      locales: ["en", "fr"], // or { android: ["en"], ios: ["en", "fr"] }
    }),
  ],
});