@@ -56,9 +56,9 @@ android { | |||||
// manifestPlaceholders = [ | // manifestPlaceholders = [ | ||||
// AMAP_KEY : "1fd4e93e3b4b13747da41f484c955fe2", /// 高德地图key | // AMAP_KEY : "1fd4e93e3b4b13747da41f484c955fe2", /// 高德地图key | ||||
// ] | // ] | ||||
// ndk { | |||||
// abiFilters 'armeabi-v7a' | |||||
// } | |||||
ndk { | |||||
abiFilters 'armeabi-v7a' | |||||
} | |||||
multiDexEnabled true | multiDexEnabled true | ||||
manifestPlaceholders = [ | manifestPlaceholders = [ | ||||
JPUSH_PKGNAME : 'com.cyhd.henhoandroid', | JPUSH_PKGNAME : 'com.cyhd.henhoandroid', | ||||
@@ -2,10 +2,9 @@ | |||||
# This is a generated file; do not edit or check into version control. | # This is a generated file; do not edit or check into version control. | ||||
export "FLUTTER_ROOT=/Users/random/sdk/flutter_sdk" | export "FLUTTER_ROOT=/Users/random/sdk/flutter_sdk" | ||||
export "FLUTTER_APPLICATION_PATH=/Users/random/code/flutter/project/hibok" | export "FLUTTER_APPLICATION_PATH=/Users/random/code/flutter/project/hibok" | ||||
export "FLUTTER_TARGET=/Users/random/code/flutter/project/hibok/lib/main.dart" | |||||
export "FLUTTER_TARGET=lib/main.dart" | |||||
export "FLUTTER_BUILD_DIR=build" | export "FLUTTER_BUILD_DIR=build" | ||||
export "SYMROOT=${SOURCE_ROOT}/../build/ios" | export "SYMROOT=${SOURCE_ROOT}/../build/ios" | ||||
export "FLUTTER_FRAMEWORK_DIR=/Users/random/sdk/flutter_sdk/bin/cache/artifacts/engine/ios" | |||||
export "FLUTTER_BUILD_NAME=1.0.9" | |||||
export "FLUTTER_BUILD_NUMBER=14" | |||||
export "TRACK_WIDGET_CREATION=true" | |||||
export "FLUTTER_FRAMEWORK_DIR=/Users/random/sdk/flutter_sdk/bin/cache/artifacts/engine/ios-release" | |||||
export "FLUTTER_BUILD_NAME=1.1.0" | |||||
export "FLUTTER_BUILD_NUMBER=15" |
@@ -151,6 +151,8 @@ PODS: | |||||
- TOCropViewController (2.5.2) | - TOCropViewController (2.5.2) | ||||
- url_launcher (0.0.1): | - url_launcher (0.0.1): | ||||
- Flutter | - Flutter | ||||
- vibration (1.2.4): | |||||
- Flutter | |||||
- video_player (0.0.1): | - video_player (0.0.1): | ||||
- Flutter | - Flutter | ||||
- video_thumbnail (0.0.1): | - video_thumbnail (0.0.1): | ||||
@@ -209,6 +211,7 @@ DEPENDENCIES: | |||||
- shared_preferences_web (from `.symlinks/plugins/shared_preferences_web/ios`) | - shared_preferences_web (from `.symlinks/plugins/shared_preferences_web/ios`) | ||||
- sqflite (from `.symlinks/plugins/sqflite/ios`) | - sqflite (from `.symlinks/plugins/sqflite/ios`) | ||||
- url_launcher (from `.symlinks/plugins/url_launcher/ios`) | - url_launcher (from `.symlinks/plugins/url_launcher/ios`) | ||||
- vibration (from `.symlinks/plugins/vibration/ios`) | |||||
- video_player (from `.symlinks/plugins/video_player/ios`) | - video_player (from `.symlinks/plugins/video_player/ios`) | ||||
- video_thumbnail (from `.symlinks/plugins/video_thumbnail/ios`) | - video_thumbnail (from `.symlinks/plugins/video_thumbnail/ios`) | ||||
- wifi_info_plugin (from `.symlinks/plugins/wifi_info_plugin/ios`) | - wifi_info_plugin (from `.symlinks/plugins/wifi_info_plugin/ios`) | ||||
@@ -332,6 +335,8 @@ EXTERNAL SOURCES: | |||||
:path: ".symlinks/plugins/sqflite/ios" | :path: ".symlinks/plugins/sqflite/ios" | ||||
url_launcher: | url_launcher: | ||||
:path: ".symlinks/plugins/url_launcher/ios" | :path: ".symlinks/plugins/url_launcher/ios" | ||||
vibration: | |||||
:path: ".symlinks/plugins/vibration/ios" | |||||
video_player: | video_player: | ||||
:path: ".symlinks/plugins/video_player/ios" | :path: ".symlinks/plugins/video_player/ios" | ||||
video_thumbnail: | video_thumbnail: | ||||
@@ -406,6 +411,7 @@ SPEC CHECKSUMS: | |||||
sqflite: 4001a31ff81d210346b500c55b17f4d6c7589dd0 | sqflite: 4001a31ff81d210346b500c55b17f4d6c7589dd0 | ||||
TOCropViewController: e9da34f484aedd4e5d5a8ab230ba217cfe16c729 | TOCropViewController: e9da34f484aedd4e5d5a8ab230ba217cfe16c729 | ||||
url_launcher: a1c0cc845906122c4784c542523d8cacbded5626 | url_launcher: a1c0cc845906122c4784c542523d8cacbded5626 | ||||
vibration: f0c5bb486671fb81e973bfb451d89f8efd07c9c9 | |||||
video_player: 69c5f029fac4ffe4fc8a85ea7f7b793709661549 | video_player: 69c5f029fac4ffe4fc8a85ea7f7b793709661549 | ||||
video_thumbnail: c4e2a3c539e247d4de13cd545344fd2d26ffafd1 | video_thumbnail: c4e2a3c539e247d4de13cd545344fd2d26ffafd1 | ||||
wifi_info_plugin: ff6048382842ec5c7594460750ae96ad54bd3044 | wifi_info_plugin: ff6048382842ec5c7594460750ae96ad54bd3044 | ||||
@@ -542,7 +542,7 @@ | |||||
CODE_SIGN_ENTITLEMENTS = Runner/RunnerProfile.entitlements; | CODE_SIGN_ENTITLEMENTS = Runner/RunnerProfile.entitlements; | ||||
CODE_SIGN_IDENTITY = "Apple Development"; | CODE_SIGN_IDENTITY = "Apple Development"; | ||||
CODE_SIGN_STYLE = Automatic; | CODE_SIGN_STYLE = Automatic; | ||||
CURRENT_PROJECT_VERSION = 13; | |||||
CURRENT_PROJECT_VERSION = 14; | |||||
DEVELOPMENT_TEAM = QJ9M3998Q6; | DEVELOPMENT_TEAM = QJ9M3998Q6; | ||||
ENABLE_BITCODE = NO; | ENABLE_BITCODE = NO; | ||||
FRAMEWORK_SEARCH_PATHS = ( | FRAMEWORK_SEARCH_PATHS = ( | ||||
@@ -556,7 +556,7 @@ | |||||
"$(inherited)", | "$(inherited)", | ||||
"$(PROJECT_DIR)/Flutter", | "$(PROJECT_DIR)/Flutter", | ||||
); | ); | ||||
MARKETING_VERSION = 1.0.9; | |||||
MARKETING_VERSION = 1.1.0; | |||||
PRODUCT_BUNDLE_IDENTIFIER = com.chengyouhudong.hibok; | PRODUCT_BUNDLE_IDENTIFIER = com.chengyouhudong.hibok; | ||||
PRODUCT_NAME = "$(TARGET_NAME)"; | PRODUCT_NAME = "$(TARGET_NAME)"; | ||||
PROVISIONING_PROFILE_SPECIFIER = ""; | PROVISIONING_PROFILE_SPECIFIER = ""; | ||||
@@ -578,14 +578,14 @@ | |||||
CODE_SIGN_ENTITLEMENTS = "Share Extension/Share Extension.entitlements"; | CODE_SIGN_ENTITLEMENTS = "Share Extension/Share Extension.entitlements"; | ||||
CODE_SIGN_IDENTITY = "Apple Development"; | CODE_SIGN_IDENTITY = "Apple Development"; | ||||
CODE_SIGN_STYLE = Automatic; | CODE_SIGN_STYLE = Automatic; | ||||
CURRENT_PROJECT_VERSION = 13; | |||||
CURRENT_PROJECT_VERSION = 14; | |||||
DEVELOPMENT_TEAM = QJ9M3998Q6; | DEVELOPMENT_TEAM = QJ9M3998Q6; | ||||
ENABLE_BITCODE = YES; | ENABLE_BITCODE = YES; | ||||
GCC_C_LANGUAGE_STANDARD = gnu11; | GCC_C_LANGUAGE_STANDARD = gnu11; | ||||
INFOPLIST_FILE = "Share Extension/Info.plist"; | INFOPLIST_FILE = "Share Extension/Info.plist"; | ||||
IPHONEOS_DEPLOYMENT_TARGET = 9.0; | IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; | ||||
MARKETING_VERSION = 1.0.9; | |||||
MARKETING_VERSION = 1.1.0; | |||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; | ||||
MTL_FAST_MATH = YES; | MTL_FAST_MATH = YES; | ||||
OTHER_LDFLAGS = ""; | OTHER_LDFLAGS = ""; | ||||
@@ -610,14 +610,14 @@ | |||||
CODE_SIGN_ENTITLEMENTS = "Share Extension/Share Extension.entitlements"; | CODE_SIGN_ENTITLEMENTS = "Share Extension/Share Extension.entitlements"; | ||||
CODE_SIGN_IDENTITY = "Apple Development"; | CODE_SIGN_IDENTITY = "Apple Development"; | ||||
CODE_SIGN_STYLE = Automatic; | CODE_SIGN_STYLE = Automatic; | ||||
CURRENT_PROJECT_VERSION = 13; | |||||
CURRENT_PROJECT_VERSION = 14; | |||||
DEVELOPMENT_TEAM = QJ9M3998Q6; | DEVELOPMENT_TEAM = QJ9M3998Q6; | ||||
ENABLE_BITCODE = YES; | ENABLE_BITCODE = YES; | ||||
GCC_C_LANGUAGE_STANDARD = gnu11; | GCC_C_LANGUAGE_STANDARD = gnu11; | ||||
INFOPLIST_FILE = "Share Extension/Info.plist"; | INFOPLIST_FILE = "Share Extension/Info.plist"; | ||||
IPHONEOS_DEPLOYMENT_TARGET = 9.0; | IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; | ||||
MARKETING_VERSION = 1.0.9; | |||||
MARKETING_VERSION = 1.1.0; | |||||
MTL_FAST_MATH = YES; | MTL_FAST_MATH = YES; | ||||
OTHER_LDFLAGS = ""; | OTHER_LDFLAGS = ""; | ||||
PRODUCT_BUNDLE_IDENTIFIER = com.chengyouhudong.hibok.share; | PRODUCT_BUNDLE_IDENTIFIER = com.chengyouhudong.hibok.share; | ||||
@@ -640,14 +640,14 @@ | |||||
CODE_SIGN_ENTITLEMENTS = "Share Extension/Share ExtensionProfile.entitlements"; | CODE_SIGN_ENTITLEMENTS = "Share Extension/Share ExtensionProfile.entitlements"; | ||||
CODE_SIGN_IDENTITY = "Apple Development"; | CODE_SIGN_IDENTITY = "Apple Development"; | ||||
CODE_SIGN_STYLE = Automatic; | CODE_SIGN_STYLE = Automatic; | ||||
CURRENT_PROJECT_VERSION = 13; | |||||
CURRENT_PROJECT_VERSION = 14; | |||||
DEVELOPMENT_TEAM = QJ9M3998Q6; | DEVELOPMENT_TEAM = QJ9M3998Q6; | ||||
ENABLE_BITCODE = YES; | ENABLE_BITCODE = YES; | ||||
GCC_C_LANGUAGE_STANDARD = gnu11; | GCC_C_LANGUAGE_STANDARD = gnu11; | ||||
INFOPLIST_FILE = "Share Extension/Info.plist"; | INFOPLIST_FILE = "Share Extension/Info.plist"; | ||||
IPHONEOS_DEPLOYMENT_TARGET = 9.0; | IPHONEOS_DEPLOYMENT_TARGET = 9.0; | ||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; | ||||
MARKETING_VERSION = 1.0.9; | |||||
MARKETING_VERSION = 1.1.0; | |||||
MTL_FAST_MATH = YES; | MTL_FAST_MATH = YES; | ||||
OTHER_LDFLAGS = ""; | OTHER_LDFLAGS = ""; | ||||
PRODUCT_BUNDLE_IDENTIFIER = com.chengyouhudong.hibok.share; | PRODUCT_BUNDLE_IDENTIFIER = com.chengyouhudong.hibok.share; | ||||
@@ -777,7 +777,7 @@ | |||||
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; | ||||
CODE_SIGN_IDENTITY = "Apple Development"; | CODE_SIGN_IDENTITY = "Apple Development"; | ||||
CODE_SIGN_STYLE = Automatic; | CODE_SIGN_STYLE = Automatic; | ||||
CURRENT_PROJECT_VERSION = 13; | |||||
CURRENT_PROJECT_VERSION = 14; | |||||
DEVELOPMENT_TEAM = ""; | DEVELOPMENT_TEAM = ""; | ||||
ENABLE_BITCODE = NO; | ENABLE_BITCODE = NO; | ||||
FRAMEWORK_SEARCH_PATHS = ( | FRAMEWORK_SEARCH_PATHS = ( | ||||
@@ -791,7 +791,7 @@ | |||||
"$(inherited)", | "$(inherited)", | ||||
"$(PROJECT_DIR)/Flutter", | "$(PROJECT_DIR)/Flutter", | ||||
); | ); | ||||
MARKETING_VERSION = 1.0.9; | |||||
MARKETING_VERSION = 1.1.0; | |||||
PRODUCT_BUNDLE_IDENTIFIER = com.chengyouhudong.hibok; | PRODUCT_BUNDLE_IDENTIFIER = com.chengyouhudong.hibok; | ||||
PRODUCT_NAME = "$(TARGET_NAME)"; | PRODUCT_NAME = "$(TARGET_NAME)"; | ||||
PROVISIONING_PROFILE_SPECIFIER = ""; | PROVISIONING_PROFILE_SPECIFIER = ""; | ||||
@@ -811,7 +811,7 @@ | |||||
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; | ||||
CODE_SIGN_IDENTITY = "Apple Development"; | CODE_SIGN_IDENTITY = "Apple Development"; | ||||
CODE_SIGN_STYLE = Automatic; | CODE_SIGN_STYLE = Automatic; | ||||
CURRENT_PROJECT_VERSION = 13; | |||||
CURRENT_PROJECT_VERSION = 14; | |||||
DEVELOPMENT_TEAM = QJ9M3998Q6; | DEVELOPMENT_TEAM = QJ9M3998Q6; | ||||
ENABLE_BITCODE = NO; | ENABLE_BITCODE = NO; | ||||
FRAMEWORK_SEARCH_PATHS = ( | FRAMEWORK_SEARCH_PATHS = ( | ||||
@@ -825,7 +825,7 @@ | |||||
"$(inherited)", | "$(inherited)", | ||||
"$(PROJECT_DIR)/Flutter", | "$(PROJECT_DIR)/Flutter", | ||||
); | ); | ||||
MARKETING_VERSION = 1.0.9; | |||||
MARKETING_VERSION = 1.1.0; | |||||
PRODUCT_BUNDLE_IDENTIFIER = com.chengyouhudong.hibok; | PRODUCT_BUNDLE_IDENTIFIER = com.chengyouhudong.hibok; | ||||
PRODUCT_NAME = "$(TARGET_NAME)"; | PRODUCT_NAME = "$(TARGET_NAME)"; | ||||
PROVISIONING_PROFILE_SPECIFIER = ""; | PROVISIONING_PROFILE_SPECIFIER = ""; | ||||
@@ -314,9 +314,6 @@ class ChatDataMgr { | |||||
print('数据为空,无法插入'); | print('数据为空,无法插入'); | ||||
} else { | } else { | ||||
record.insert(0, msg); | record.insert(0, msg); | ||||
int after = DateTime.now().millisecondsSinceEpoch-MsgHandler.time; | |||||
print('******插入数据 use $after'); | |||||
print('******record length ${record.length} ${msg.sessionId}'); | |||||
//record.add(msg); | //record.add(msg); | ||||
SqlUtil.insert(msg); | SqlUtil.insert(msg); | ||||
@@ -34,6 +34,7 @@ import 'package:shared_preferences/shared_preferences.dart'; | |||||
import 'package:chat/utils/my_bottom_navigation_bar.dart' as myBottm; | import 'package:chat/utils/my_bottom_navigation_bar.dart' as myBottm; | ||||
import 'friend_page.dart'; | import 'friend_page.dart'; | ||||
import 'group_chat_page.dart'; | |||||
class NavigationIconView { | class NavigationIconView { | ||||
final BottomNavigationBarItem item; | final BottomNavigationBarItem item; | ||||
@@ -361,79 +362,22 @@ class _HomeMainState extends State<HomeMain> { | |||||
I18n.of(context).me | I18n.of(context).me | ||||
]; | ]; | ||||
_navigationViews = [ | |||||
NavigationIconView( | |||||
title: _titles[2], | |||||
icon: IconData( | |||||
0xe67c, | |||||
fontFamily: 'iconfont', | |||||
), | |||||
isShowdot: true, | |||||
iconSize: 29), | |||||
NavigationIconView( | |||||
title: _titles[0], | |||||
isShowdot: true, | |||||
iconMargin: EdgeInsets.only(top: 2), | |||||
type: 5, | |||||
icon: IconData( | |||||
0xe66e, | |||||
fontFamily: 'iconfont', | |||||
), | |||||
iconSize: 26.5), | |||||
NavigationIconView( | |||||
title: _titles[1], | |||||
icon: IconData( | |||||
0xe656, | |||||
fontFamily: 'iconfont', | |||||
), | |||||
isCenter: true, | |||||
iconSize: 31), | |||||
NavigationIconView( | |||||
title: _titles[1], | |||||
isShowdot: true, | |||||
icon: IconData( | |||||
0xe60b, | |||||
fontFamily: 'iconfont', | |||||
), | |||||
type: 6, | |||||
iconSize: 26.5), | |||||
NavigationIconView( | |||||
title: _titles[3], | |||||
icon: IconData( | |||||
0xe67b, | |||||
fontFamily: 'iconfont', | |||||
), | |||||
iconSize: 26.5), | |||||
]; | |||||
_pages = [ | |||||
RealTimeHelperPage(), | |||||
FriendPage(), | |||||
FindPage(), | |||||
ConversActionPage(), | |||||
// GroupChatListPage(), | |||||
ProfilePage( | |||||
userId: UserData().basicInfo.userId, | |||||
), | |||||
]; | |||||
// _navigationViews = [ | // _navigationViews = [ | ||||
// NavigationIconView( | // NavigationIconView( | ||||
// title: _titles[1], | |||||
// isShowdot: true, | |||||
// title: _titles[2], | |||||
// icon: IconData( | // icon: IconData( | ||||
// 0xe60b, | |||||
// 0xe67c, | |||||
// fontFamily: 'iconfont', | // fontFamily: 'iconfont', | ||||
// ), | // ), | ||||
// type: 1, | |||||
// iconSize: 26.5), | |||||
// isShowdot: true, | |||||
// iconSize: 29), | |||||
// NavigationIconView( | // NavigationIconView( | ||||
// title: _titles[0], | // title: _titles[0], | ||||
// isShowdot: true, | // isShowdot: true, | ||||
// iconMargin: EdgeInsets.only(top: 2), | // iconMargin: EdgeInsets.only(top: 2), | ||||
// type: 5, | // type: 5, | ||||
// icon: IconData( | // icon: IconData( | ||||
// 0xe663, | |||||
// 0xe66e, | |||||
// fontFamily: 'iconfont', | // fontFamily: 'iconfont', | ||||
// ), | // ), | ||||
// iconSize: 26.5), | // iconSize: 26.5), | ||||
@@ -445,17 +389,15 @@ class _HomeMainState extends State<HomeMain> { | |||||
// ), | // ), | ||||
// isCenter: true, | // isCenter: true, | ||||
// iconSize: 31), | // iconSize: 31), | ||||
// | |||||
// NavigationIconView( | // NavigationIconView( | ||||
// title: _titles[3], | |||||
// title: _titles[1], | |||||
// isShowdot: true, | // isShowdot: true, | ||||
// icon: IconData( | // icon: IconData( | ||||
// 0xe66e, | |||||
// 0xe60b, | |||||
// fontFamily: 'iconfont', | // fontFamily: 'iconfont', | ||||
// ), | // ), | ||||
// type: 4, | |||||
// type: 6, | |||||
// iconSize: 26.5), | // iconSize: 26.5), | ||||
// | |||||
// NavigationIconView( | // NavigationIconView( | ||||
// title: _titles[3], | // title: _titles[3], | ||||
// icon: IconData( | // icon: IconData( | ||||
@@ -466,16 +408,75 @@ class _HomeMainState extends State<HomeMain> { | |||||
// ]; | // ]; | ||||
// | // | ||||
// _pages = [ | // _pages = [ | ||||
// ConversActionPage(), | |||||
//// RealTimeHelperPage(), | |||||
// RealTimeHelperPage(), | |||||
// FriendPage(), | // FriendPage(), | ||||
// FindPage(), | // FindPage(), | ||||
//// ConversActionPage(), | |||||
// GroupChatListPage(), | |||||
// ConversActionPage(), | |||||
//// GroupChatListPage(), | |||||
// ProfilePage( | // ProfilePage( | ||||
// userId: UserData().basicInfo.userId, | // userId: UserData().basicInfo.userId, | ||||
// ), | // ), | ||||
// ]; | // ]; | ||||
_navigationViews = [ | |||||
NavigationIconView( | |||||
title: _titles[1], | |||||
isShowdot: true, | |||||
icon: IconData( | |||||
0xe60b, | |||||
fontFamily: 'iconfont', | |||||
), | |||||
type: 1, | |||||
iconSize: 26.5), | |||||
NavigationIconView( | |||||
title: _titles[0], | |||||
isShowdot: true, | |||||
iconMargin: EdgeInsets.only(top: 2), | |||||
type: 5, | |||||
icon: IconData( | |||||
0xe663, | |||||
fontFamily: 'iconfont', | |||||
), | |||||
iconSize: 26.5), | |||||
NavigationIconView( | |||||
title: _titles[1], | |||||
icon: IconData( | |||||
0xe656, | |||||
fontFamily: 'iconfont', | |||||
), | |||||
isCenter: true, | |||||
iconSize: 31), | |||||
NavigationIconView( | |||||
title: _titles[3], | |||||
isShowdot: true, | |||||
icon: IconData( | |||||
0xe66e, | |||||
fontFamily: 'iconfont', | |||||
), | |||||
type: 4, | |||||
iconSize: 26.5), | |||||
NavigationIconView( | |||||
title: _titles[3], | |||||
icon: IconData( | |||||
0xe67b, | |||||
fontFamily: 'iconfont', | |||||
), | |||||
iconSize: 26.5), | |||||
]; | |||||
_pages = [ | |||||
ConversActionPage(), | |||||
// RealTimeHelperPage(), | |||||
FriendPage(), | |||||
FindPage(), | |||||
// ConversActionPage(), | |||||
GroupChatListPage(), | |||||
ProfilePage( | |||||
userId: UserData().basicInfo.userId, | |||||
), | |||||
]; | |||||
} | } | ||||
@override | @override | ||||
@@ -44,9 +44,9 @@ class HttpUtil { | |||||
//static const String BaseUrl = 'http://192.168.0.223:7001/'; | //static const String BaseUrl = 'http://192.168.0.223:7001/'; | ||||
//static const String BaseUrl = 'http://192.168.0.207:9080/'; | //static const String BaseUrl = 'http://192.168.0.207:9080/'; | ||||
static const String BaseUrl = 'http://120.79.107.63:9080/'; | |||||
// static const String BaseUrl = 'http://120.79.107.63:9080/'; | |||||
//static const String BaseUrl = 'http://192.168.0.177:9016/'; | //static const String BaseUrl = 'http://192.168.0.177:9016/'; | ||||
// static const String BaseUrl = 'https://datasm.chengyouhd.com/'; | |||||
static const String BaseUrl = 'https://datasm.chengyouhd.com/'; | |||||
static HttpUtil _getInstance() { | static HttpUtil _getInstance() { | ||||
if (_instance == null) { | if (_instance == null) { | ||||
@@ -256,8 +256,6 @@ class MsgHandler { | |||||
static int tempGroupId = 0; | static int tempGroupId = 0; | ||||
static int mLastClickTime = 0; | static int mLastClickTime = 0; | ||||
static int timeInterval = 2500; | static int timeInterval = 2500; | ||||
// static int receivedCount=0; | |||||
static int time; | |||||
static handlerReceiveMsg(PushChat chat) async { | static handlerReceiveMsg(PushChat chat) async { | ||||
bool isGroup = false; | bool isGroup = false; | ||||
@@ -485,8 +483,6 @@ class MsgHandler { | |||||
} | } | ||||
} else { | } else { | ||||
//聊天消息 | //聊天消息 | ||||
time = DateTime.now().millisecondsSinceEpoch; | |||||
print('******收到聊天消息 $time'); | |||||
int sessionId = chat.targetId; | int sessionId = chat.targetId; | ||||
print('sessionId $sessionId'); | print('sessionId $sessionId'); | ||||
if (isGroup) { | if (isGroup) { | ||||
@@ -1,7 +1,7 @@ | |||||
name: chat | name: chat | ||||
description: A new Flutter project. | description: A new Flutter project. | ||||
#修改版本号后get-clean | #修改版本号后get-clean | ||||
version: 1.0.9+14 | |||||
version: 1.1.0+15 | |||||
environment: | environment: | ||||
sdk: ">=2.1.0 <3.0.0" | sdk: ">=2.1.0 <3.0.0" | ||||