Conflicts between AWS SDK in this plugin and others #822
Description
Describe your question
Hey y'all,
first of all thanks for a great plugin! :)
Since Amazon Polly was added as a text-to-speech provider this plugin can conflict with other plugins (or other parts of wp-apps) that also uses the AWS SDK. In general this wouldn't be a big problem as long as both places that loaded the SDK where using a somewhat similar version. But since Classifai removes all services from the AWS SDK except for Polly this can lead to issues such as missing methods in the SDK.
I realize that loading all of the AWS SDK will make the plugin-zip really large, so I was wondering if maybe you could use something like https://github.com/coenjacobs/mozart to namespace the dependencies brought in via composer? Or if you've got any better ideas to solve the conflict.
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Assignees
Type
Projects
Status
To Do
Activity