Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
GyverLibs committed Apr 24, 2024
1 parent 48ae122 commit 042416c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 25 deletions.
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# gyver_hub
# GyverHub-app

Панель управления для esp8266, esp32 и других Arduino. Конструктор интерфейса, интеграция в умный дом
Мобильное приложение для платформы GyverHub

## Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)

For help getting started with Flutter development, view the
[online documentation](https://docs.flutter.dev/), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
> flutter build apk
5 changes: 2 additions & 3 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
<!-- TODO -->
<!-- <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> -->
<!-- TODO uncomment for apk build -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_GPS" />
Expand All @@ -79,7 +79,6 @@
<!-- <uses-permission android:name="android.permission.BLUETOOTH_SCAN"-->
<!-- android:usesPermissionFlags="neverForLocation" />-->


<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />

Expand Down
12 changes: 5 additions & 7 deletions lib/env.dart
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@



import 'package:flutter/material.dart';

class Env{
class Env {
// release
static const versionUrl = "https://github.com/GyverLibs/GyverHub-web/releases/latest/download/version.txt";
static const hubUrl = "https://github.com/GyverLibs/GyverHub-web/releases/latest/download/GyverHub.html";

// static const hubUrl = "https://raw.githubusercontent.com/GyverLibs/GyverHub-web/main/app/index.html";

// dev
// static const versionUrl = "https://raw.githubusercontent.com/GyverLibs/GyverHub-web/main/dist/version.txt";
// static const hubUrl = "https://raw.githubusercontent.com/GyverLibs/GyverHub-web/main/dist/GyverHub.html";

static const primColor = Color(0xFF37a93c);
static const bgColorDark = Color(0xFF26272c);

}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Панель управления для esp8266, esp32 и друг

publish_to: 'none'

version: 1.0.51+22
version: 1.0.53+24

environment:
sdk: '>=3.1.3 <4.0.0'
Expand Down

0 comments on commit 042416c

Please sign in to comment.