-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How could I use mutiple Amplify in single project? #1962
Comments
Hi @mengshuaishuai 👋🏼 I'm having problems inferring your question here, could you be more specific about "multiple Amplify" ? Are you looking answers for multiple backends for your single Amplify project ? |
Hi When building a fairly large amplify project, you may want to manage separate backends for each feature. One problem is that cloudformation template size is limited to 1MB. Therefore, I would like to seamlessly access another backend from a frontend app that cooperates with each backend. Since the application is developed in monorepo, it is an image that each workspace has an amplify backend directory. I would like to know how to achieve this. |
Hello @rnrnstar2 -- we do not currently support this feature. It may be possible to use the workaround linked above aws-amplify/learn#293 (comment), as the limitation against using cookies seems to be applicable to JS-based solutions such as React Native. On Android applications of course you can use something like SharedPreferences to communicate between the various backends. However, you may run into other issues when attempting to do so. We can take a feature request to provide a more comprehensive approach to this multiple-backend use case, but unfortunately cannot share any timeline details. |
Before opening, please confirm:
Language and Async Model
Java, Kotlin
Amplify Categories
GraphQL API, DataStore
Gradle script dependencies
dependencies {
}
Environment information
Gradle 7.3.3
Build time: 2021-12-22 12:37:54 UTC
Revision: 6f556c80f945dc54b50e0be633da6c62dbe8dc71
Kotlin: 1.5.31
Groovy: 3.0.9
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 1.8.0_311 (Oracle Corporation 25.311-b11)
OS: Mac OS X 10.12.6 x86_64
Please include any relevant guides or documentation you're referencing
No response
Describe the feature request
I got two Amplify app with different models, I want to use both of them in my Android app, how should I do?
Initialization steps (if applicable)
No response
Code Snippet
// Put your code below this line.
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: