Bablo ResourcesDocs

Phone App

The banking UI can run as a native mobile app inside a phone resource, so players open their bank straight from the in‑game phone. lb-phone is wired in automatically; RoadPhone and yseries each need one small manual entry.

Every phone below loads the same web build over cfx-nui, so three things must be true no matter which phone you use:

  1. The resource folder is named bablo-banking (the app URLs point at cfx-nui-bablo-banking).
  2. The web build exists at src/web/dist (shipped by default).
  3. bankappicon.png sits in the resource root (already listed in fxmanifest.lua).

If you renamed the resource, replace bablo-banking in every URL below with your folder name.

The ?phone=<name> value at the end of each URL is what tells the UI to render in standalone phone mode. Keep it as shown for each phone.

lb-phone is registered automatically — there are no manual entries. Just make sure it is enabled in config.lua:

LUA
Config.PhoneApp = {
    Enabled       = true,        -- master switch
    PhoneResource = 'lb-phone',
    Identifier    = 'bablo-bank',
    Name          = 'Banking',
    Description   = 'Banking app',
    Developer     = 'Bablo',
    DefaultApp    = true,        -- pre-installed on the home screen
    Size          = 59812,
    FixBlur       = true,
    Icon          = 'bankappicon.png',
    RetryIntervalMs = 5000,
}

Restart bablo-banking. The Banking app appears on the phone automatically (it registers itself through lb-phone’s AddCustomApp export and re-registers if lb-phone restarts).

Notifications on lb-phone use lb-phone’s own native banner.

Troubleshooting

The app icon shows but the screen is blank / white
The URL host must match your resource folder. If you renamed bablo-banking, update cfx-nui-bablo-banking in the app URL and the icon URLs to your folder name, then restart the phone resource.
The app never appears on the phone
Confirm the phone resource started after bablo-banking, that bankappicon.png exists in the resource root, and that src/web/dist is present. For lb-phone specifically, make sure Config.PhoneApp.Enabled = true and PhoneResource matches your lb-phone folder name.
Can I use more than one phone at the same time?
Yes. lb-phone, RoadPhone and yseries can each be configured independently — they all load the same app and share the same accounts and data.