GeekyAnts / GeekyAnts/NativeBase

[Android] [Toast] com.facebook.react.bridge.ReadableNativeMap cannot be cast to java.lang.Double

Open
#5,636 2 comments 1 reaction 0 assignees View on GitHub
bug triage v3
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.