πŸͺ›Custom App

Making a special application for Gksphone v2

Config

App settings to be added to the AppStore section in gksphone/config/config.json

  • name => The name of the app that will appear on the phone

  • icons => Icon of the app

  • categori => In which category the app will appear ( jobs, mix, social, finance )

  • appurl => You should write the file path of the resource you want to run in the application ( If you want to add a site, make sure it has iframe support )

  • url => Don't touch this part

  • blockedjobs => Jobs that will not see the app

  • allowjob => Only jobs that can see this application

    {
      "name": "Custom App",
      "icons": "/html/img/icons/qbit.png",
      "categori": "mix",
      "appurl": "https://cfx-nui-gksphone-app/ui/index.html",
      "url": "/customapp",
      "blockedjobs": {
         "police": "police"
      },
      "allowjob": {
         "ambulance": "ambulance"
      },
      "signal": true,
      "show": true
    }

You can access the custom app template on github and start making the app you want

Open App

Add this client and this will be triggered every time you enter the application.

Exports

InputChange

To prevent walking while filling in input fields

NuiSendMessage

You have to use this export instead of SendNUIMessage

Javascript UI

Dark Mode Check

Loading Poup

Notify

Call

Video Call

Last updated