GeekyAnts / GeekyAnts/NativeBase
[Android] [Toast] com.facebook.react.bridge.ReadableNativeMap cannot be cast to java.lang.Double
- Dominant language
- TypeScript
- Stars
- 20.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
`toast.show` causes a fatal error on Android
### CodeSandbox/Snack link
https://codesandbox.io/s/beautiful-currying-qdihf4
### Steps to reproduce
Use code from sandbox on Android Samsung S10 device.
### NativeBase Version
^3.4.25
### Platform
- [X] Android
- [ ] CRA
- [X] Expo
- [ ] iOS
- [ ] Next
### Other Platform
_No response_
### Additional Information
_No response_
Contributor guide
Research direction
Start by reproducing the crash from the linked CodeSandbox/Snack on an Android Samsung S10, using the reported NativeBase version and the toast.show entry point. Trace the Android handling that produces the ReadableNativeMap-to-Double cast failure; done means toast.show works without a fatal error on Android.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100