Closed ketan-pcs closed 2 months ago
Hi @ketan-pcs ,
Did you add any polyfills?
If you are consuming modular AWS SDK for JavaScript on react-native environments, you will need to add and import following polyfills in your react-native application:
react-native-get-random-values react-native-url-polyfill
import "react-native-get-random-values"; import "react-native-url-polyfill/auto";
Thanks, Ran~
This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Checkboxes for prior research
Describe the bug
I'm encountering an error while integrating AWS Textract with a React Native application. When attempting to analyze an ID document using the AnalyzeIDCommand from the @aws-sdk/client-textract package, I'm receiving the following error message: [Error: URL.hostname is not implemented]
SDK version number
3.592.0
Which JavaScript Runtime is this issue in?
React Native
Details of the browser/Node.js/ReactNative version
0.74.1
Reproduction Steps
[Error: URL.hostname is not implemented]
Observed Behavior
Expected Behavior
give a response
Possible Solution
No response
Additional Information/Context
No response