web3modal-react-native icon indicating copy to clipboard operation
web3modal-react-native copied to clipboard

[bug]: An Issue about the createAppKit() Function

Open ianmunge0 opened this issue 1 year ago • 0 comments

Description

Expected Behavior

The modal should show the balance of the token specified in createAppKit() function

What is Actually Happening

The token passed as the value of the token property in the createAppKit() function does not display its balance when the modal is open. It shows the balance of the chain's native token

AppKit SDK version

@reown/appkit-wagmi-react-native: ^1.0.1

Output of npx react-native info

info Fetching system and libraries information...
System:
  OS: Linux 6.8 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
  CPU: (4) x64 Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
  Memory: 2.56 GB / 7.63 GB
  Shell:
    version: 5.1.16
    path: /bin/bash
Binaries:
  Node:
    version: 18.19.0
    path: ~/.nvm/versions/node/v18.19.0/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.yarn/bin/yarn
  npm:
    version: 10.2.3
    path: ~/.nvm/versions/node/v18.19.0/bin/npm
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "33"
      - "34"
      - "34"
      - "34"
    Build Tools:
      - 30.0.3
      - 33.0.0
      - 33.0.1
      - 34.0.0
    System Images:
      - android-34 | Google APIs Intel x86_64 Atom
    Android NDK: Not Found
IDEs:
  Android Studio: Not Found
Languages:
  Java:
    version: 17.0.12
    path: /usr/bin/javac
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.74.5
    wanted: 0.74.5
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

info React Native v0.75.4 is now available (your project is running on v0.74.5).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.75.4
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.74.5
info For more info, check out "https://reactnative.dev/docs/upgrading?os=linux".

Expo Version (if applies)

~51.0.28

Steps to reproduce

Procucing the Bug

Install Valora from here and set up a wallet. Use Celo mainnet on Valora

Run these from terminal/cli

git clone https://github.com/ianmunge0/debugreown.git cd debugreown npm install

Register debugreown as a project in your Reown Cloud account here

Create .env file at the root directory of your project. Have an env variable of PROJECT_ID. Put the project ID of debugreown from your Reown Cloud account as the value of PROJECT_ID

Resume to terminal/cli and run npx expo run:android

Snack, code example, screenshot, or link to a repository

https://github.com/ianmunge0/debugreown.git

ianmunge0 avatar Oct 06 '24 13:10 ianmunge0