移除二维码,修改应用名称

hmxc
张萌 4 years ago
parent 26c1b158e9
commit ab20e0182b

@ -44,7 +44,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.akucommunity.aku_community_manager"
minSdkVersion 24
minSdkVersion 20
targetSdkVersion 29
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName

@ -4,7 +4,7 @@
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application android:name="io.flutter.app.FlutterApplication" android:label="小蜜蜂智慧社区管家端" android:icon="@mipmap/ic_launcher">
<application android:name="io.flutter.app.FlutterApplication" android:label="小蜜蜂智慧社区" android:icon="@mipmap/ic_launcher">
<meta-data android:name="com.amap.api.v2.apikey" android:value="872b909f2ebc8150b809d692c4349f22"/>
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as

@ -4,7 +4,7 @@ import 'package:aku_community_manager/tools/screen_tool.dart';
import 'package:aku_community_manager/ui/widgets/common/aku_back_button.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter/material.dart';
import 'package:qr_code_scanner/qr_code_scanner.dart';
// import 'package:qr_code_scanner/qr_code_scanner.dart';
class ScanPage extends StatefulWidget {
ScanPage({Key key}) : super(key: key);
@ -15,7 +15,7 @@ class ScanPage extends StatefulWidget {
class _ScanPageState extends State<ScanPage> {
GlobalKey qrKey = GlobalKey(debugLabel: 'QR');
QRViewController _qrViewController;
// QRViewController _qrViewController;
String tempText;
Timer _timer;
bool _barMove = false;
@ -33,7 +33,7 @@ class _ScanPageState extends State<ScanPage> {
@override
void dispose() {
_qrViewController?.dispose();
// _qrViewController?.dispose();
_timer?.cancel();
super.dispose();
}
@ -43,18 +43,18 @@ class _ScanPageState extends State<ScanPage> {
return Scaffold(
body: Stack(
children: [
QRView(
key: qrKey,
onQRViewCreated: (controller) {
_qrViewController = controller;
controller.scannedDataStream.listen((event) {
if (tempText != event) {
tempText = event;
BotToast.showText(text: event);
}
});
},
),
// QRView(
// key: qrKey,
// onQRViewCreated: (controller) {
// _qrViewController = controller;
// controller.scannedDataStream.listen((event) {
// if (tempText != event) {
// tempText = event;
// BotToast.showText(text: event);
// }
// });
// },
// ),
Center(
child: Stack(
children: [

@ -331,13 +331,6 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "4.3.2+2"
qr_code_scanner:
dependency: "direct main"
description:
name: qr_code_scanner
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.0.13"
rational:
dependency: transitive
description:

@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.2+3
version: 1.0.3+4
environment:
sdk: ">=2.7.0 <3.0.0"
@ -40,7 +40,7 @@ dependencies:
#划动组件
carousel_slider: ^2.3.1
#qrcode san
qr_code_scanner: ^0.0.13
# qr_code_scanner: ^0.0.13
#toast
bot_toast: ^3.0.4

Loading…
Cancel
Save