sunshine-protocol / sunshine-keybase-ui-old

Flutter ui for sunshine-keybase
Apache License 2.0
2 stars 0 forks source link

Identity Registration Fails #5

Closed 4meta5 closed 4 years ago

4meta5 commented 4 years ago

This must work in order to propose the milestone amendment with this UI as the UI part of the deliverable. It doesn't now, even when I run the directions in #4 -- here is the error log:

➜  sunshine-identity-ui git:(master) ✗ flutter run
Running "flutter pub get" in sunshine-identity-ui...                1.5s
Launching lib/main.dart on iPhone SE (2nd generation) in debug mode...
Project base configurations detected, removing.
Running pod install...                                              1.9s
Running Xcode build...                                                  

 └─Compiling, linking and signing...                         8.7s
Xcode build done.                                           24.0s
Waiting for iPhone SE (2nd generation) to report its views...          3ms
flutter: Pushing /                                                      
Syncing files to device iPhone SE (2nd generation)...              123ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on iPhone SE (2nd generation) is available at: http://127.0.0.1:56843/8UP0G4CTLdE=/
flutter: unhandled element filter; Picture key: AssetBundlePictureKey(bundle: PlatformAssetBundle#3d313(), name: "assets/svg/sun.svg", colorFilter: null)
flutter: \^[[1;32mℹ\^[[0m \^[[32mINFO\^[[0m \^[[1msubstrate_subxt_client\^[[0m > S<…>
flutter: \^[[1;32mℹ\^[[0m \^[[32mINFO\^[[0m \^[[1msubstrate_subxt_client\^[[0m > ✌️  v<…>
flutter: \^[[1;32mℹ\^[[0m \^[[32mINFO\^[[0m \^[[1msubstrate_subxt_client\^[[0m > ❤️  by David Craven <david@crav<…>
flutter: \^[[1;32mℹ\^[[0m \^[[32mINFO\^[[0m \^[[1msubstrate_subxt_client\^[[0m > 📋 Chain specification: Sta<…>
flutter: \^[[1;32mℹ\^[[0m \^[[32mINFO\^[[0m \^[[1msubstrate_subxt_client\^[[0m > 🏷  Node name: Staging Testnet (s<…>
flutter: \^[[1;32mℹ\^[[0m \^[[32mINFO\^[[0m \^[[1msubstrate_subxt_client\^[[0m > 👤<…>
flutter: Client Started in:
    => 0 min
    => 26 sec
flutter: Pushing /main-screen
flutter: Pushing /account-screen
flutter: \^[[1;31m❌\^[[0m \^[[1;4;31mERROR\^[[0m \^[[1midentity_client\^[[0m > "ID :: resolve": Client(Identity<…>
flutter: \^[[1;32mℹ\^[[0m \^[[32mINFO\^[[0m \^[[1msubstrate_subxt::rpc\^[[0m > Submitting Extrinsic `0xa92509237e1a173f16dd5a044ff4acc2e640d037d18f1f9d99ec0<…>
flutter: \^[[1;31m❌\^[[0m \^[[1;4;31mERROR\^[[0m \^[[1midentity_client\^[[0m > "Faucet :: mint": Client(Chain(Rpc(Request(Error { code: ServerError(1013), message: "Transaction Already Imported", data: Some(String("<…>

The first error happens when I click on the account's icon in the upper right corner to go the account's page.

The second error happens when I click on the *null value of the Balances field. The UID is N/A.

4meta5 commented 4 years ago

Is there some way that a local keystore exists in Xcode that has been initialized and locked in a previous installation of the app? I can't see how that would be possible considering how I followed directions for #4 in a completely new directory.

shekohex commented 4 years ago

Best thing you could do is to uninstall the application from the simulator and then try to run flutter run again so it builds and install a new Clean one.

You should wait until it starts, you could wait for a minute or two and then create your account, it take sometime and when it says account created it should show you the UID and the device ID.

If you got to this screen, could you please post a screenshot and also any logs?

shekohex commented 4 years ago

I can't see how that would be possible considering how I followed directions for #4 in a completely new directory.

The Files are stored in the iOS simulator it self internally, not the root of the repo.

4meta5 commented 4 years ago

Registration succeeds