edge-login-ui
edge-login-ui copied to clipboard
Not receiving list of password recovery questions
I've directly loaded the PasswordRecoveryScreen found in exportAPIComponents directory. It seemed to be working just fine until I clicked on "Choose recovery question". The recovery questions do not load - it's just a blank screen. What am I missing?
"edge-core-js": "0.16.4", "edge-login-ui-rn": "^0.5.34",
import { PasswordRecoveryScreen } from 'edge-login-ui-rn';
render () { return ( <ScrollView style={styles.scrollview}> <View style={{ flex: 1 }}> <PasswordRecoveryScreen accountObject={this.props.edgeAccount} context={this.props.edgeContext} onComplete={() => {}} onCancel={() => {}} /> </View> </ScrollView> ); }
We do fetch these questions from the info server (https://github.com/EdgeApp/edge-core-js/blob/368d6f4ac787b9cae4b8680dd25201346f81ade4/src/core/login/recovery2.js#L194). Is the request failing, perhaps? Are you getting any error information in the debug console?