Hey, i'm trying to get the avatar picture this is the code
TypeScript
import { StyleSheet, Text, View, Image } from 'react-native'
import React from 'react'
const Profile = () => {
return (
<View>
<Text>Profile</Text>
<Image
source={{ uri: avatar }}
/>
</View>
)
}
export default Profile
TL;DR
Developers are having trouble accessing the avatar picture in their code. The issue is caused by not properly defining the 'avatar' variable. The solution is to make sure that 'avatar' is properly defined or passed as a prop.Recommended threads
- Websites hosted on my appwrite sites hav...
Hello, all my websites hosted on appwrite sites are not running I am getting this message "This site can’t be reached drivehub.appwrite.network took too long t...
- Session cookies stored on wrong (sub-)do...
Hi, I own a domain `example.com` which is registered with the Appwrite nameserver. My website runs on Sites, using `www.example.com` as domain, and my function...
- Appwrite Auth & Function don't reveal cl...
When I execute a function or sign in with my Flutter app, Appwrite does not show my real IP: instead, it seems that Appwrite shows Fastly CDN IP address.