Giter Club home page Giter Club logo

mobile-app's Introduction

DEPRICATED

DEUS.Finance Mobile App

This is the repository for our mobile app, built using Flutter.

Setup

  1. Install flutter and its requirements using this manual.
  2. Checkout this git repository
  3. Run flutter pub get to fetch all dependencies.
  4. Execute flutter run or use your IDE to start the app.

mobile-app's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mobile-app's Issues

[BUG] Can't swap ETH to USDC

Trying to swap 0.11 Eth to Usdc it keeps returning a error message. The error message only appears when swapping eth for usdc.
Swapping deus or dea to Usdc seems to give no problems.

Can't buy WBTC with ETH [Android Closed Alpha]

Describe the bug
A clear and concise description of what the bug is.
When trying to buy WBTC with 1 ETH using the swap, the transaction fails.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Swap
  2. Select ETH as "from" token & WBTC as "to" token
  3. Select 0.5 ETH
  4. click on swap
  5. confirm swap
  6. see transaction pending
  7. See transaction error

Expected behavior
A clear and concise description of what you expected to happen.
Transaction pending, then success.

Screenshots
If applicable, add screenshots to help explain your problem.

grafik

Additional context
Add any other context about the problem here.

Maybe it also has to do with rinkeby and not the app itself?

Swap screen doesn't load on release build

Steps to reproduce

  1. flutter build apk
  2. Install the apk on your phone (or an emulator - just be sure that you have a release build of the APK, not a debug build!)
  3. Launch the app, create a wallet or import one
  4. After confirming, wait until the swap screen loads

Expected behavior

The swap service should initialize for a few seconds, indicated by a CircularProgressIndicator. Afterwards, I can select tokens etc. in order to swap.

Actual behavior

The CircularProgressIndicator doesn't disappear and just keeps spinning.


I suppose the internet connection or something like that is blocked? Everything worked fine when I tried it out in debug mode.
On the other hand, I noticed that you integrated <uses-permission android:name="android.permission.INTERNET"/>. Any ideas?

Advanced mode of Gas Fee customization freezes

Steps to reproduce:

  1. Load the app ( & log into wallet with a balance)
  2. Leave ETH -> DEUS as the default trading pair.
  3. Use 0.02 as from value
  4. Click on Swap
  5. Click on the 'EDIT' button above the gas fee.
  6. In the upper right corner, click on Advanced.

Expected behavior

I get a new screen where I can customize my GAS limit.

Actual behavior

Screen gets stuck / the whole UI freezes.
Console throws no error.


Hint: I commented out the advanced button so it won't delay the launch that much. For bugfixing, you need to uncomment it again, otherwise you won't be able to reproduce the error because the button is missing.
Can you please take care of it?

Can't swap DEUS to USDC

Steps to reproduce:

  1. Load the app
  2. Select DEA as From Token
  3. Select USDC as To Token
  4. Enter 0.02 as From Amount
  5. Click on Swap

Expected behavior

Appearance of a gas customization screen or a pending transaction.

Actual behavior

Screen gets stuck in loading behavior.
grafik

Console throws error:

E/flutter ( 4453): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: NoSuchMethodError: The getter 'getInWei' was called on null.
E/flutter ( 4453): Receiver: null
E/flutter ( 4453): Tried calling: getInWei
E/flutter ( 4453): #0      Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)
E/flutter ( 4453): #1      _ConfirmSwapScreenState.estimateGas
package:deus_mobile/…/swap/confirm_swap.dart:684
E/flutter ( 4453): #2      _ConfirmSwapScreenState.getData
package:deus_mobile/…/swap/confirm_swap.dart:665
E/flutter ( 4453): <asynchronous suspension>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.