amplify withAuthenticator component works on web, but not on mobile (no error logs)

0

Here is a repository I created that contains a reproducible minified example of the issue. There is also a stack overflow thread describing a similar issue, however that issue has logs.

This seems to explicitly be an issue with expo-router's interaction with '@aws-amplify/ui-react-native'. The issue persists with both <Authenticator.Provider> and withAuthenticator.

Issue

  • the higher-order component withAuthenticator works as expected on web

  • does not work on mobile (iOS or Android)

    • there are no logs to indicate what the issue is
  • Here are images of the issue: images for all three platforms

To Reproduce

  • git clone this repository
  • install the npm packages with npm install
  • run with npx expo start
    • test on web by pressing w in the terminal or visiting localhost:8081
    • run the iOS simulator by pressing i (if on a Mac)
    • test with android by pressing a
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인