Examples of using the deso-protocol library in a React Native application.
IMPORTANT: Read this REACT-NATIVE.md for an overview of shims and other requirements.
This is using a basic react native expo setup.
-
Make sure you have the relevant dependencies and the correct versions installed:
node >= 14
ruby 2.7.6
-
Install cocoapods (native ios dependency manager).
sudo gem install cocoapods
-
clone this repo
git clone ...
-
Install dependencies
cd deso-examples-react-native npm i
-
Make sure all necessary native code is installed
npx expo prebuild cd ios && pod install && cd -
-
Run the app
npx expo start
-
Install the Expo Go app on your phone
-
Open your phone's camera app and scan the QR code from your terminal