#[LB-PHONE] - CUSTOM APP
22 messages · Page 1 of 1 (latest)
can you please add the rest of the info requested here https://discord.com/channels/1032005998895960135/1035615248327131146
#🔰customer-support message
[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
I'm unable to recreate this. Please send more detailed steps on how to recreate this bug
this video
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?
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
I'd recommend adding some debug prints to the HasAccessToApp function to see why they're being removed
how i can add it?
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
lb-phone/client/custom/functions/functions.lua
Done thx
Did you fix it?
I got the same problem with my custom app, i build it from the provided custom app with react.js.
I made a debug in has access and it gose to the end of the function where retrun true happens. All other appes like radio do the same.
We'll look into this, thanks for letting us know
Thank you, its bumming me out that my apps vanish 😄
❤️