Jasonette / Jasonette/JASONETTE-iOS

Android version not handling background style correctly

Open
#351 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.2k
Forks
347
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have written an app that works perfectly well on iOS, but not on Android. The general style is black as a background and green is the foreground color used throughout the views. I simply get a white screen on the Android version, whereas I get the intended green on black layout on the iOS version.

Here is an extract of what I would expect to have working on both versions:

...

"templates": {
"body": {
"header": {
"title": "xxxx",
"style": {
"background": "#0",
"color": "#00ff00"
}
},
"style": {
"background": "#0",
"color": "#00ff00",
"border": "none",
"size": "20"
},
"sections": [
{
"items" ......

If I play around with the background, I can see the items. Although they are incorrect, I see them. Otherwise all I see is a total white background. On the iOS version I see exactly what is intended, black background and green foreground color.

Any help would be appreciated.

Thanks,
Hany

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Android rendering problem with the supplied templates.body configuration, especially the header and body style fields. Compare the Android result with the working iOS result and verify that the background and foreground colors render as specified; done means the green-on-black layout appears on Android as well.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, javascript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.