Skip to content

Commit a138974

Browse files
authored
Merge pull request #69 from talkjs/fix/non-talkjs-notifications
Added Talk.initPushNotificationHandlers and Talk.handleFCMBackgroundMessage
2 parents 31077eb + 3d318bb commit a138974

File tree

7 files changed

+150
-125
lines changed

7 files changed

+150
-125
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.15.0
2+
3+
- Add `registerBackgroundHandler` property to AndroidSettings passed to `registerPushNotificationHandlers()`
4+
- Add `Talk.handleFCMBackgroundMessage` function
5+
16
## 0.14.0
27

38
- Add `onUnreadsChange` property to Session

example/push_notifications/pubspec.lock

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ packages:
9393
dependency: "direct main"
9494
description:
9595
name: dart_jsonwebtoken
96-
sha256: adf073720e491d64fa599942615b919915710af2d809b2798146f9b7c4330f3f
96+
sha256: "866787dc17afaef46a9ea7dd33eefe60c6d82084b4a36d70e8e788d091cd04ef"
9797
url: "https://pub.dev"
9898
source: hosted
99-
version: "2.14.1"
99+
version: "2.14.2"
100100
dbus:
101101
dependency: transitive
102102
description:
@@ -210,42 +210,42 @@ packages:
210210
dependency: transitive
211211
description:
212212
name: flutter_inappwebview_internal_annotations
213-
sha256: "5f80fd30e208ddded7dbbcd0d569e7995f9f63d45ea3f548d8dd4c0b473fb4c8"
213+
sha256: "787171d43f8af67864740b6f04166c13190aa74a1468a1f1f1e9ee5b90c359cd"
214214
url: "https://pub.dev"
215215
source: hosted
216-
version: "1.1.1"
216+
version: "1.2.0"
217217
flutter_lints:
218218
dependency: "direct dev"
219219
description:
220220
name: flutter_lints
221-
sha256: b543301ad291598523947dc534aaddc5aaad597b709d2426d3a0e0d44c5cb493
221+
sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1"
222222
url: "https://pub.dev"
223223
source: hosted
224-
version: "1.0.4"
224+
version: "5.0.0"
225225
flutter_local_notifications:
226226
dependency: "direct main"
227227
description:
228228
name: flutter_local_notifications
229-
sha256: "674173fd3c9eda9d4c8528da2ce0ea69f161577495a9cc835a2a4ecd7eadeb35"
229+
sha256: ef41ae901e7529e52934feba19ed82827b11baa67336829564aeab3129460610
230230
url: "https://pub.dev"
231231
source: hosted
232-
version: "17.2.4"
232+
version: "18.0.1"
233233
flutter_local_notifications_linux:
234234
dependency: transitive
235235
description:
236236
name: flutter_local_notifications_linux
237-
sha256: c49bd06165cad9beeb79090b18cd1eb0296f4bf4b23b84426e37dd7c027fc3af
237+
sha256: "8f685642876742c941b29c32030f6f4f6dacd0e4eaecb3efbb187d6a3812ca01"
238238
url: "https://pub.dev"
239239
source: hosted
240-
version: "4.0.1"
240+
version: "5.0.0"
241241
flutter_local_notifications_platform_interface:
242242
dependency: transitive
243243
description:
244244
name: flutter_local_notifications_platform_interface
245-
sha256: "85f8d07fe708c1bdcf45037f2c0109753b26ae077e9d9e899d55971711a4ea66"
245+
sha256: "6c5b83c86bf819cdb177a9247a3722067dd8cc6313827ce7c77a4b238a26fd52"
246246
url: "https://pub.dev"
247247
source: hosted
248-
version: "7.2.0"
248+
version: "8.0.0"
249249
flutter_test:
250250
dependency: "direct dev"
251251
description: flutter
@@ -308,10 +308,10 @@ packages:
308308
dependency: transitive
309309
description:
310310
name: lints
311-
sha256: a2c3d198cb5ea2e179926622d433331d8b58374ab8f29cdda6e863bd62fd369c
311+
sha256: "3315600f3fb3b135be672bf4a178c55f274bebe368325ae18462c89ac1e3b413"
312312
url: "https://pub.dev"
313313
source: hosted
314-
version: "1.0.1"
314+
version: "5.0.0"
315315
matcher:
316316
dependency: transitive
317317
description:
@@ -396,10 +396,10 @@ packages:
396396
dependency: transitive
397397
description:
398398
name: permission_handler_html
399-
sha256: af26edbbb1f2674af65a8f4b56e1a6f526156bc273d0e65dd8075fab51c78851
399+
sha256: "38f000e83355abb3392140f6bc3030660cfaef189e1f87824facb76300b4ff24"
400400
url: "https://pub.dev"
401401
source: hosted
402-
version: "0.1.3+2"
402+
version: "0.1.3+5"
403403
permission_handler_platform_interface:
404404
dependency: transitive
405405
description:
@@ -460,10 +460,10 @@ packages:
460460
dependency: transitive
461461
description:
462462
name: shared_preferences_android
463-
sha256: "3b9febd815c9ca29c9e3520d50ec32f49157711e143b7a4ca039eb87e8ade5ab"
463+
sha256: "7f172d1b06de5da47b6264c2692ee2ead20bbbc246690427cdb4fc301cd0c549"
464464
url: "https://pub.dev"
465465
source: hosted
466-
version: "2.3.3"
466+
version: "2.3.4"
467467
shared_preferences_foundation:
468468
dependency: transitive
469469
description:
@@ -576,10 +576,10 @@ packages:
576576
dependency: transitive
577577
description:
578578
name: timezone
579-
sha256: "2236ec079a174ce07434e89fcd3fcda430025eb7692244139a9cf54fdcf1fc7d"
579+
sha256: ffc9d5f4d1193534ef051f9254063fa53d588609418c84299956c3db9383587d
580580
url: "https://pub.dev"
581581
source: hosted
582-
version: "0.9.4"
582+
version: "0.10.0"
583583
typed_data:
584584
dependency: transitive
585585
description:

example/push_notifications/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies:
3636

3737
talkjs_flutter:
3838
path: ../../
39-
flutter_local_notifications: ^17.1.2
39+
flutter_local_notifications: ^18.0.1
4040
dart_jsonwebtoken: ^2.14.1
4141

4242
dev_dependencies:
@@ -48,7 +48,7 @@ dev_dependencies:
4848
# activated in the `analysis_options.yaml` file located at the root of your
4949
# package. See that file for information about deactivating specific lint
5050
# rules and activating additional ones.
51-
flutter_lints: ^1.0.0
51+
flutter_lints: ^5.0.0
5252

5353
# For information on the generic Dart part of this file, see the
5454
# following page: https://dart.dev/tools/pub/pubspec

0 commit comments

Comments
 (0)