Check out example codes for "swift resource exceeds maximum size". It will help you in understanding the concepts better.

Code Example 1

JSONEncoding.default to URLEncoding.default

Learn ReactJs, React Native from akashmittal.com