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

User avatar photo doesn't display when logging into app #289

Open
am-MongoDB opened this issue Sep 17, 2020 · 16 comments
Open

User avatar photo doesn't display when logging into app #289

am-MongoDB opened this issue Sep 17, 2020 · 16 comments
Assignees
Labels
bug Something isn't working days: 0.5 Estimated to take half a day to implement hacktoberfest
Milestone

Comments

@am-MongoDB
Copy link
Collaborator

When first logging into the app, the user is taken to the map screen, but their avatar image isn't displayed until they navigate to another view and then return

@am-MongoDB am-MongoDB added bug Something isn't working days: 0.5 Estimated to take half a day to implement labels Sep 17, 2020
@am-MongoDB am-MongoDB added this to Backlog in O-FISH iOS via automation Sep 17, 2020
@am-MongoDB am-MongoDB moved this from Backlog to To do in O-FISH iOS Sep 17, 2020
@o-fish-wildaid
Copy link
Collaborator

@Sheeri Sheeri added this to To do in Hacktoberfest 2020 via automation Sep 17, 2020
@Sheeri Sheeri removed this from To do in O-FISH iOS Sep 17, 2020
@am-MongoDB am-MongoDB added this to Backlog in O-FISH iOS via automation Sep 17, 2020
@pankova
Copy link

pankova commented Sep 27, 2020

Hello! 🙂 Could I help you with it as Hacktoberfest participating?

@am-MongoDB
Copy link
Collaborator Author

Hi @pankova I've assigned this issue to you – welcome to the project!

@pankova
Copy link

pankova commented Oct 4, 2020

@am-MongoDB hello! Could you say:

  1. Should I use AWS-secret-key for step 5.1.d? If yes, where I could get it?
  2. On step 6.6 after command
realm-cli import --strategy=replace --include-dependencies --app-id=REALM_APP_ID

I get a log.

Import dependencies
Please confirm the changes shown above: [y/n]: y
Creating draft for app...
Draft created successfully...
Importing app...
Deploying app...
Deploying app...
Done.
transpiling dependencies started.
exec: "transpiler": executable file not found in $PATH
  • I could see the imported code in Realm App "Functions", but is the last log string is important? should I do smth to fix it? I googled nothing 🤔

@Sheeri
Copy link
Collaborator

Sheeri commented Oct 4, 2020

Hi @pankova - how did you install Realm CLI? and what version of realm CLI do you have?

@pankova
Copy link

pankova commented Oct 4, 2020

Hi @pankova - how did you install Realm CLI? and what version of realm CLI do you have?

Hi) 1.1.0

@Shubham0812
Copy link

@am-MongoDB is this done? I'd love to take this up 👍

@pankova
Copy link

pankova commented Oct 5, 2020

Just in case, it isn't a critical problem. I have built the app. I will do the task after work 🙂

@am-MongoDB
Copy link
Collaborator Author

Hi @pankova the issue is still open, and so we'd love to receive a PR. For the transpiler warning, you can probably get rid of it by removing the --include-dependencies option when you import the app (that brings in some node-modules that aren't needed for the standard functionality)

@pankova
Copy link

pankova commented Oct 6, 2020

@am-MongoDB is this done? I'd love to take this up 👍

Hello. I'm in progress 🙂

@pankova
Copy link

pankova commented Oct 7, 2020

@am-MongoDB Sorry, could you check my steps? I have profilePic in the User database. After login, I see the avatar on screen with map and profile screen without navigating to other views.

I made a record:
Screen Recording 2020-10-07 at 23.12.44.mov.zip

@am-MongoDB
Copy link
Collaborator Author

Hi @pankova – based on that video, I'm assuming that this isn't the first time that you've logged into this app in this simulator?

Try removing the app (which will clear any local Realm data) and then reinstall it. Once you log in, Realm starts syncing data, including the profile picture. That can take a number of seconds if there are a lot of existing reports to sync. The view isn't being automatically refereshed once the profile pic is available – it appears if (for example) you open the search view and then return to this one.

If you don't see this behaviour, then it might be because you don't have a large number of reports to sync?

@Sheeri
Copy link
Collaborator

Sheeri commented Oct 7, 2020

Unassiging at @pankova 's request.

@Sheeri Sheeri added this to the 2022_04_18 milestone Mar 25, 2022
@Dmitriy-Holovnia
Copy link
Collaborator

It's realm side bug. On the first request, we don't get an image. It may have been fixed in the release version. JFY we are using 10.0.0-beta.3 for now, current release version is 10.18.0

@Sheeri
Copy link
Collaborator

Sheeri commented Apr 27, 2022

OK. Let's talk tomorrow (Thursday) in the meeting about how to upgrade Realm for all three apps (ios, mobile, android).

@Sheeri
Copy link
Collaborator

Sheeri commented Jun 13, 2022

According to #454 we are at 10.0.19, so can we see if this is still a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working days: 0.5 Estimated to take half a day to implement hacktoberfest
Projects
O-FISH iOS
  
Backlog
Development

No branches or pull requests

6 participants