You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Hello all, whoever is active on this thread. I have been facing an issue exactly like this. Currently, I am building an SDK for our team and that SDK is for iOS which uses AWS REST APIs to interact with API GW. I am using Amplify for that. Everything works as long as the client app importing our SDK doesn't have their own Amplify setup.
When it does, one ends up in a situation where you can't configure Amplify twice! like Amplify.configure(). Also, not to mention the conflicts between configuration.json files sometimes. We are planning to move away from Amplify now cause even for just hitting one API request there're bunch of configurations and setup needed which doesn't even work for this use case.
So, before doing that, I wanted to ask someone here that is it even possible to make this work? Using Amplify SDK as a third party tool in our own SDK and then to avoid clashes between the client app leveraging our SDK at the very end.
Describe the solution you'd like
To have a multiple Amplify.configure() object support in the same project
Describe alternatives you've considered
Trying to set the configuration at the runtime but I am not sure if that's gonna work
Is your feature request related to a problem? Please describe.
Hello all, whoever is active on this thread. I have been facing an issue exactly like this. Currently, I am building an SDK for our team and that SDK is for iOS which uses AWS REST APIs to interact with API GW. I am using Amplify for that. Everything works as long as the client app importing our SDK doesn't have their own Amplify setup.
When it does, one ends up in a situation where you can't configure Amplify twice! like Amplify.configure(). Also, not to mention the conflicts between configuration.json files sometimes. We are planning to move away from Amplify now cause even for just hitting one API request there're bunch of configurations and setup needed which doesn't even work for this use case.
So, before doing that, I wanted to ask someone here that is it even possible to make this work? Using Amplify SDK as a third party tool in our own SDK and then to avoid clashes between the client app leveraging our SDK at the very end.
Describe the solution you'd like
To have a multiple Amplify.configure() object support in the same project
Describe alternatives you've considered
Trying to set the configuration at the runtime but I am not sure if that's gonna work
Additional context
It's similar to this issue here :- aws-amplify/amplify-js#2501
The text was updated successfully, but these errors were encountered: