Closed silvestreh closed 6 months ago
Hi there! I just wanted to give you a quick heads up about expo-random being deprecated. It'll be removed in the next Expo SDK release.
expo-random
I think you'll want to update index.native so that the import reads:
import
import * as Crypto from 'expo-crypto'
And a couple lines below that
export let random = Crypto.getRandomBytesAsync
Can you send a PR? Since I am not a RN developer.
@ai thanks for the quick reply. Here's the PR https://github.com/ai/nanoid/pull/415 :)
Hi there! I just wanted to give you a quick heads up about
expo-random
being deprecated. It'll be removed in the next Expo SDK release.I think you'll want to update index.native so that the
import
reads:And a couple lines below that