Prottótipo
@@ -44,7 +44,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId "com.hightechx.mobile.comunika"
|
||||
applicationId "com.hightechx.mobile.modelo"
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 30
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"client_id": "952783625736-gam8124p405njsrlqfidnse74ca00ool.apps.googleusercontent.com",
|
||||
"client_type": 2,
|
||||
"ios_info": {
|
||||
"bundle_id": "com.hightechx.mobile.comunika"
|
||||
"bundle_id": "com.hightechx.mobile.modelo"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -46,7 +46,7 @@
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:952783625736:android:1c56b06e23740153c07bbd",
|
||||
"android_client_info": {
|
||||
"package_name": "com.hightechx.mobile.comunika"
|
||||
"package_name": "com.hightechx.mobile.modelo"
|
||||
}
|
||||
},
|
||||
"oauth_client": [
|
||||
@@ -54,7 +54,7 @@
|
||||
"client_id": "952783625736-10ripa3l39un48r3k49cd00bnv7nts6i.apps.googleusercontent.com",
|
||||
"client_type": 1,
|
||||
"android_info": {
|
||||
"package_name": "com.hightechx.mobile.comunika",
|
||||
"package_name": "com.hightechx.mobile.modelo",
|
||||
"certificate_hash": "ce5f6fbc5eae2dc39f5e4a36ff2f85ea2c269676"
|
||||
}
|
||||
},
|
||||
@@ -62,7 +62,7 @@
|
||||
"client_id": "952783625736-e798mjtemfqqrbmahj0t1monoc9gptgb.apps.googleusercontent.com",
|
||||
"client_type": 1,
|
||||
"android_info": {
|
||||
"package_name": "com.hightechx.mobile.comunika",
|
||||
"package_name": "com.hightechx.mobile.modelo",
|
||||
"certificate_hash": "64cead3173785642d31904f0f7d5036aba3a82e1"
|
||||
}
|
||||
},
|
||||
@@ -87,7 +87,7 @@
|
||||
"client_id": "952783625736-gam8124p405njsrlqfidnse74ca00ool.apps.googleusercontent.com",
|
||||
"client_type": 2,
|
||||
"ios_info": {
|
||||
"bundle_id": "com.hightechx.mobile.comunika"
|
||||
"bundle_id": "com.hightechx.mobile.modelo"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.hightechx.mobile.comunika">
|
||||
package="com.hightechx.mobile.modelo">
|
||||
<!-- Flutter needs it to communicate with the running application
|
||||
to allow setting breakpoints, to provide hot reload, etc.
|
||||
-->
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.hightechx.mobile.comunika">
|
||||
package="com.hightechx.mobile.modelo">
|
||||
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
|
||||
calls FlutterMain.startInitialization(this); in its onCreate method.
|
||||
In most cases you can leave this as-is, but you if you want to provide
|
||||
@@ -8,7 +8,7 @@
|
||||
<application
|
||||
android:usesCleartextTraffic="true"
|
||||
android:name="io.flutter.app.FlutterApplication"
|
||||
android:label="Comunika"
|
||||
android:label="App Modelo"
|
||||
android:icon="@mipmap/ic_launcher">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.hightechx.mobile.comunika
|
||||
package com.hightechx.mobile.modelo
|
||||
|
||||
import io.flutter.embedding.android.FlutterActivity
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 148 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 210 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 21 KiB |
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.hightechx.mobile.comunika">
|
||||
package="com.hightechx.mobile.modelo">
|
||||
<!-- Flutter needs it to communicate with the running application
|
||||
to allow setting breakpoints, to provide hot reload, etc.
|
||||
-->
|
||||
|
||||
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 295 KiB |
@@ -381,9 +381,9 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Flutter",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.hightechx.mobile.comunika;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.hightechx.mobile.modelo;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "comunika - Store";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "modelo - Store";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||
SWIFT_VERSION = 5.0;
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
@@ -523,9 +523,9 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Flutter",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.hightechx.mobile.comunika;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.hightechx.mobile.modelo;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "comunika - Developer";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "modelo - Developer";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
SWIFT_VERSION = 5.0;
|
||||
@@ -560,9 +560,9 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Flutter",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.hightechx.mobile.comunika;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.hightechx.mobile.modelo;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "comunika - Store";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "modelo - Store";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||
SWIFT_VERSION = 5.0;
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
|
||||
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 210 KiB |
|
Before Width: | Height: | Size: 490 B After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 753 B After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 210 KiB |
@@ -15,7 +15,7 @@
|
||||
<key>PLIST_VERSION</key>
|
||||
<string>1</string>
|
||||
<key>BUNDLE_ID</key>
|
||||
<string>com.hightechx.mobile.comunika</string>
|
||||
<string>com.hightechx.mobile.modelo</string>
|
||||
<key>PROJECT_ID</key>
|
||||
<string>appcards-75f33</string>
|
||||
<key>STORAGE_BUCKET</key>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>comunika</string>
|
||||
<string>modelo</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
@@ -13,7 +13,7 @@
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>comunika</string>
|
||||
<string>modelo</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
|
||||
@@ -8,18 +8,18 @@ import 'default_response_api.dart';
|
||||
|
||||
class FuncoesGerais {
|
||||
//static const String urlLexLiteApi = "https://apis.lexstation.com/api/v1/";
|
||||
static const String tokenPadrao = "4WRNAC5JTJ1S8D7C1GJQE8VZCMMIZO";
|
||||
static const String tokenPadrao = "88IF8S1DLX8GFHL1WQW07VAXZE8XAT";
|
||||
static const String urlBaseNewCore = "https://newcore.services/newcore/";
|
||||
static const int appMobileCodigo = 18;
|
||||
static const String nomeApp = "Comunika";
|
||||
static const String nomeApp = "modelo";
|
||||
static const int versaoAtual = 100;
|
||||
static const int usuCodPadrao = 2423;
|
||||
static const int usuCodPadrao = 1035;
|
||||
static const String youtubeApiKey =
|
||||
"AIzaSyAmqjP0MxgASbt98Px1_hqaIvcsqeHO15k"; //"AIzaSyA8jo3qsr-JJRm40iSHfkrzaMZXdMjo9v4";
|
||||
static const String channelId = "UCJ_EUoswNTvRGotJ-ROxaKw";
|
||||
static const String homeURL = "https://comunikapublicidade.com.br/";
|
||||
static const String dominioPermitido = "https://comunikapublicidade.com.br/";
|
||||
static const String urlPDF = "https://app-cards.com/files/card-comunika.pdf";
|
||||
static const String homeURL = "https://hightechx.com/";
|
||||
static const String dominioPermitido = "https://modelopublicidade.com.br/";
|
||||
static const String urlPDF = "https://app-cards.com/files/card-hightechx.pdf";
|
||||
|
||||
static Future<bool> checkInternetConnection() async {
|
||||
bool retorno = true;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'package:comunika/charts/radial_gauge.dart';
|
||||
import 'package:comunika/funcoes_gerais.dart';
|
||||
import 'package:modelo/charts/radial_gauge.dart';
|
||||
import 'package:modelo/funcoes_gerais.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:line_icons/line_icons.dart';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//import 'package:comunika/home/home.dart';
|
||||
import 'package:comunika/index/index_controller.dart';
|
||||
//import 'package:comunika/notificacoes/notificacoes.dart';
|
||||
//import 'package:comunika/videos/youtube_videos.dart';
|
||||
//import 'package:modelo/home/home.dart';
|
||||
import 'package:modelo/index/index_controller.dart';
|
||||
//import 'package:modelo/notificacoes/notificacoes.dart';
|
||||
//import 'package:modelo/videos/youtube_videos.dart';
|
||||
import 'package:convex_bottom_bar/convex_bottom_bar.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import 'package:comunika/home/home.dart';
|
||||
//import 'package:comunika/instagram_embed/instagram_embed.dart';
|
||||
import 'package:comunika/notificacoes/notificacoes.dart';
|
||||
//import 'package:comunika/videos/youtube_videos.dart';
|
||||
import 'package:modelo/home/home.dart';
|
||||
//import 'package:modelo/instagram_embed/instagram_embed.dart';
|
||||
import 'package:modelo/notificacoes/notificacoes.dart';
|
||||
//import 'package:modelo/videos/youtube_videos.dart';
|
||||
import 'package:convex_bottom_bar/convex_bottom_bar.dart';
|
||||
import 'package:comunika/pdfviewer/pdfviewer.dart';
|
||||
import 'package:modelo/pdfviewer/pdfviewer.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:line_icons/line_icons.dart';
|
||||
@@ -36,8 +36,7 @@ class IndexController extends GetxController with SingleGetTickerProviderMixin {
|
||||
this.childrenTabs.add(Tab(child: NotificacoesScreen()));
|
||||
//this.tabs.add(TabItem(icon: Icons.video_collection, title: 'Vídeos'));
|
||||
//this.tabs.add(TabItem(icon: LineIcons.instagram, title: 'Instagram'));
|
||||
this.tabs.add(
|
||||
TabItem(icon: LineIcons.identificationCard, title: 'comunika card'));
|
||||
this.tabs.add(TabItem(icon: LineIcons.identificationCard, title: 'i-Card'));
|
||||
this.tabs.add(TabItem(icon: Icons.home, title: 'Home'));
|
||||
this.tabs.add(TabItem(icon: Icons.notifications, title: 'Notificações'));
|
||||
this.tabController = TabController(vsync: this, length: this.tabs.length);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//import 'package:comunika/funcoes_gerais.dart';
|
||||
//import 'package:modelo/funcoes_gerais.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
//import 'package:url_launcher/url_launcher.dart';
|
||||
import 'package:webview_flutter/webview_flutter.dart';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import 'package:comunika/funcoes_gerais.dart';
|
||||
import 'package:modelo/funcoes_gerais.dart';
|
||||
import 'package:firebase_core/firebase_core.dart';
|
||||
//import 'package:firebase_messaging/firebase_messaging.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//import 'package:advance_pdf_viewer/advance_pdf_viewer.dart';
|
||||
import 'package:comunika/pdfviewer/pdfviewer_controller.dart';
|
||||
import 'package:modelo/pdfviewer/pdfviewer_controller.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_pdfview/flutter_pdfview.dart';
|
||||
import 'package:get/get.dart';
|
||||
@@ -10,7 +10,7 @@ class PDFViewerScreen extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text('Comunika card'),
|
||||
title: Text('i-Card'),
|
||||
centerTitle: false,
|
||||
leading: Container(),
|
||||
leadingWidth: 0,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'dart:io' as io;
|
||||
|
||||
//import 'package:advance_pdf_viewer/advance_pdf_viewer.dart';
|
||||
import 'package:comunika/funcoes_gerais.dart';
|
||||
import 'package:modelo/funcoes_gerais.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
@@ -63,7 +63,7 @@ class PDFViewerScreenController extends GetxController {
|
||||
this.loadPDF.value = true;
|
||||
var file = await this._createFileOfPdfUrl();
|
||||
try {
|
||||
Share.shareFiles([file!.path], text: 'Comunika card')
|
||||
Share.shareFiles([file!.path], text: 'i-Card')
|
||||
.then((value) => this.loadPDF.value = false);
|
||||
} catch (e) {
|
||||
this.loadPDF.value = false;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import 'package:comunika/funcoes_gerais.dart';
|
||||
import 'package:modelo/funcoes_gerais.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:animated_splash_screen/animated_splash_screen.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:comunika/atualizarapp/atualizarapp.dart';
|
||||
import 'package:comunika/index/index.dart';
|
||||
import 'package:comunika/notificacoes/notificacoes.dart';
|
||||
import 'package:modelo/atualizarapp/atualizarapp.dart';
|
||||
import 'package:modelo/index/index.dart';
|
||||
import 'package:modelo/notificacoes/notificacoes.dart';
|
||||
import 'package:firebase_messaging/firebase_messaging.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import 'package:comunika/index/index_controller.dart';
|
||||
import 'package:comunika/videos/api/youtube_api.dart';
|
||||
import 'package:comunika/videos/api/youtube_classes.dart';
|
||||
import 'package:modelo/index/index_controller.dart';
|
||||
import 'package:modelo/videos/api/youtube_api.dart';
|
||||
import 'package:modelo/videos/api/youtube_classes.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:intl/intl.dart' show DateFormat;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import 'package:comunika/videos/youtube_video_player.dart';
|
||||
import 'package:modelo/videos/youtube_video_player.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_staggered_animations/flutter_staggered_animations.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: comunika
|
||||
name: modelo
|
||||
description: A new Flutter project.
|
||||
|
||||
# The following line prevents the package from being accidentally published to
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// gestures. You can also use WidgetTester to find child widgets in the widget
|
||||
// tree, read text, and verify that the values of widget properties are correct.
|
||||
|
||||
import 'package:comunika/splash/splash.dart';
|
||||
import 'package:modelo/splash/splash.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
|
||||