{
"status":200,
"data":[
{
"id":3807,
"label":"Nome do app",
"name":"APP_NAME",
"value": "ℹ️ 1.1",
"type":"STRING",
"status":"INACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3808,
"label":"Logo do app",
"name":"APP_LOGO",
"value":"https://i.ibb.co/wMqThjF/DTseqs2hl7.png",
"type":"IMAGE",
"status":"INACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3809,
"label":"Imagem de fundo",
"name":"APP_BACKGROUND_IMAGE",
"value":"https://i.ibb.co/z6554Y2/DTyn6jr36m.jpg",
"type":"IMAGE",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3810,
"label":"Tipo do fundo do app",
"name":"APP_BACKGROUND_TYPE",
"value":{
"options":[
{
"label":"Imagem",
"value":"IMAGE"
},
{
"label":"Cor",
"value":"COLOR"
}
],
"selected":"IMAGE"
},
"type":"SELECT",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3811,
"label":"Cor de fundo",
"name":"APP_BACKGROUND_COLOR",
"value":"#ffb7b7ff",
"type":"COLOR",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3812,
"label":"Cor do card inicial",
"name":"APP_CARD_COLOR",
"value":"#00000070",
"type":"COLOR",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3813,
"label":"Cor do card de configurações",
"name":"APP_CARD_CONFIG_COLOR",
"value":"#0000005b",
"type":"COLOR",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3814,
"label":"Cor do fundo dos dialogs",
"name":"APP_DIALOG_BACKGROUND_COLOR",
"value":"#70C0C0C0",
"type":"COLOR",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3815,
"label":"Cor das bordas",
"name":"APP_BORDER_COLOR",
"value":"#ffffff",
"type":"COLOR",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3816,
"label":"Cor dos textos",
"name":"APP_TEXT_COLOR",
"value":"#FFFFFFFF",
"type":"COLOR",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3817,
"label":"Cor dos botões",
"name":"APP_BUTTON_COLOR",
"value":"#00ffff70",
"type":"COLOR",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3818,
"label":"Cor dos icones",
"name":"APP_ICON_COLOR",
"value":"#00ffff70",
"type":"COLOR",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3819,
"label":"Exibir modo de conexão",
"name":"APP_SHOW_CONNECTION_MODE",
"value":true,
"type":"BOOLEAN",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":4922,
"label":"Iniciar o app automaticamente ao reiniciar o dispositivo",
"name":"APP_AUTO_START",
"value":false,
"type":"BOOLEAN",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3820,
"label":"Mensagem",
"name":"APP_MESSAGE",
"value":null,
"type":"TEXT",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3821,
"label":"Tipo de mensagem",
"name":"APP_MESSAGE_TYPE",
"value":{
"options":[
{
"label":"Alerta",
"value":"ALERT"
},
{
"label":"Informação",
"value":"INFO"
},
{
"label":"Boas vindas",
"value":"WELCOME"
},
{
"label":"Sem mensagem",
"value":"NONE"
}
],
"selected":"ALERT"
},
"type":"SELECT",
"status":"ACTIVE",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3823,
"label":"ANDROID WEBVIEW (POR SUA CONTA E RISCO)",
"name":"APP_SUPPORT_BUTTON",
"value":"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
body {
background-color: transparent;
color: white;
font-family: Arial, sans-serif;
text-align: center;
padding: 20px;
}
h1 {
font-size: 24px;
}
#container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
}
.bubble {
background-color: rgba(0, 0, 0, 0.49);
color: white;
font-size: 11px;
font-weight: bold; /* Texto em negrito */
border-radius: 10px; /* Cantos um pouco mais quadrados */
padding: 10px;
margin: 0;
flex: 1; /* Para ocupar igualmente o espaço disponível */
text-align: center; /* Centralizar o texto */
}
</style>
</head>
<body>
<div id="container">
<div class="bubble" id="local-ip">Procurando IP...</div>
<div class="bubble" id="version">Buscando versão...</div>
</div>
<script>
const appLocalIp = () => Android.getLocalIP();
const appGetConfigVersion = () => DtGetLocalConfigVersion.execute() ?? "1.0";
const localIp = document.getElementById("local-ip");
const version = document.getElementById("version");
const updateLocalIp = () => {
const carrierLocalIp = appLocalIp();
if (!carrierLocalIp) {
localIp.innerText = "Procurando IP...";
} else if (carrierLocalIp === "127.0.0.1") {
localIp.innerText = "NO IP";
} else {
localIp.innerText = `IP: ${carrierLocalIp}`;
}
};
const updateVersion = () => {
const getAtualVersion = appGetConfigVersion();
version.innerText = `Versão: ${getAtualVersion}`;
};
setInterval(updateLocalIp, 500);
setInterval(updateVersion, 1000);
</script>
</body>
</html>",
"type":"HTML",
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
},
{
"id":3824,
"label":"PAGINA WEBVIEW (POR SUA CONTA E RISCO)",
"name":"APP_WEB_VIEW",
"type":"HTML",
"value":null,
"user_id":"83615944-f09e-4f34-8cc6-96cc5fd99133"
}
]
}