Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline mode (serverless) & No internet connection mode #757

Merged
merged 31 commits into from
Dec 9, 2024

Conversation

juanky201271
Copy link
Contributor

@juanky201271 juanky201271 commented Nov 28, 2024

  1. New checkbox in settings.
  2. New icon in the header.
  3. Hide server info menu option.
  4. Hide Rescan wallet menu option.
  5. Hide Vote for Nym menu option.
  6. Hide Tip Zingolabs menu option.
  7. Hide send bottom tab.
  8. Hide shielding button in the header.
  9. Hide all send icons. (Address book, History & History Details...).
  10. New option in the first screen -> Custom Server Component for Offline.
  11. Restore from seed/ufvk screen fixed to accept any birthday for Offline mode. If we decide that make sense to have this feature for Offline mode in some future.
  12. Hide change to another wallet menu option.
  13. Hide from the initial screen: New wallet & Restore wallet.
  14. In Offline mode, make no sense all the warnings/messages about zingo needs internet connection to work...
  15. In the initial screen in Offline mode with no internet connection when the app have a wallet file -> start the App normally because Offline mode no need internet connection.

Additional tasks:

  • Hide the send swipe icon for Zenny Tips. (We already have another way to receive donations)
  • The App work with no internet connection.

Waiting for this: zingolabs/zingolib#1557
Addressing this: #651

@Edicksonjga
Copy link

About the Note...

Currently it doesn't make much sense, but in the future you may want to restore a wallet in Offline mode and use it somehow as a wallet that signs transactions by having the spending keys.

And if you restore with a UFVK although it makes less sense because you would have to have internet to be able to synchronize and thus use the View Only Mode, it may at any time the user manages to connect to the internet and thus start the synchronization by connecting to the server.

Offline Mode in theory is important because it would allow us to log into the app, view the history and most importantly, view the seed phrase/keys.

@juanky201271
Copy link
Contributor Author

About the Note...

Currently it doesn't make much sense, but in the future you may want to restore a wallet in Offline mode and use it somehow as a wallet that signs transactions by having the spending keys.

And if you restore with a UFVK although it makes less sense because you would have to have internet to be able to synchronize and thus use the View Only Mode, it may at any time the user manages to connect to the internet and thus start the synchronization by connecting to the server.

Offline Mode in theory is important because it would allow us to log into the app, view the history and most importantly, view the seed phrase/keys.

OK, let's hide then these options as well:

  • Change to another wallet.
  • New wallet.
  • Restore wallet

We need to revisit all of this with any change/fix from zingolib.

@juanky201271 juanky201271 changed the title Offline mode (serverless) Offline mode (serverless) & No internet connection mode Dec 5, 2024
@juanky201271 juanky201271 self-assigned this Dec 6, 2024
@juanky201271 juanky201271 marked this pull request as ready for review December 9, 2024 20:50
@juanky201271 juanky201271 merged commit f078e1c into zingolabs:dev Dec 9, 2024
57 of 65 checks passed
@juanky201271 juanky201271 deleted the dev_serverless_mode branch December 9, 2024 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serverless - We need to operate without any server
3 participants