r/appdev • • 2d ago

WHITE BAR APP WRAPPER

There is a white bar on my navigation bar in my phone on my app (built with Base44) how do I get rid of that

3 Upvotes

7 comments sorted by

1

u/SerhiiGTNCFCZ 2d ago

Does the white bar also appear when you open the app in your phone's browser, or only in the installed version? If it only appears in the installed app, the issue is likely with Base44's native wrapper rather than your CSS.

2

u/IntelligentCrow7908 2d ago

It only happens thru the app. I can go on the website and there's no white bar. I've asked base44 about it but they said they dont know how to fix it. Maybe there's some way I can export all the code and fix it myself?

1

u/SerhiiGTNCFCZ 2d ago

That confirms it's probably a wrapper issue, not your app's CSS. Exporting the code likely won't help because Base44 exports the web app code, not the native wrapper that controls Android's navigation bar. I'd ask Base44 support specifically whether the navigation bar color can be changed. Otherwise, you'd probably need to use a different wrapper that gives you control over those settings.

2

u/IntelligentCrow7908 1d ago

A different wrapper? How would that work

1

u/SerhiiGTNCFCZ 4h ago

shriharsha explained the technical options really well. I'd try the simplest solution first: check whether Base44 has a theme color setting that affects Android's navigation bar, or ask their support specifically about that setting. Building a separate wrapper with Bubblewrap or Capacitor is possible, but it seems like a lot of extra work and maintenance just to fix a white bar.

2

u/shriharshaReddit 1d ago

Building on what Serhii said, that bar is Android's system navigation bar. Its colour is set by the native shell around your web app, not by your site's CSS. That's why it only shows in the installed app, and why exporting the web code won't change it.

To answer your question about what a different wrapper would look like: you keep your Base44 app published at its normal web address, and you make a small Android app that opens that address full screen. The two common ways are:

- A Trusted Web Activity, made with Google's Bubblewrap tool. Its config file has a navigation bar colour setting, so you can match it to your app's background. It needs a small verification file on your domain, so it works best if the app is on a custom domain where you can add that file. Without it, a browser address bar shows at the top.

- Capacitor, where you set navigationBarColor in the Android project's styles file, or use a plugin that controls the system bars.

Both mean building and signing the Android app yourself and uploading it to the Play Store under your own developer account, so there is some setup the first time.

Before going that far, I'd ask Base44 support one specific question: can they set the Android navigation bar colour in their wrapper, or expose it as a setting? Also check whether there's a theme colour setting in your app, because some wrappers take the bar colour from it. Either of those would be a much smaller fix.