Open wspringe opened 7 years ago
@wspringe can you paste how you are using metadata? it should be available with profile.userMetadata
@hzalaz Thanks for the response! I am using it like this:
<Text style={styles.hintText}>{this.props.profile.roles}</Text>
This works when using an android emulator, but not when using the iOS simulator. It returns an empty string. I also tried {this.props.profile.userMetadata} and {this.props.profile.userMetadata.roles} and they both still returned empty string and return an error.
Hello,
I am having an issue where the user metadata is empty in the profile object on iOS. It is currently working on android and both platforms are using my same code. I am using roles in this case as the only item in the user metadata.
I am using the same code provided in the tutorial.
Any help is appreciated!