Skip to content

Commit 1e5def0

Browse files
authored
Merge pull request #20 from talkjs/feat/v0.6.0
v0.6.0
2 parents 95f93a4 + a96118a commit 1e5def0

File tree

11 files changed

+195
-156
lines changed

11 files changed

+195
-156
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.6.0
2+
3+
- BREAKING CHANGE: Updated version numbers for Firebase dependencies. This may require you to update
4+
your build versions on Android and iOS.
5+
- Fix audio messages not working.
6+
17
## 0.5.0
28

39
- Added the `onUrlNavigation` callback to the ChatBox

example/push_notifications/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ apply plugin: 'kotlin-android'
2727
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2828

2929
android {
30-
compileSdkVersion flutter.compileSdkVersion
30+
compileSdkVersion 33
3131

3232
compileOptions {
3333
sourceCompatibility JavaVersion.VERSION_1_8
@@ -46,7 +46,7 @@ android {
4646
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4747
applicationId "com.talkjs.flutter_push_example"
4848
minSdkVersion 19
49-
targetSdkVersion flutter.targetSdkVersion
49+
targetSdkVersion 33
5050
versionCode flutterVersionCode.toInteger()
5151
versionName flutterVersionName
5252
}

example/push_notifications/android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="com.talkjs.flutter_push_example">
33
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
4+
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
5+
<uses-permission android:name="android.permission.RECORD_AUDIO" />
46
<application
57
android:usesCleartextTraffic="true"
68
android:label="push_notifications"
Lines changed: 61 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,69 @@
11
PODS:
2-
- Firebase/CoreOnly (8.15.0):
3-
- FirebaseCore (= 8.15.0)
4-
- Firebase/Messaging (8.15.0):
2+
- Firebase/CoreOnly (10.2.0):
3+
- FirebaseCore (= 10.2.0)
4+
- Firebase/Messaging (10.2.0):
55
- Firebase/CoreOnly
6-
- FirebaseMessaging (~> 8.15.0)
7-
- firebase_core (1.16.0):
8-
- Firebase/CoreOnly (= 8.15.0)
6+
- FirebaseMessaging (~> 10.2.0)
7+
- firebase_core (2.3.0):
8+
- Firebase/CoreOnly (= 10.2.0)
99
- Flutter
10-
- firebase_messaging (11.3.0):
11-
- Firebase/Messaging (= 8.15.0)
10+
- firebase_messaging (14.1.1):
11+
- Firebase/Messaging (= 10.2.0)
1212
- firebase_core
1313
- Flutter
14-
- FirebaseCore (8.15.0):
15-
- FirebaseCoreDiagnostics (~> 8.0)
16-
- GoogleUtilities/Environment (~> 7.7)
17-
- GoogleUtilities/Logger (~> 7.7)
18-
- FirebaseCoreDiagnostics (8.15.0):
19-
- GoogleDataTransport (~> 9.1)
20-
- GoogleUtilities/Environment (~> 7.7)
21-
- GoogleUtilities/Logger (~> 7.7)
22-
- nanopb (~> 2.30908.0)
23-
- FirebaseInstallations (8.15.0):
24-
- FirebaseCore (~> 8.0)
25-
- GoogleUtilities/Environment (~> 7.7)
26-
- GoogleUtilities/UserDefaults (~> 7.7)
27-
- PromisesObjC (< 3.0, >= 1.2)
28-
- FirebaseMessaging (8.15.0):
29-
- FirebaseCore (~> 8.0)
30-
- FirebaseInstallations (~> 8.0)
31-
- GoogleDataTransport (~> 9.1)
32-
- GoogleUtilities/AppDelegateSwizzler (~> 7.7)
33-
- GoogleUtilities/Environment (~> 7.7)
34-
- GoogleUtilities/Reachability (~> 7.7)
35-
- GoogleUtilities/UserDefaults (~> 7.7)
36-
- nanopb (~> 2.30908.0)
14+
- FirebaseCore (10.2.0):
15+
- FirebaseCoreInternal (~> 10.0)
16+
- GoogleUtilities/Environment (~> 7.8)
17+
- GoogleUtilities/Logger (~> 7.8)
18+
- FirebaseCoreInternal (10.2.0):
19+
- "GoogleUtilities/NSData+zlib (~> 7.8)"
20+
- FirebaseInstallations (10.2.0):
21+
- FirebaseCore (~> 10.0)
22+
- GoogleUtilities/Environment (~> 7.8)
23+
- GoogleUtilities/UserDefaults (~> 7.8)
24+
- PromisesObjC (~> 2.1)
25+
- FirebaseMessaging (10.2.0):
26+
- FirebaseCore (~> 10.0)
27+
- FirebaseInstallations (~> 10.0)
28+
- GoogleDataTransport (~> 9.2)
29+
- GoogleUtilities/AppDelegateSwizzler (~> 7.8)
30+
- GoogleUtilities/Environment (~> 7.8)
31+
- GoogleUtilities/Reachability (~> 7.8)
32+
- GoogleUtilities/UserDefaults (~> 7.8)
33+
- nanopb (< 2.30910.0, >= 2.30908.0)
3734
- Flutter (1.0.0)
3835
- flutter_apns_only (0.0.1):
3936
- Flutter
4037
- flutter_local_notifications (0.0.1):
4138
- Flutter
42-
- GoogleDataTransport (9.1.4):
39+
- GoogleDataTransport (9.2.0):
4340
- GoogleUtilities/Environment (~> 7.7)
4441
- nanopb (< 2.30910.0, >= 2.30908.0)
4542
- PromisesObjC (< 3.0, >= 1.2)
46-
- GoogleUtilities/AppDelegateSwizzler (7.7.0):
43+
- GoogleUtilities/AppDelegateSwizzler (7.10.0):
4744
- GoogleUtilities/Environment
4845
- GoogleUtilities/Logger
4946
- GoogleUtilities/Network
50-
- GoogleUtilities/Environment (7.7.0):
47+
- GoogleUtilities/Environment (7.10.0):
5148
- PromisesObjC (< 3.0, >= 1.2)
52-
- GoogleUtilities/Logger (7.7.0):
49+
- GoogleUtilities/Logger (7.10.0):
5350
- GoogleUtilities/Environment
54-
- GoogleUtilities/Network (7.7.0):
51+
- GoogleUtilities/Network (7.10.0):
5552
- GoogleUtilities/Logger
5653
- "GoogleUtilities/NSData+zlib"
5754
- GoogleUtilities/Reachability
58-
- "GoogleUtilities/NSData+zlib (7.7.0)"
59-
- GoogleUtilities/Reachability (7.7.0):
55+
- "GoogleUtilities/NSData+zlib (7.10.0)"
56+
- GoogleUtilities/Reachability (7.10.0):
6057
- GoogleUtilities/Logger
61-
- GoogleUtilities/UserDefaults (7.7.0):
58+
- GoogleUtilities/UserDefaults (7.10.0):
6259
- GoogleUtilities/Logger
63-
- nanopb (2.30908.0):
64-
- nanopb/decode (= 2.30908.0)
65-
- nanopb/encode (= 2.30908.0)
66-
- nanopb/decode (2.30908.0)
67-
- nanopb/encode (2.30908.0)
68-
- PromisesObjC (2.1.0)
69-
- webview_flutter_wkwebview (0.0.1):
60+
- nanopb (2.30909.0):
61+
- nanopb/decode (= 2.30909.0)
62+
- nanopb/encode (= 2.30909.0)
63+
- nanopb/decode (2.30909.0)
64+
- nanopb/encode (2.30909.0)
65+
- PromisesObjC (2.1.1)
66+
- talkjs_webview_flutter_wkwebview (0.0.4):
7067
- Flutter
7168

7269
DEPENDENCIES:
@@ -75,13 +72,13 @@ DEPENDENCIES:
7572
- Flutter (from `Flutter`)
7673
- flutter_apns_only (from `.symlinks/plugins/flutter_apns_only/ios`)
7774
- flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
78-
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)
75+
- talkjs_webview_flutter_wkwebview (from `.symlinks/plugins/talkjs_webview_flutter_wkwebview/ios`)
7976

8077
SPEC REPOS:
8178
trunk:
8279
- Firebase
8380
- FirebaseCore
84-
- FirebaseCoreDiagnostics
81+
- FirebaseCoreInternal
8582
- FirebaseInstallations
8683
- FirebaseMessaging
8784
- GoogleDataTransport
@@ -100,26 +97,26 @@ EXTERNAL SOURCES:
10097
:path: ".symlinks/plugins/flutter_apns_only/ios"
10198
flutter_local_notifications:
10299
:path: ".symlinks/plugins/flutter_local_notifications/ios"
103-
webview_flutter_wkwebview:
104-
:path: ".symlinks/plugins/webview_flutter_wkwebview/ios"
100+
talkjs_webview_flutter_wkwebview:
101+
:path: ".symlinks/plugins/talkjs_webview_flutter_wkwebview/ios"
105102

106103
SPEC CHECKSUMS:
107-
Firebase: 5f8193dff4b5b7c5d5ef72ae54bb76c08e2b841d
108-
firebase_core: 6ef152b7d6a361e24105e2cc56ab458f1f8367fe
109-
firebase_messaging: 09caf4347b3a73deb37ed31f284ca11cc6039541
110-
FirebaseCore: 5743c5785c074a794d35f2fff7ecc254a91e08b1
111-
FirebaseCoreDiagnostics: 92e07a649aeb66352b319d43bdd2ee3942af84cb
112-
FirebaseInstallations: 40bd9054049b2eae9a2c38ef1c3dd213df3605cd
113-
FirebaseMessaging: 5e5118a2383b3531e730d974680954c679ca0a13
114-
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
104+
Firebase: a3ea7eba4382afd83808376edb99acdaff078dcf
105+
firebase_core: db1432de826785171029b7c1a26e5b22ce1dd477
106+
firebase_messaging: 5babce6fa9ce1e0c63a854dabba227f23dc68b1b
107+
FirebaseCore: 813838072b797b64f529f3c2ee35e696e5641dd1
108+
FirebaseCoreInternal: 091bde13e47bb1c5e9fe397634f3593dc390430f
109+
FirebaseInstallations: 004915af170935e3a583faefd5f8bc851afc220f
110+
FirebaseMessaging: cc9f40f5b7494680f3844d08e517e92aa4e8d9f7
111+
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
115112
flutter_apns_only: 3d91c0ca9dbef4439874858590909a19f8ed06a4
116113
flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743
117-
GoogleDataTransport: 5fffe35792f8b96ec8d6775f5eccd83c998d5a3b
118-
GoogleUtilities: e0913149f6b0625b553d70dae12b49fc62914fd1
119-
nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96
120-
PromisesObjC: 99b6f43f9e1044bd87a95a60beff28c2c44ddb72
121-
webview_flutter_wkwebview: b7e70ef1ddded7e69c796c7390ee74180182971f
114+
GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f
115+
GoogleUtilities: bad72cb363809015b1f7f19beb1f1cd23c589f95
116+
nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
117+
PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
118+
talkjs_webview_flutter_wkwebview: da8761436024d00892de6d282635e88117517da8
122119

123120
PODFILE CHECKSUM: 7368163408c647b7eb699d0d788ba6718e18fb8d
124121

125-
COCOAPODS: 1.11.2
122+
COCOAPODS: 1.11.3

example/push_notifications/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 51;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -69,7 +69,6 @@
6969
C4CBC9746E6EE7515C340ECE /* Pods-Runner.release.xcconfig */,
7070
5C1544F81B2A4CBA29DB5A02 /* Pods-Runner.profile.xcconfig */,
7171
);
72-
name = Pods;
7372
path = Pods;
7473
sourceTree = "<group>";
7574
};
@@ -342,7 +341,7 @@
342341
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
343342
GCC_WARN_UNUSED_FUNCTION = YES;
344343
GCC_WARN_UNUSED_VARIABLE = YES;
345-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
344+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
346345
MTL_ENABLE_DEBUG_INFO = NO;
347346
SDKROOT = iphoneos;
348347
SUPPORTED_PLATFORMS = iphoneos;
@@ -359,14 +358,14 @@
359358
CLANG_ENABLE_MODULES = YES;
360359
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
361360
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
362-
DEVELOPMENT_TEAM = GD339DZJKB;
361+
DEVELOPMENT_TEAM = D52W9UWQGG;
363362
ENABLE_BITCODE = NO;
364363
INFOPLIST_FILE = Runner/Info.plist;
365364
LD_RUNPATH_SEARCH_PATHS = (
366365
"$(inherited)",
367366
"@executable_path/Frameworks",
368367
);
369-
PRODUCT_BUNDLE_IDENTIFIER = com.talkjs.flutterpushexample;
368+
PRODUCT_BUNDLE_IDENTIFIER = com.talkjs.flutterexample;
370369
PRODUCT_NAME = "$(TARGET_NAME)";
371370
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
372371
SWIFT_VERSION = 5.0;
@@ -421,7 +420,7 @@
421420
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
422421
GCC_WARN_UNUSED_FUNCTION = YES;
423422
GCC_WARN_UNUSED_VARIABLE = YES;
424-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
423+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
425424
MTL_ENABLE_DEBUG_INFO = YES;
426425
ONLY_ACTIVE_ARCH = YES;
427426
SDKROOT = iphoneos;
@@ -470,7 +469,7 @@
470469
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
471470
GCC_WARN_UNUSED_FUNCTION = YES;
472471
GCC_WARN_UNUSED_VARIABLE = YES;
473-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
472+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
474473
MTL_ENABLE_DEBUG_INFO = NO;
475474
SDKROOT = iphoneos;
476475
SUPPORTED_PLATFORMS = iphoneos;
@@ -489,14 +488,14 @@
489488
CLANG_ENABLE_MODULES = YES;
490489
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
491490
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
492-
DEVELOPMENT_TEAM = GD339DZJKB;
491+
DEVELOPMENT_TEAM = D52W9UWQGG;
493492
ENABLE_BITCODE = NO;
494493
INFOPLIST_FILE = Runner/Info.plist;
495494
LD_RUNPATH_SEARCH_PATHS = (
496495
"$(inherited)",
497496
"@executable_path/Frameworks",
498497
);
499-
PRODUCT_BUNDLE_IDENTIFIER = com.talkjs.flutterpushexample;
498+
PRODUCT_BUNDLE_IDENTIFIER = com.talkjs.flutterexample;
500499
PRODUCT_NAME = "$(TARGET_NAME)";
501500
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
502501
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -513,14 +512,14 @@
513512
CLANG_ENABLE_MODULES = YES;
514513
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
515514
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
516-
DEVELOPMENT_TEAM = GD339DZJKB;
515+
DEVELOPMENT_TEAM = D52W9UWQGG;
517516
ENABLE_BITCODE = NO;
518517
INFOPLIST_FILE = Runner/Info.plist;
519518
LD_RUNPATH_SEARCH_PATHS = (
520519
"$(inherited)",
521520
"@executable_path/Frameworks",
522521
);
523-
PRODUCT_BUNDLE_IDENTIFIER = com.talkjs.flutterpushexample;
522+
PRODUCT_BUNDLE_IDENTIFIER = com.talkjs.flutterexample;
524523
PRODUCT_NAME = "$(TARGET_NAME)";
525524
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
526525
SWIFT_VERSION = 5.0;

example/push_notifications/ios/Runner/Info.plist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<true/>
2929
<key>UIBackgroundModes</key>
3030
<array>
31+
<string>audio</string>
3132
<string>remote-notification</string>
3233
</array>
3334
<key>UILaunchStoryboardName</key>
@@ -51,5 +52,7 @@
5152
<false/>
5253
<key>flutter_apns.disable_swizzling</key>
5354
<true/>
55+
<key>NSMicrophoneUsageDescription</key>
56+
<string>Your message to user when the microphone is accessed for the first time</string>
5457
</dict>
5558
</plist>

0 commit comments

Comments
 (0)