diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json
index dce157db..c361db17 100644
--- a/.dart_tool/package_config.json
+++ b/.dart_tool/package_config.json
@@ -9,7 +9,7 @@
},
{
"name": "async",
- "rootUri": "file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.6.1",
+ "rootUri": "file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
@@ -39,7 +39,7 @@
},
{
"name": "charcode",
- "rootUri": "file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0",
+ "rootUri": "file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
@@ -315,7 +315,7 @@
},
{
"name": "meta",
- "rootUri": "file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0",
+ "rootUri": "file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
@@ -507,7 +507,7 @@
},
{
"name": "test_api",
- "rootUri": "file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.3.0",
+ "rootUri": "file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.2",
"packageUri": "lib/",
"languageVersion": "2.12"
},
@@ -572,7 +572,7 @@
"languageVersion": "2.7"
}
],
- "generated": "2021-07-05T04:16:28.165460Z",
+ "generated": "2021-09-17T17:36:01.339768Z",
"generator": "pub",
- "generatorVersion": "2.13.4"
+ "generatorVersion": "2.14.0"
}
diff --git a/.dart_tool/package_config_subset b/.dart_tool/package_config_subset
index 61a5833d..52a392ea 100644
--- a/.dart_tool/package_config_subset
+++ b/.dart_tool/package_config_subset
@@ -4,8 +4,8 @@ file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.d
file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-1.0.15/lib/
async
2.12
-file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.6.1/
-file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.6.1/lib/
+file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.1/
+file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.8.1/lib/
badges
2.12
file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/badges-2.0.1/
@@ -24,8 +24,8 @@ file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.d
file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/lib/
charcode
2.12
-file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0/
-file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0/lib/
+file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1/
+file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.3.1/lib/
clay_containers
2.12
file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/clay_containers-0.3.2/
@@ -192,8 +192,8 @@ file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.d
file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/material_buttonx-2.0.2/lib/
meta
2.12
-file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0/
-file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0/lib/
+file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/
+file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.7.0/lib/
mime
2.12
file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/mime-1.0.0/
@@ -316,8 +316,8 @@ file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.d
file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
test_api
2.12
-file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.3.0/
-file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.3.0/lib/
+file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.2/
+file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.2/lib/
timezone
2.12
file:///D:/Programs/ProgrammingLanguage/dart-sdk/flutter/.pub-cache/hosted/pub.dartlang.org/timezone-0.7.0/
diff --git a/.dart_tool/version b/.dart_tool/version
index 6b4d1577..fad066f8 100644
--- a/.dart_tool/version
+++ b/.dart_tool/version
@@ -1 +1 @@
-2.2.3
\ No newline at end of file
+2.5.0
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 88a672d5..b0ec2916 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,4 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 914d0acb..ecc8d1d7 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,573 +1,51 @@
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
-
+
+
+
+
+
+
+
+
@@ -579,6 +57,9 @@
+
+
+
@@ -594,11 +75,12 @@
+
-
+
@@ -631,6 +113,10 @@
+
+
+
+
diff --git a/build/app/outputs/flutter-apk/app.apk b/build/app/outputs/flutter-apk/app.apk
index 620d4fde..1f2bf941 100644
Binary files a/build/app/outputs/flutter-apk/app.apk and b/build/app/outputs/flutter-apk/app.apk differ
diff --git a/build/app/outputs/flutter-apk/app.apk.sha1 b/build/app/outputs/flutter-apk/app.apk.sha1
index 3f43441d..78fa2c06 100644
--- a/build/app/outputs/flutter-apk/app.apk.sha1
+++ b/build/app/outputs/flutter-apk/app.apk.sha1
@@ -1 +1 @@
-4059b50d8c0ab3ca5f10078085727c659bd49ffd
\ No newline at end of file
+93a52c1097493128d40e32d09dda76c8585a3a4c
\ No newline at end of file
diff --git a/doc.txt b/doc.txt
index e3e9af13..eb7c11bb 100644
--- a/doc.txt
+++ b/doc.txt
@@ -1,7 +1,8 @@
there are bug like
edit user post here onUpdatePost url map
-*comment edit not add this feature
- - * upload imutli image and video but in post screen
+ - * update text not working
+
method select image and video
- group freind notify
- *disable request notify
@@ -10,8 +11,6 @@ edit user post here onUpdatePost url map
new feature
*blok user in other profile
-*block user in search friend page
- -comment with image
- -post multi image
-post vdo
diff --git a/lib/call/repository/call_agora_repository.dart b/lib/call/repository/call_agora_repository.dart
index 7cac558d..737d5a39 100644
--- a/lib/call/repository/call_agora_repository.dart
+++ b/lib/call/repository/call_agora_repository.dart
@@ -7,6 +7,7 @@ import 'package:socialapp/call/model/call_model.dart';
import 'package:socialapp/call/repository/call_repository.dart';
import 'package:socialapp/call/screen/call_screen.dart';
import 'package:http/http.dart' as http;
+import 'package:socialapp/utils/utils.dart';
class CallAgoraRepository implements CallRepository {
//database path
@@ -93,8 +94,8 @@ class CallAgoraRepository implements CallRepository {
String tokenCall = "";
await http.Client()
- .get(Uri.parse(
- "http://192.168.1.42:8080/resocial/api/v1/generate/token?channelName=$channelName&uid=0&role=publisher&expireTime=3600"))
+ .get(Uri.parse(TOKEN_URL +
+ 'token?channelName=$channelName&uid=0&role=publisher&expireTime=3600'))
.then((token) {
Map t = jsonDecode(token.body);
tokenCall = t['token'];
@@ -105,7 +106,7 @@ class CallAgoraRepository implements CallRepository {
await mRef.doc("$senderId").get().then((info) {
senderName = info["user"].toString();
senderPic = info['imageProfile'].toString().isEmpty
- ? 'https://img.favpng.com/20/11/12/computer-icons-user-profile-png-favpng-0UAKKCpRRsMj5NaiELzw1pV7L.jpg'
+ ? CALL_ICON_USER
: '${info['imageProfile']}';
}).catchError((e) {
senderName = "";
@@ -116,7 +117,7 @@ class CallAgoraRepository implements CallRepository {
await mRef.doc("$receiverId").get().then((info) {
receiverName = info["user"].toString();
receiverPic = info['imageProfile'].toString().isEmpty
- ? 'https://img.favpng.com/20/11/12/computer-icons-user-profile-png-favpng-0UAKKCpRRsMj5NaiELzw1pV7L.jpg'
+ ? CALL_ICON_USER
: '${info['imageProfile']}';
}).catchError((e) {
receiverName = "";
diff --git a/lib/chat/bloc/chatBloc/chat_state.dart b/lib/chat/bloc/chatBloc/chat_state.dart
index b6a1f59e..bf34b03e 100644
--- a/lib/chat/bloc/chatBloc/chat_state.dart
+++ b/lib/chat/bloc/chatBloc/chat_state.dart
@@ -6,14 +6,12 @@ abstract class ChatState extends Equatable {}
//show while that downloading chat info
class ChatLoadingState extends ChatState {
@override
- // TODO: implement props
List