However, if you pass the array with single value array like ["example.com"], it will be count as string in your backend. It is using request.addArrayParameter("key", List) in native code.
What's required for testing (prerequisites)?
What are the steps to reproduce (after prerequisites)?
Compatibility
OS
Implemented
iOS
❌
Android
✅
Checklist
[X] I have tested this on a device and a simulator
[X] I added the documentation in README.md
[X] I updated the typed files (TS and Flow)
[ ] I've added Detox End-to-End Test(s)
[ ] I've created a snack to demonstrate the changes: LINK HERE
Summary
Add capability to upload multiple files in one request and array of string in parameters.
Test Plan
Android only, multiple files upload in one shot via Multipart
Send all the files in
files
param. In this casepath
,field
&type
will be ignored. Example:Note that
type
will always be multipart whenfiles
is passedAndroid only, multiple parameters in one shot via Multipart
Send parameters as list of string.
However, if you pass the array with single value array like ["example.com"], it will be count as string in your backend. It is using request.addArrayParameter("key", List) in native code.
What's required for testing (prerequisites)?
What are the steps to reproduce (after prerequisites)?
Compatibility
Checklist
README.md