triniwiz / triniwiz/nativescript-plugins
nativescript-toasty 4.1.0 Android 11: backgroundColor and color is not applied
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 87
- Forks
- 57
- Avg merge
- 1h 36m
- Merged PRs (30d)
- 4
Description
On Android 11, the backgroundColor and color is not applied correctly, it is always lightgray (and then the app crashes, as described here: https://github.com/triniwiz/nativescript-plugins/issues/18)
const toast = new Toasty({ text : text })
.setToastPosition(ToastPosition.BOTTOM)
.setTextColor("#FFFFFF")
.setBackgroundColor("#656565"); //dark
toast.show();
The backgroundcolor should be dark, but it is alyways light. The color should be light, but it is dark.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the provided Toasty snippet with nativescript-toasty 4.1.0 on Android 11 and confirm the incorrect colors and crash. The issue names no source file or test; locate the plugin's Android toast implementation, then verify that backgroundColor and text color are applied as requested without the reported crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100