DEV Community

loading...

Discussion on: Authentication 🔐 CUSTOM SETUP / AWS Amplify + React Native

Collapse
nihp profile image
nihp • Edited

I am using the aws-amplify-react-native package and imported all screens from there. How can I customise the error message in that imported screen.

Collapse
serverlesskiy profile image
Collapse
nihp profile image
nihp

Any option to customize this from aws-amplify-react-native package itself. For eg) In sign In if I not filled password it shows the error as "Custom auth lambda trigger is not configured for the user pool."

How can I change this error message

Thread Thread
serverlesskiy profile image
Server Serverlesskiy Author

Put the code on github and I'll see.

Thread Thread
nihp profile image
nihp • Edited

I have found solution to customize the error message github.com/aws-amplify/amplify-js/...

Thanks

Thread Thread
nihp profile image
nihp

Can I override the default screen to my custom screen with the same SignIn, SignUp, ConfirmationScreen and Forgot Password screens.

I am using aws-amplify-react-native package.

If I override like this it not reflected as I expected. It shows all the screens in a single screen. How can I add this?

Already I have all the setup except the custom UI. I have used default screens already. But now I need custom screens alone with the already provided functionality in my UI.

Can you suggest any easy way to refactor only the UI screens?