Skip to content

Commit 837b099

Browse files
committed
add view full photo
1 parent 9a2843c commit 837b099

File tree

7 files changed

+222
-120
lines changed

7 files changed

+222
-120
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@
1212
* Article: https://medium.com/@duytq94/flutter-chat-app-extended-push-notification-messages-a26c669f4675
1313

1414
## Screenshot
15+
<img src="https://raw.githubusercontent.com/duytq94/flutter-chat-demo/master/screenshots/FlutterChatDemo.gif" height="50%" width="50%">
1516

16-
<img src="https://raw.githubusercontent.com/duytq94/flutter-chat-demo/master/screenshots/FlutterChatDemo.gif" height="50%" width="50%">
17+
## How to run
18+
* Clone this repo
19+
* Run `flutter packages get`
20+
* Run `flutter run` (remember open simulator or connect physical device, iOS auto run additional command `pod install`)

ios/Podfile.lock

Lines changed: 77 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ PODS:
99
- Firebase/Core
1010
- Firebase/Firestore (~> 6.0)
1111
- Flutter
12-
- Firebase/Auth (6.3.0):
12+
- Firebase/Auth (6.6.0):
1313
- Firebase/CoreOnly
14-
- FirebaseAuth (~> 6.1.2)
15-
- Firebase/Core (6.3.0):
14+
- FirebaseAuth (~> 6.2.2)
15+
- Firebase/Core (6.6.0):
1616
- Firebase/CoreOnly
17-
- FirebaseAnalytics (= 6.0.2)
18-
- Firebase/CoreOnly (6.3.0):
19-
- FirebaseCore (= 6.0.3)
20-
- Firebase/Firestore (6.3.0):
17+
- FirebaseAnalytics (= 6.1.0)
18+
- Firebase/CoreOnly (6.6.0):
19+
- FirebaseCore (= 6.2.0)
20+
- Firebase/Firestore (6.6.0):
2121
- Firebase/CoreOnly
22-
- FirebaseFirestore (~> 1.4.0)
23-
- Firebase/Messaging (6.3.0):
22+
- FirebaseFirestore (~> 1.4.3)
23+
- Firebase/Messaging (6.6.0):
2424
- Firebase/CoreOnly
25-
- FirebaseMessaging (~> 4.1.0)
26-
- Firebase/Storage (6.3.0):
25+
- FirebaseMessaging (~> 4.1.2)
26+
- Firebase/Storage (6.6.0):
2727
- Firebase/CoreOnly
28-
- FirebaseStorage (~> 3.2.1)
28+
- FirebaseStorage (~> 3.4.0)
2929
- firebase_auth (0.0.1):
3030
- Firebase/Auth (~> 6.0)
3131
- Firebase/Core
@@ -40,55 +40,63 @@ PODS:
4040
- firebase_storage (0.0.1):
4141
- Firebase/Storage
4242
- Flutter
43-
- FirebaseAnalytics (6.0.2):
44-
- FirebaseCore (~> 6.0)
43+
- FirebaseAnalytics (6.1.0):
44+
- FirebaseCore (~> 6.2)
4545
- FirebaseInstanceID (~> 4.2)
46-
- GoogleAppMeasurement (= 6.0.2)
46+
- GoogleAppMeasurement (= 6.1.0)
4747
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
4848
- GoogleUtilities/MethodSwizzler (~> 6.0)
4949
- GoogleUtilities/Network (~> 6.0)
5050
- "GoogleUtilities/NSData+zlib (~> 6.0)"
5151
- nanopb (~> 0.3)
52-
- FirebaseAnalyticsInterop (1.2.0)
53-
- FirebaseAuth (6.1.2):
52+
- FirebaseAnalyticsInterop (1.3.0)
53+
- FirebaseAuth (6.2.2):
5454
- FirebaseAuthInterop (~> 1.0)
55-
- FirebaseCore (~> 6.0)
55+
- FirebaseCore (~> 6.2)
5656
- GoogleUtilities/AppDelegateSwizzler (~> 6.2)
5757
- GoogleUtilities/Environment (~> 6.2)
5858
- GTMSessionFetcher/Core (~> 1.1)
5959
- FirebaseAuthInterop (1.0.0)
60-
- FirebaseCore (6.0.3):
61-
- GoogleUtilities/Environment (~> 6.0)
62-
- GoogleUtilities/Logger (~> 6.0)
63-
- FirebaseFirestore (1.4.0):
60+
- FirebaseCore (6.2.0):
61+
- FirebaseCoreDiagnostics (~> 1.0)
62+
- FirebaseCoreDiagnosticsInterop (~> 1.0)
63+
- GoogleUtilities/Environment (~> 6.2)
64+
- GoogleUtilities/Logger (~> 6.2)
65+
- FirebaseCoreDiagnostics (1.0.1):
66+
- FirebaseCoreDiagnosticsInterop (~> 1.0)
67+
- GoogleDataTransportCCTSupport (~> 1.0)
68+
- GoogleUtilities/Environment (~> 6.2)
69+
- GoogleUtilities/Logger (~> 6.2)
70+
- FirebaseCoreDiagnosticsInterop (1.0.0)
71+
- FirebaseFirestore (1.4.3):
6472
- FirebaseAuthInterop (~> 1.0)
65-
- FirebaseCore (~> 6.0)
66-
- FirebaseFirestore/abseil-cpp (= 1.4.0)
73+
- FirebaseCore (~> 6.2)
74+
- FirebaseFirestore/abseil-cpp (= 1.4.3)
6775
- "gRPC-C++ (= 0.0.9)"
6876
- leveldb-library (~> 1.20)
6977
- nanopb (~> 0.3.901)
7078
- Protobuf (~> 3.1)
71-
- FirebaseFirestore/abseil-cpp (1.4.0):
79+
- FirebaseFirestore/abseil-cpp (1.4.3):
7280
- FirebaseAuthInterop (~> 1.0)
73-
- FirebaseCore (~> 6.0)
81+
- FirebaseCore (~> 6.2)
7482
- "gRPC-C++ (= 0.0.9)"
7583
- leveldb-library (~> 1.20)
7684
- nanopb (~> 0.3.901)
7785
- Protobuf (~> 3.1)
78-
- FirebaseInstanceID (4.2.0):
86+
- FirebaseInstanceID (4.2.3):
7987
- FirebaseCore (~> 6.0)
8088
- GoogleUtilities/Environment (~> 6.0)
8189
- GoogleUtilities/UserDefaults (~> 6.0)
82-
- FirebaseMessaging (4.1.0):
83-
- FirebaseAnalyticsInterop (~> 1.1)
84-
- FirebaseCore (~> 6.0)
90+
- FirebaseMessaging (4.1.2):
91+
- FirebaseAnalyticsInterop (~> 1.3)
92+
- FirebaseCore (~> 6.2)
8593
- FirebaseInstanceID (~> 4.1)
8694
- GoogleUtilities/AppDelegateSwizzler (~> 6.2)
8795
- GoogleUtilities/Environment (~> 6.2)
8896
- GoogleUtilities/Reachability (~> 6.2)
8997
- GoogleUtilities/UserDefaults (~> 6.2)
9098
- Protobuf (~> 3.1)
91-
- FirebaseStorage (3.2.1):
99+
- FirebaseStorage (3.4.0):
92100
- FirebaseAuthInterop (~> 1.0)
93101
- FirebaseCore (~> 6.0)
94102
- GTMSessionFetcher/Core (~> 1.1)
@@ -103,12 +111,16 @@ PODS:
103111
- google_sign_in (0.0.1):
104112
- Flutter
105113
- GoogleSignIn (~> 4.0)
106-
- GoogleAppMeasurement (6.0.2):
114+
- GoogleAppMeasurement (6.1.0):
107115
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
108116
- GoogleUtilities/MethodSwizzler (~> 6.0)
109117
- GoogleUtilities/Network (~> 6.0)
110118
- "GoogleUtilities/NSData+zlib (~> 6.0)"
111119
- nanopb (~> 0.3)
120+
- GoogleDataTransport (1.1.1)
121+
- GoogleDataTransportCCTSupport (1.0.1):
122+
- GoogleDataTransport (~> 1.1)
123+
- nanopb
112124
- GoogleSignIn (4.4.0):
113125
- "GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)"
114126
- "GoogleToolboxForMac/NSString+URLArguments (~> 2.1)"
@@ -121,23 +133,23 @@ PODS:
121133
- GoogleToolboxForMac/Defines (= 2.2.1)
122134
- "GoogleToolboxForMac/NSString+URLArguments (= 2.2.1)"
123135
- "GoogleToolboxForMac/NSString+URLArguments (2.2.1)"
124-
- GoogleUtilities/AppDelegateSwizzler (6.2.1):
136+
- GoogleUtilities/AppDelegateSwizzler (6.2.5):
125137
- GoogleUtilities/Environment
126138
- GoogleUtilities/Logger
127139
- GoogleUtilities/Network
128-
- GoogleUtilities/Environment (6.2.1)
129-
- GoogleUtilities/Logger (6.2.1):
140+
- GoogleUtilities/Environment (6.2.5)
141+
- GoogleUtilities/Logger (6.2.5):
130142
- GoogleUtilities/Environment
131-
- GoogleUtilities/MethodSwizzler (6.2.1):
143+
- GoogleUtilities/MethodSwizzler (6.2.5):
132144
- GoogleUtilities/Logger
133-
- GoogleUtilities/Network (6.2.1):
145+
- GoogleUtilities/Network (6.2.5):
134146
- GoogleUtilities/Logger
135147
- "GoogleUtilities/NSData+zlib"
136148
- GoogleUtilities/Reachability
137-
- "GoogleUtilities/NSData+zlib (6.2.1)"
138-
- GoogleUtilities/Reachability (6.2.1):
149+
- "GoogleUtilities/NSData+zlib (6.2.5)"
150+
- GoogleUtilities/Reachability (6.2.5):
139151
- GoogleUtilities/Logger
140-
- GoogleUtilities/UserDefaults (6.2.1):
152+
- GoogleUtilities/UserDefaults (6.2.5):
141153
- GoogleUtilities/Logger
142154
- "gRPC-C++ (0.0.9)":
143155
- "gRPC-C++/Implementation (= 0.0.9)"
@@ -166,7 +178,7 @@ PODS:
166178
- nanopb/encode (0.3.901)
167179
- path_provider (0.0.1):
168180
- Flutter
169-
- Protobuf (3.8.0)
181+
- Protobuf (3.9.0)
170182
- shared_preferences (0.0.1):
171183
- Flutter
172184
- sqflite (0.0.1):
@@ -197,12 +209,16 @@ SPEC REPOS:
197209
- FirebaseAuth
198210
- FirebaseAuthInterop
199211
- FirebaseCore
212+
- FirebaseCoreDiagnostics
213+
- FirebaseCoreDiagnosticsInterop
200214
- FirebaseFirestore
201215
- FirebaseInstanceID
202216
- FirebaseMessaging
203217
- FirebaseStorage
204218
- FMDB
205219
- GoogleAppMeasurement
220+
- GoogleDataTransport
221+
- GoogleDataTransportCCTSupport
206222
- GoogleSignIn
207223
- GoogleToolboxForMac
208224
- GoogleUtilities
@@ -244,40 +260,44 @@ EXTERNAL SOURCES:
244260
SPEC CHECKSUMS:
245261
BoringSSL-GRPC: db8764df3204ccea016e1c8dd15d9a9ad63ff318
246262
cloud_firestore: 5698a9bd01b94fd31e7b7b56d8fe1665f4fb43cb
247-
Firebase: 8432d732974498afd5987e9001a05f90f1a3d625
248-
firebase_auth: ba238762663f6b3503cc5468c50d652df1306185
263+
Firebase: a2b5951f30ff38fd3b3bdae9c7d340f940fd3c51
264+
firebase_auth: a5a625aecc89c176ee75e0266efe2c048df10052
249265
firebase_core: 44f31f51532812598f0f9f4af0caa705b9edfc19
250-
firebase_messaging: 4e6f6e9826e41858d819bd85936eb315a5d1abfb
251-
firebase_storage: 96665eb4cf0a68e51ac8568f13d7841c3ed881bd
252-
FirebaseAnalytics: 470ddab7253b21ad5a40bebd4a9903d7ae19386a
253-
FirebaseAnalyticsInterop: efbe45c8385ec626e29f9525e5ebd38520dfb6c1
254-
FirebaseAuth: 7fa2cc010b93770831a4e7a60651b52c3b8d111a
266+
firebase_messaging: 049d2d722cb4c48d62be7f7a8020fc4d7b2b9e0a
267+
firebase_storage: ad2e96fb734b0254a42adba43f9aafb77de84d0a
268+
FirebaseAnalytics: 48414ae5cbf6976d8a2f7177e0466540e5ab33ce
269+
FirebaseAnalyticsInterop: 0f250d71e8741352407a8db351e6de78c5c56d35
270+
FirebaseAuth: 2be1924ddbc741fe2a02cb6963ca747e09a2e05c
255271
FirebaseAuthInterop: 0ffa57668be100582bb7643d4fcb7615496c41fc
256-
FirebaseCore: 68f8a7f50cdae542715d4e86afa37c4067217dcb
257-
FirebaseFirestore: 75768d91aad491eccdc02202b8161cff9872300e
258-
FirebaseInstanceID: f20243a1d828e0e9a3798b995174dedc16f1b32a
259-
FirebaseMessaging: 0ac5310133e6ada4cdd44d42e92038855214a5e9
260-
FirebaseStorage: 926d41552072b9fee67aa645760f05f87b7ce604
272+
FirebaseCore: 8c9e08bce0c72a3affd83927d8184cf244918bc8
273+
FirebaseCoreDiagnostics: 4c04ae09d0ab027c30179828c6bb47764df1bd13
274+
FirebaseCoreDiagnosticsInterop: 6829da2b8d1fc795ff1bd99df751d3788035d2cb
275+
FirebaseFirestore: d65bd28e77a8cdc045be6353c6e1e146efdf92dc
276+
FirebaseInstanceID: 8b42755db950682e7de0d167bc6fb26a57b244af
277+
FirebaseMessaging: ddd74d13644ef24cc4e2d95cabd1cf408e99b7b0
278+
FirebaseStorage: 618dd8fd886b30adf6e5d1915b1f5c18cb5c3944
261279
Flutter: 58dd7d1b27887414a370fcccb9e645c08ffd7a6a
262280
flutter_local_notifications: 9e4738ce2471c5af910d961a6b7eadcf57c50186
263281
fluttertoast: b644586ef3b16f67fae9a1f8754cef6b2d6b634b
264282
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
265283
google_sign_in: 27e70a98b529f0b076d4b19f231b81da28b1750b
266-
GoogleAppMeasurement: a35a645835bae31b6bdc0576396bc23908f12a22
284+
GoogleAppMeasurement: 47285fa897e5a125df56b9ef8750a1d81e4598a8
285+
GoogleDataTransport: ffbadce4ab93c88fb9dd8e6366c47bfcb4a32193
286+
GoogleDataTransportCCTSupport: 3451e7d8ba19093e533362a6d78d6d9014c6a037
267287
GoogleSignIn: 7ff245e1a7b26d379099d3243a562f5747e23d39
268288
GoogleToolboxForMac: b3553629623a3b1bff17f555e736cd5a6d95ad55
269-
GoogleUtilities: c7a0b08bda3bf808be823ed151f0e28ac6866e71
289+
GoogleUtilities: e7dc37039b19df7fe543479d3e4a02ac8d11bb69
270290
"gRPC-C++": 9dfe7b44821e7b3e44aacad2af29d2c21f7cde83
271291
gRPC-Core: c9aef9a261a1247e881b18059b84d597293c9947
272292
GTMSessionFetcher: 61bb0f61a4cb560030f1222021178008a5727a23
273293
image_picker: 16e5fec1fbc87fd3b297c53e4048521eaf17cd06
274294
leveldb-library: 08cba283675b7ed2d99629a4bc5fd052cd2bb6a5
275295
nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48
276296
path_provider: f96fff6166a8867510d2c25fdcc346327cc4b259
277-
Protobuf: 3f617b9a6e73605565086864c9bc26b2bf2dd5a3
297+
Protobuf: 1097ca58584c8d9be81bfbf2c5ff5975648dd87a
278298
shared_preferences: 1feebfa37bb57264736e16865e7ffae7fc99b523
279299
sqflite: ff1d9da63c06588cc8d1faf7256d741f16989d5a
280300

281301
PODFILE CHECKSUM: 348e15598a1c6ea25d3ed63919d5ffb9bd1c2ba6
282302

283-
COCOAPODS: 1.7.3
303+
COCOAPODS: 1.7.5

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@
166166
97C146EC1CF9000F007C117D /* Resources */,
167167
9705A1C41CF9048500538489 /* Embed Frameworks */,
168168
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
169-
32D609ECAAA2436A5C1CA65E /* [CP] Embed Pods Frameworks */,
170-
D96270B7CCE0D3CF08DD9950 /* [CP] Copy Pods Resources */,
169+
23992B75249945F86D463EFE /* [CP] Embed Pods Frameworks */,
170+
AC38C77DA605C3B15A456EB3 /* [CP] Copy Pods Resources */,
171171
);
172172
buildRules = (
173173
);
@@ -234,7 +234,7 @@
234234
/* End PBXResourcesBuildPhase section */
235235

236236
/* Begin PBXShellScriptBuildPhase section */
237-
32D609ECAAA2436A5C1CA65E /* [CP] Embed Pods Frameworks */ = {
237+
23992B75249945F86D463EFE /* [CP] Embed Pods Frameworks */ = {
238238
isa = PBXShellScriptBuildPhase;
239239
buildActionMask = 2147483647;
240240
files = (
@@ -298,7 +298,7 @@
298298
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
299299
showEnvVarsInLog = 0;
300300
};
301-
D96270B7CCE0D3CF08DD9950 /* [CP] Copy Pods Resources */ = {
301+
AC38C77DA605C3B15A456EB3 /* [CP] Copy Pods Resources */ = {
302302
isa = PBXShellScriptBuildPhase;
303303
buildActionMask = 2147483647;
304304
files = (

0 commit comments

Comments
 (0)