Rebranding
name, ids, icon, colours.
What you can change in the console without code, and what needs a rebuild: app name, application id, bundle id, App Group, icons, colours and fonts.
01Without code: what the console can and cannot change
| You can change in the console | Needs a rebuild |
|---|---|
| App name shown inside the app (title, Pro screen, About), support e-mail, terms and privacy URLs | The app name on the home screen, application id, bundle id, App Group |
| Labels, disclaimer, features on or off, sign-in buttons, index strip, featured tickers | Icon, launch screen, fonts |
| Market data, news feeds, AI, ads, Pro, affiliates, sponsored slots | Colours and the visual design (theme tokens) |
| Push campaigns | Translations of the app texts |
The app reads the console settings from GET /v1/config each time it starts; the API caches them for about a minute.
02App name on the home screen
- Android:
android:label="Stock Master"inapp/android/app/src/main/AndroidManifest.xml. - iOS:
CFBundleDisplayNameinapp/ios/Runner/Info.plist. - Web:
nameandshort_nameinapp/web/manifest.jsonand the title inapp/web/index.html. - Widget titles:
sm_widget_watchlist_titleandsm_widget_portfolio_titleinapp/android/app/src/main/res/values*/sm_widget_strings.xml, and the.lprojstrings of the iOS widget.
03Application id and bundle id
The package ships with the placeholder com.yourcompany.stockmaster. Change it before flutterfire configure.
| Where | What to change |
|---|---|
app/android/app/build.gradle.kts | namespace and applicationId |
Kotlin package folder app/android/app/src/main/kotlin/com/yourcompany/stockmaster/ | Move the files to your package and update the package line in each; .WatchlistWidgetProvider and .PortfolioWidgetProvider in AndroidManifest.xml follow the package |
app/lib/services/widget_sync.dart | androidPackage and appGroup |
| Xcode → Runner and StockMasterWidget → Signing & Capabilities | Bundle identifiers (… and ….StockMasterWidget) |
| Console → Pro and purchases | Android package name and iOS bundle id for store verification |
After the change run flutter clean && flutter pub get and build once. A project-wide search for com.yourcompany.stockmaster must find nothing left that you meant to change (on Windows PowerShell use Select-String -Path . -Pattern "com.yourcompany.stockmaster" -Recurse from app).
04App Group (iOS)
Change it in four places and register it in your Apple Developer account: see Home-screen widgets.
05App icon
- Source image:
app/assets/brand/logo-1024.png. - Android: the
ic_launcherfiles inapp/android/app/src/main/res/mipmap-*. - iOS:
app/ios/Runner/Assets.xcassets/AppIcon.appiconsetand the launch screen inLaunchImage.imagesetandBase.lproj/LaunchScreen.storyboard. Open the workspace in Xcode and drop in your 1024 px icon. - Web:
app/web/icons/andapp/web/favicon.png.
The package ships the author's own placeholder icon. Use your own artwork.
06Colours (theme tokens)
The design "Soft Cards" lives in app/lib/sm/theme.dart. A warm off-white page, white rounded cards, one pastel tile colour per topic and black pill buttons; dark mode keeps the structure on near-black cards.
| Token | Where | Used for |
|---|---|---|
SmColors.sage, lilac, butter, sky and their on… text colours | theme.dart | Topic tiles: holdings, dividends, events, market |
SmColors.upLight/downLight/upDark/downDark | theme.dart | Gain and loss colours |
SmPalette.light and SmPalette.dark | theme.dart | Page, card, ink, muted, hairline and chip colours per mode |
Sm.card, Sm.tile, Sm.pad, Sm.gap | theme.dart | Radii and spacing |
Change a value, hot-reload, and every screen follows. Keep gain and loss distinguishable for colour-blind users (the app also shows signs and arrows) and keep text on tiles at 4.5:1 contrast, as the comments in the file note. The console's accent colour field is stored with the settings but the 2.0.0 screens take their colours from these tokens, so changing it in the console does not recolour the app.
07Fonts
The interface uses the variable font Inter (app/assets/fonts/inter/, SIL OFL 1.1). To swap a font, replace the file, update fonts: in app/pubspec.yaml and the fontFamily in theme.dart, and keep the new font's licence file next to it. The OFL requires you to rename a font you modify.
08Motion and reduced motion
Decorative animation switches off when the system asks to reduce motion (iOS Reduce Motion, Android Remove animations). That is intended.
09Legal pages
Host your privacy policy and terms on your own site and enter the URLs in Console → Legal. Both stores require them. The app's "About", terms and privacy screens open them. If you enable ads, analytics through an ad network or accounts, your policy must say so, including the retention of purchase records described under Account deletion.