bisq-network/bisq-mobile

ApplicationService: Profile

Closed this issue · 3 comments

this issues goal are:

  • dev ApplicationService logic to create profile is not existing (done)
  • dev ApplicationService logic to convert the protobuf UserProfile into a domain/model object that shared UI can use
  • use the repository (or create one) that allows to save/load that model (see current examples of Repositories)
  • Since the bisq2 services already persist the profile we do not need persistance for this one, just make sure its loaded into the repository for the rest of the app to have access to it

After this is done the UI can fetch the profile from the repository and show its data on the implementation of the user profile screen + user avatar (the cathash can be left aside for the purpose of this issue)

@HenrikJannsen is working on this

for review - works also for xClients -> here is the branch

if you want to try out the client mode with API you need to run bisq2 restapi app (i just merged https://github.com/bisq-network/bisq2/pull/3001).
jvm args: -Dapplication.appName=bisq2_restApi_clear -Dapplication.network.supportedTransportTypes.2=CLEAR -Dapplication.devMode=true
main class: [bisq.rest](http://bisq.rest/)_api.RestApiApp

We can consider this one done, for xClients some stuff is missing to be able to show the data in the profile settings but henrik is working on it in the context of this current issue #95 and #54