react-native-svg icon indicating copy to clipboard operation
react-native-svg copied to clipboard

JSON value '50%' of type NSString cannot be converted to NSNumber

Open huydosgtech opened this issue 3 years ago • 1 comments

Fix bug server return string instead number in borderRadius

Summary

Explain the motivation for making this change: here are some points to help you:

  • What issues does the pull request solve? Please tag them so that they will get automatically closed once the PR is merged
  • What is the feature? (if applicable)
  • How did you implement the solution?
  • What areas of the library does it impact?

Test Plan

Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.

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
  • [ ] I added documentation in README.md
  • [x] I updated the typed files (typescript)
  • [ ] I added a test for the API in the __tests__ folder

huydosgtech avatar May 27 '22 08:05 huydosgtech

Hello @huydosgtech,

Could you please explain and provide an example to run a test case, demonstrating how it behaves before and after those changes? Thank you.

bohdanprog avatar Jul 11 '24 07:07 bohdanprog