expo / expo/examples

Error loading withAuthenticator with aws-amplify-react-native

Open
#85 1 comment 0 reactions 0 assignees View on GitHub
bug Platform: web
Dominant language
TypeScript
Stars
3.7k
Forks
1.1k
Avg merge
11h 15m
Merged PRs (30d)
1

Description

Using the aws amplify auth for mobile mode works well but for the web mode shows this error: Can’t find AmplifyTheme variable

This is the code (comes from the official website)

```tsx
import { withAuthenticator } from 'aws-amplify-react-native';
import Amplify from 'aws-amplify';
// Get the aws resources configuration parameters
import awsconfig from './aws-exports'; // if you are using Amplify CLI

Amplify.configure(awsconfig);

// ...

export default withAuthenticator(App);
```

Thanks in advance!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.