luxu-gg / okokphone_custom_app

MIT License
1 stars 0 forks source link

Custom app doesn't work. #1

Closed IMCraytex closed 4 months ago

IMCraytex commented 4 months ago

So the issue all comes down to the fact in the original okokPhone script the cfx url is hardcoded (or atleast seems to be hardcoded) to be "https://cfx-nui-custom_app/web/app.html" No matter what I change in the resource. It does work if the resource is called custom_app obviously

luxu-gg commented 4 months ago

The issue seems to be originating from the hardcoded variables in utils.js

const resourceName = "custom_app";
const appName = "custom_app";

I will try a better way

IMCraytex commented 4 months ago

So i did try change that but it still points to the custom_app page

luxu-gg commented 4 months ago

So i did try change that but it still points to the custom_app page

Your correct, the issue is comming from the phone itself. Will be fixed on 0.1.0.

I will also update this repo with more instructions.

luxu-gg commented 4 months ago

check commit b3d1708

IMCraytex commented 4 months ago

Glad to hear the issue will be fixed, Appreciate all your help here. Any eta on when we can be expecting 0.1.0?

luxu-gg commented 4 months ago

In a few days