2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
1
To remove the "Create Account" option from the Amplify Auth UI in your React Native app, set the hideSignUp
option to true
in the withAuthenticator
component. Here’s how you do it in your code:
export default withAuthenticator(App, { hideSignUp: true });
0
I missed this documentation: https://ui.docs.amplify.aws/react-native/connected-components/authenticator/configuration#hide-sign-up
here is the solution
<Authenticator.Provider>
<Authenticator
components={{
SignIn: (props) => (
<Authenticator.SignIn {...props} hideSignUp />
),
}}
>
......
</Authenticator>
</Authenticator.Provider>
beantwortet vor 2 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
Still doesn't work. I've reset simulator settings, cleared cache, rebuild the project. And it keeps showing the "Create Account" link I also tried the following code, but it doesn't work