|
8 | 8 | Install with: |
9 | 9 |
|
10 | 10 | npm i --save react-native-common-utils |
11 | | - |
12 | | - react-native link react-native-localization |
13 | | - |
14 | | -[react-native-localization](https://www.npmjs.com/package/react-native-localization) is a package my code depends on and it needs linking. |
15 | 11 |
|
16 | | -My code uses `@autobind` so please don't forget to modify your `.babelrc` according to the version of Babel you're using. |
| 12 | +My code uses `@autobind` so please don't forget to modify your Babel config accordingly. |
| 13 | + |
| 14 | +**For RN < 0.60**: |
| 15 | +My code depends on [react-native-localization](https://www.npmjs.com/package/react-native-localization) which needs linking: |
| 16 | + |
| 17 | + react-native link react-native-localization |
17 | 18 |
|
18 | | -If you want to use the [native modules](#nativemodules) defined in the package, use the following command: |
| 19 | +You also need to execute |
19 | 20 |
|
20 | 21 | react-native link react-native-common-utils |
| 22 | +, if you want to use the [native modules](#nativemodules) defined in my package. |
21 | 23 |
|
22 | 24 | ## <a name="packagecontents"></a>[Package contents<i class="icon-up"></i>](#cpackagecontents) |
23 | 25 |
|
@@ -462,7 +464,8 @@ Font sizes are calculated as `baseFontSize + numberOfSteps * step`. `font` conta |
462 | 464 |
|
463 | 465 | Version number|Changes |
464 | 466 | -|- |
465 | | -v5.1.0|1. An iOS-only bug fixed in `ApplicationSession.manage()` .<br>2. State changes can be optionally logged to the console. An argument controlling this behaviour is added to `ApplicationSession._setSessionType()`. |
| 467 | +v6.0.0|1. The latest version of [react-native-localization](https://www.npmjs.com/package/react-native-localization) is specified in `package.json`.<br>2. **Backwards-incompatible change** in `strings.js`: `strings.formatString()` is no longer available if a sub-object name was specified. `strings.all.formatString()` has to be used instead. |
| 468 | +v5.1.0|1. An iOS-only bug fixed in `ApplicationSession.manage()`.<br>2. State changes can be optionally logged to the console. An argument`ApplicationSession._setSessionType()` |
466 | 469 | v5.0.0|**Backwards-incompatible change**: `styles.screen` is superseded by `styles.screen.container`. |
467 | 470 | v4.1.0|1. `ApplicationSession` added.<br>2. `styles.screen` added. |
468 | 471 | v4.0.0|**Backwards-incompatible change**: `babel-plugin-transform-decorators-legacy` is removed from dependencies to allow for Babel 7 usage. End user instructions are given through the postinstall event. |
|
0 commit comments