Skip to content
Myr

Document Expo SDK v39 behavior (#231)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes #207

authored by Christoph Tavan · committed by GitHub · parent dafca31 · Browse files · 3 files+7 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+7 added−4 removed

  • other:+7 added−4 removed

3 files+7 added−4 removed

modified:index.browser.js+1 added-1 removed
modified:package.json+3 added-1 removed
185 unmodified lines
186 "ai",187 "Rollup",188 "transpile",189 "workaround",190 "Deno"190 "Deno",191 "polyfill",192 "v39"193 ]194 },195 "sharec": {196 "config": "@logux/sharec-config",
3 unmodified lines
modified:README.md+3 added-2 removed
233 unmodified lines
234235236### React Native237238React Native does not have built-in random generator.238React Native does not have built-in random generator. The following polyfill works for plain React239Native and Expo starting with v39.2402411. Check [`react-native-get-random-values`] docs and install it.2422. Import it before Nano ID.243
24 unmodified lines
268269270### Expo271271If you use Expo in React Native, you need a different workaround.272If you use Expo prior to v39 in React Native, you need a different workaround.2732741. Install [`expo-random`](https://www.npmjs.com/package/expo-random).2752. Use `nanoid/async` instead of `nanoid`.2763. Import `index.native.js` file directly.
228 unmodified lines