Skip to content

kuchmenko/RNDfinity

Repository files navigation

React Native Dfinity example app

About polyfills

This project is using different polyfills to make it work on the browser and on the mobile devices. If you want to reuse them, you need to copy them manually to your workspace

Also, please check polyfills in the shim.js, metro.config.js and package.json files.

Motoko counter canister setup

To make this repository work as expected, you will need to install dfx and run local canister, or deploy canister to the mainnet (or your custom dfx network).

Please follow the instructions in the dfinity docs to install dfx and start local canister. And follow the instructions on how to set up canister from dfinity/examples repository

Environment setup

  • Install the shared React Native dependencies (React Native CLI, not Expo CLI)

  • Install cocoapods by running:

    sudo gem install cocoapods
  • Clone this repo:

    git clone https://github.com/kuchmenko/RNDfinity

Example project installation steps

  • Install yarn dependencies: This command will install yarn dependencies, iOS Pods and patch-packages
    yarn fullInstall
  • Run the app: (If you have some problems with CLI run with Xcode)
    yarn ios
  • Run the app on Android:
      yarn android

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published