Skip to content

Latest commit

 

History

History
171 lines (117 loc) · 4.79 KB

File metadata and controls

171 lines (117 loc) · 4.79 KB

React Native Celo Composer

A starter pack to get started with building dapps on Celo.

Demo Video . Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. Contact
  6. Acknowledgments

About The Project

A mobile dapp starter template to help you get started building DApps on Celo blockchain.

(back to top)

Built With

=======

Celo Composer React Native App

(back to top)

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • Expo

  • Nodejs (14.x or higher)

  • yarn

    npm install --global yarn

Installation

  1. Clone the repo

    git clone https://github.com/celo-org/celo-composer.git
  2. Install NPM packages

    yarn

(back to top)

Using the React Native App


  • cd into this folder react-native-app through your terminal.
yarn install

Note: For Android 11 and above the following changes need to be done in order to support deeplinking.

  • navigate to node_modules/@walletconnect/react-native-dapp/dist/providers/WalletConnectProvider.js

  • comment the code snippet as below:

    if (Platform.OS === 'android') {
    
                const canOpenURL = await Linking.canOpenURL(uri);
    
                // if (!canOpenURL) {
    
                // Linking.openURL('https://walletconnect.org/wallets');
    
                //     throw new Error('No wallets found.');
    
                // }
    
    await Linking.openURL(uri);
    }
    

The same hasn't been tested for iOS. If you are redirected to https://walletconnect.org/wallets on connect wallet then deeplinking is not supported.

  • Run the application using yarn start.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Celo Discord

Harpalsinh Jadeja - @harpaljadeja11 - [email protected]

(back to top)

Acknowledgments

List of resources I find helpful and would like to give credit to.

(back to top)