aws-amplify / aws-amplify/amplify-android
How could I use mutiple Amplify in single project?
- Dominant language
- Java
- Stars
- 287
- Forks
- 132
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 45
Description
### Before opening, please confirm:
- [X] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-android/issues?q=is%3Aissue+) and [discussions](https://github.com/aws-amplify/amplify-android/discussions).
### Language and Async Model
Java, Kotlin
### Amplify Categories
GraphQL API, DataStore
### Gradle script dependencies
dependencies {
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.4.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
// Amplify core dependency
api 'com.amplifyframework:aws-datastore:1.37.3'
api 'com.amplifyframework:core:1.37.3'
api 'com.amplifyframework:aws-api:1.37.3'
}
### 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
```java
// Put your code below this line.
```
### amplifyconfiguration.json
_No response_
### GraphQL Schema
```graphql
// Put your schema below this line
```
### Additional information and screenshots
_No response_
Contributor guide
Research direction
The issue names GraphQL API and DataStore dependencies but provides no source file, test, initialization entry point, or configuration. Start by reviewing the Amplify Android initialization documentation and determine the supported approach for two Amplify apps; completion would require a documented, confirmed solution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, graphql, java, kotlin
- Domain
- api, databases, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100