WaaS Installation
To build with WaaS, you need to install several dependencies, as well as the React Native SDK, and the Go module.
Install Dependencies
tip
Check the version of each library before installing to see if you already have it.
Prerequisites
% go version
% node -v
% yarn -v
iOS Development
Xcode 14.0+ with the iOS15.2+ simulator (or iPhone 14) recommended
% xcodebuild -version
% pod --version
Android Development
- x86_64 Android emulator running Android 30+ (Pixel 5 running S recommended)
- Android NDK
- Java JDK 17 (JDK 19 will not work with React Native)
Install SDK and Go Module
To use the WaaS APIs, install the WaaS SDK and Go module:
Install the React Native WaaS SDK:
npm install --save @coinbase/waas-sdk-react-native
or
yarn add @coinbase/waas-sdk-react-native
Install the Go module:
go install github.com/coinbase/waas-client-library-go@latest