v3.3.90 minor
First-Person Phone Mode, safer apps and better performance
17changes

First-Person Phone Mode, safer apps and better performance
17changes

[02] Release
Hold the phone in first person, on foot or in a vehicle, with the live screen on the 3D phone in your hands. Apps get server-side protection, the phone uses less CPU while closed, and several fixes land. QChat users must now set their own bridge token.
server.cfg: set qs_qchat_bridge_token "your_token"qs-smartphone-server environment: QS_QCHAT_BRIDGE_TOKEN="your_token"config/server_secrets.lua: server-only keys (QChat token, Klipy GIF key, TURN credentials for video calls). Convars in server.cfg still take priority.config/main.lua changed. If you keep your own copy, add by hand:
Config.FirstPerson: a new block for First-Person Mode.firstPerson = false inside Config.DefaultSettings.display.Config.FirstPerson.enabled = false to turn it off for the whole server and hide the option.smartphone-prop. Replace that resource too.qs-smartphone now has its own stream/ folder. Restart the server after updating instead of restarting the resource with players online.Replace every file in the resource, except what you edited yourself:
config/main.lua: see above.config/server_secrets.lua: new.shared/: core.lua, utils.luaclient/: main.lua, most files in apps/ and modules/ (new: modules/first_person.lua)custom/: esx/, qb/, standalone/, vrp/. If you edited these, apply the changes by hand.server/: main.lua, most files in apps/, custom/ (all garage and billing files, inventory/adapters/ox.lua) and modules/ (new: selfcheck.lua, throttle.lua)stream/: new folder.web/: replace the whole folder.fxmanifest.luasmartphone-prop: fxmanifest.lua and many files in stream/. Replace the whole resource.
QChat (optional): [addons]/phone-qchat/server/qchat-socket-bridge.js and qs-smartphone-server (src/config/static-auth.ts, src/services/fivem-bridge.service.ts).
Server-side checks, locking and rate limits for the Store, Crypto, Messages, Marketplace, ZappEats, Onion Browser, Wallet and the garage apps.
Hold the phone in first person, on foot or in a vehicle. The live screen shows on the 3D phone in your character's hands, the fingers rest over the edge like on a real phone, and closing the phone returns the camera to how it was. Works with Pear, Nova and both foldables. Zoom with the mouse wheel. Off by default: players turn it on in Settings → Display → First-Person Mode.
When the camera goes full screen in first person: switch mode, record and stop video, switch to the rear camera, change pose and facial expression, and turn the light on and off.
Calls, incoming shares, timers, music and live activities show as a small card on your screen instead of pulling the phone out.
One file for server-only keys: QChat token, Klipy GIF key and TURN credentials. Convars in server.cfg still take priority.
The phone checks its setup when the resource starts and reports problems in the console.
The built-in QChat bridge token was removed. Set qs_qchat_bridge_token in server.cfg and QS_QCHAT_BRIDGE_TOKEN in qs-smartphone-server, or QChat will not connect. A warning shows on startup when it is missing.
cd_garage, jg-advancedgarages, okokGarage, loaf_garage, codem-garage, vms_garagesv2, lunar_garage, RxGarages and qs-advancedgarages, plus the ox_inventory adapter.
Refreshed phone models and improved Foldable Phone and Foldable Nova Phone models. Requires the new smartphone-prop.
The hire confirmation could hang for 5 minutes. It now expires after 20 seconds and is translated.
iCar valet vehicles could spawn at the map origin. They now spawn on the road near you.
On QBCore, marked bills are returned if a payment fails halfway.
A call that had already ended could reopen the call screen when its last update arrived late.
Clock, health, alarms, SOS, signal, battery, phone model and rental loops now only run when needed.