diff --git a/example/README.md b/example/README.md index cc829fec..a4faa193 100644 --- a/example/README.md +++ b/example/README.md @@ -16,8 +16,4 @@ The application will be built and launched on the specified platform, allowing y ### To run on different Auth0 Application 1. Change the `clientId` and `domain` value in `example/src/auth0-configuration.js` -2. For Android, Change the `auth0Domain` value in `example/android/app/build.gradle` - -``` -manifestPlaceholders = [auth0Domain: "YOUR_DOMAIN_HERE", auth0Scheme: "${applicationId}"] -``` +2. For Android, Change the `android:host` values in `example/android/app/src/main/AndroidManifest.xml` diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index f09c63d4..3600e684 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -31,11 +31,11 @@ diff --git a/example/src/App.tsx b/example/src/App.tsx index 25edbbc7..9bb9910e 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -109,8 +109,8 @@ const SecondScreen = () => { const SecondScreenProvider = () => { return ( diff --git a/example/src/auth0-configuration.js b/example/src/auth0-configuration.js index 4e58654e..1c26d611 100644 --- a/example/src/auth0-configuration.js +++ b/example/src/auth0-configuration.js @@ -1,6 +1,8 @@ const config = { - clientId: 'u7KBoASmHOpIFqwp77tmGRHnUVaMupBj', - domain: 'brucke.auth0.com', + clientId: 'your-client-id', + domain: 'your-domain', + clientIdSecondScreen: 'your-client-id', + domainSecondScreen: 'your-domain', }; export default config;