MCVE (Minimal, Complete, and Verifiable example) for giphy-js-sdk-core issue #22.
The import of isomorphic-fetch
in giphy-js-sdk-core@1.0.3 breaks in React Native.
-
Setup project
react-native init AwesomeProject cd AwesomeProject
-
Install giphy-js-sdk-core
yarn add giphy-js-sdk-core
-
Import giphy-js-sdk-core in App.js
- + import GphApiClient from 'giphy-js-sdk-core'
-
Run app
react-native run-ios
MIT © 2018 Rodrigo Bermúdez Schettino