Skip to content

Files

Latest commit

72d0a7f · Jan 17, 2022

History

History
20 lines (14 loc) · 591 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 591 Bytes

Expo Crypto Polyfills

Use this to polyfill crypto-related libraries without having to eject from Expo. The goal of this library is to continue to work across all Expo-supported ecosystems (ios,android,web)

Example

Check out metro.config.js from our Walletconnect Demo

Usage

In your Expo project, create a metro.config.js file, then set extraNodeModules to this library:

// metro.config.js
module.exports = {
  resolver: {
    extraNodeModules: require("expo-crypto-polyfills"),
  },
};