cognito-idp.${config.cognito.REGION}.amazonaws.com/${config.cognito.USER_POOL_ID}
,aws-exports
, but it does while local dev
amplify publish
deploys just fine
Hi All. I have two separate amplify projects - one built with React-Native which has its own Cognito user pools, DB, etc and another independent project for React (Admin console) with its own user-pools, DB etc.
How can I share the database (GraphQL via Amplify API) from one project to the other? Backend is DynamoDB
Hi All. I have two separate amplify projects - one built with React-Native which has its own Cognito user pools, DB, etc and another independent project for React (Admin console) with its own user-pools, DB etc.
How can I share the database (GraphQL via Amplify API) from one project to the other? Backend is DynamoDB
Ah - found out how to do it - simply switch the endpoint and run amplify configure
Amplify.configure({Analytics: { AWSPinpoint: { appId: 'YOUR EXISTING PINPOINT ID', region: 'YOUR REGION'} } } );
https://aws-amplify.github.io/docs/js/analytics#manual-setup