hello I'm a beginner, I want to ask how to display the profile picture in native based on the user who is currently logged in, I've tried using the same method as on the web but it doesn't work, please help thank you
asked
Teguh Sumarno
1 answers
1
Hi teguh,
If you make a 1-1 assosication between Account and ProfilePicture (eg speciation) the proflie picture only belongs to one profile, which is the currentUser.
so what you do is:
create entity ProfilePicture
add an 1-1 relation with entity Account
Use the ProfilePicture as input for you image viewer.