Phone app setup
Install the Taxi app by hand on JPR Phone or RoadPhone Pro.
Every supported phone gets the Taxi app automatically through gg_lib. Only JPR Phone and RoadPhone Pro cannot add another resource's app by themselves, so you install it into them once, by hand.
The files are in gg_taxijob/!SETUP/, one folder per phone.
JPR Phone
Use the files in gg_taxijob/!SETUP/JPR Phone/. Every JPR file you edit is in its escrow_ignore, so you can redo these edits after a JPR update.
-
Open
jpr-phonesystem/configs/main_config.lua. Paste the three blocks from1. main_config.txtinto the matching tables: the entry intoConfig.AppStoreApps, and one line each intoConfig.AppLabelsandConfig.AppSizes. Keep the other entries. -
Copy
gg_taxi.pngintojpr-phonesystem/html/img/apps/. -
Open
jpr-phonesystem/html/index.htmland find the block that starts<div class="app-calculadora">. Directly above it, paste the contents of2. index.html, at the same level as the otherapp-blocks. -
Paste the contents of
3. main.cssat the end ofjpr-phonesystem/html/css/main.css. -
Run these in your server console:
Textrestart jpr-phonesystem restart gg_taxijob -
Open the phone and install Taxi from the App Store, under Management.
To have it on new phones without a store download, also add gg_taxi to Config.DefaultApps with a free home-screen slot. Phones that already exist keep their saved home screen, so on those it stays in the store until installed once.
RoadPhone Pro
Use the files in gg_taxijob/!SETUP/RoadPhone Pro/.
-
Copy
gg_taxijob/phone/dist/icon.pngto both of these, renamed:Textroadphone/public/img/Apps/light_mode/gg_taxi.png roadphone/public/img/Apps/dark_mode/gg_taxi.png -
Open
roadphone/public/static/config/config.json. Add the object fromapp.jsonas one more element of itsAppStorearray, with a comma between elements. Do not replace the whole file. -
In
server.cfg, startroadphonebeforegg_libandgg_taxijob. Restart all three after saving. -
Open RoadPhone. Taxi is already installed for every player.
If the app opens to a black screen
The app is in place but its page did not load. Check that gg_taxijob is started and that gg_taxijob/phone/dist/index.html exists. In the pasted code, keep ?phone=jpr-phonesystem or ?phone=roadphone at the end of the address: the app needs it for live updates.
