#[LB-PHONE] - CUSTOM APP

22 messages · Page 1 of 1 (latest)

surreal lodge
#

why when i add custom app then change my job the custom app disappaer and not show up again until i restart the script of custom app
ESX LEGECY

keen spade
#

#🔰customer-support message

surreal lodge
#

[LB-PHONE] - CUSTOM APP

#

Product: LB PHONE
Issue: custom app problem
When: i change my job the custom app disappaer from the phone until i restart custom app script
How to recreate: change job
Does this happen for everyone: YES
Attachment: nil
Version: "2.3.7"
Framework: ESX LEGECY
Has this bug appeared more than once? If so, how often?: Every time

grim mountain
#

I'm unable to recreate this. Please send more detailed steps on how to recreate this bug

grim mountain
#

Again, I'm unable to reproduce this bug. It also looks like this doesn't happen to all custom apps, since the PicChat app (which is a custom app) stays on the phone. My guess is that it's something in your custom apps that causes this

#

can you send your lb-phone config?

surreal lodge
#
Config.WhitelistApps = {
    ["bashar"] = { 'amn_police', 'drugs_police', 'main_police', 'police', 'traffic_police', 'maba7s', 'swat', 'afwag' }
}```
and i add one of custom app in whitelist
and the another i didn't add it
but still the 2 disappear
grim mountain
#

I'd recommend adding some debug prints to the HasAccessToApp function to see why they're being removed

surreal lodge
#
function addBasharApp()
    local added, errorMessage = exports["lb-phone"]:AddCustomApp({
        identifier = identifier,
        name = "Bash",
        description = "inv system",
        defaultApp = true,
        ui = GetCurrentResourceName() .. "/ui/index.html",
        icon = "https://cfx-nui-" .. GetCurrentResourceName() .. "/ui/assets/logo.png"
    })

    if added then
        appAdded = true
        print("^2[Bashar System] Done^0")
    else
        print("^1[Bashar System]Error : " .. tostring(errorMessage) .. "^0")
    end
end
grim mountain
surreal lodge
unique swift
unique swift
grim mountain
unique swift
#

❤️