react-native-svg
react-native-svg copied to clipboard
JSON value '50%' of type NSString cannot be converted to NSNumber
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
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.