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
I have two custom configs form amplify in my bundle: amplifyconfiguration.production.json and amplifyconfiguration.staging.json and they are paired with awsconfiguration.production.json and awsconfiguration.staging.json. I searched the repo trying to understand where awsconfiguration.json gets loaded but not sure where I can find it how its used.
I wanted on the call to Amplify.configure maybe to be able to pick the correct file?
The text was updated successfully, but these errors were encountered:
Hi @vitor-neurodelabs, awsconfiguration.json is not used by Amplify, you can leave them or remove them. They are used with the AWS iOS SDK, and a legacy artifact. Calling Amplify.configure() will read amplifyconfiguration.json from the main bundle. If you have production and staging, you may want to read the files into memory and directly call Amplify.configure(config) objects. Let us know if you have more questions
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
I have two custom configs form amplify in my bundle:
amplifyconfiguration.production.json
andamplifyconfiguration.staging.json
and they are paired withawsconfiguration.production.json
andawsconfiguration.staging.json
. I searched the repo trying to understand whereawsconfiguration.json
gets loaded but not sure where I can find it how its used.I wanted on the call to
Amplify.configure
maybe to be able to pick the correct file?The text was updated successfully, but these errors were encountered: