From d0280e1ea997fb0246d51f708d851df28ac731d4 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Wed, 8 Apr 2020 10:50:28 +0200 Subject: [PATCH] Fix voice messages on iOS --- ios/Podfile.lock | 123 ++++++++++++++++++++++++++++++++++++++++++ ios/Runner/Info.plist | 6 +++ 2 files changed, 129 insertions(+) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 68a263d..bc93b20 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1,6 +1,58 @@ PODS: - file_picker (0.0.1): - Flutter + - Firebase/Core (6.21.0): + - Firebase/CoreOnly + - FirebaseAnalytics (= 6.4.0) + - Firebase/CoreOnly (6.21.0): + - FirebaseCore (= 6.6.5) + - Firebase/Messaging (6.21.0): + - Firebase/CoreOnly + - FirebaseMessaging (~> 4.3.0) + - firebase_messaging (0.0.1): + - Firebase/Core + - Firebase/Messaging + - Flutter + - FirebaseAnalytics (6.4.0): + - FirebaseCore (~> 6.6) + - FirebaseInstallations (~> 1.1) + - GoogleAppMeasurement (= 6.4.0) + - GoogleUtilities/AppDelegateSwizzler (~> 6.0) + - GoogleUtilities/MethodSwizzler (~> 6.0) + - GoogleUtilities/Network (~> 6.0) + - "GoogleUtilities/NSData+zlib (~> 6.0)" + - nanopb (= 0.3.9011) + - FirebaseAnalyticsInterop (1.5.0) + - FirebaseCore (6.6.5): + - FirebaseCoreDiagnostics (~> 1.2) + - FirebaseCoreDiagnosticsInterop (~> 1.2) + - GoogleUtilities/Environment (~> 6.5) + - GoogleUtilities/Logger (~> 6.5) + - FirebaseCoreDiagnostics (1.2.2): + - FirebaseCoreDiagnosticsInterop (~> 1.2) + - GoogleDataTransportCCTSupport (~> 2.0) + - GoogleUtilities/Environment (~> 6.5) + - GoogleUtilities/Logger (~> 6.5) + - nanopb (~> 0.3.901) + - FirebaseCoreDiagnosticsInterop (1.2.0) + - FirebaseInstallations (1.1.1): + - FirebaseCore (~> 6.6) + - GoogleUtilities/UserDefaults (~> 6.5) + - PromisesObjC (~> 1.2) + - FirebaseInstanceID (4.3.2): + - FirebaseCore (~> 6.6) + - FirebaseInstallations (~> 1.0) + - GoogleUtilities/Environment (~> 6.5) + - GoogleUtilities/UserDefaults (~> 6.5) + - FirebaseMessaging (4.3.0): + - FirebaseAnalyticsInterop (~> 1.5) + - FirebaseCore (~> 6.6) + - FirebaseInstanceID (~> 4.3) + - GoogleUtilities/AppDelegateSwizzler (~> 6.5) + - GoogleUtilities/Environment (~> 6.5) + - GoogleUtilities/Reachability (~> 6.5) + - GoogleUtilities/UserDefaults (~> 6.5) + - Protobuf (>= 3.9.2, ~> 3.9) - Flutter (1.0.0) - flutter_local_notifications (0.0.1): - Flutter @@ -11,8 +63,41 @@ PODS: - FMDB (2.7.5): - FMDB/standard (= 2.7.5) - FMDB/standard (2.7.5) + - GoogleAppMeasurement (6.4.0): + - GoogleUtilities/AppDelegateSwizzler (~> 6.0) + - GoogleUtilities/MethodSwizzler (~> 6.0) + - GoogleUtilities/Network (~> 6.0) + - "GoogleUtilities/NSData+zlib (~> 6.0)" + - nanopb (= 0.3.9011) + - GoogleDataTransport (5.1.0) + - GoogleDataTransportCCTSupport (2.0.1): + - GoogleDataTransport (~> 5.1) + - nanopb (~> 0.3.901) + - GoogleUtilities/AppDelegateSwizzler (6.5.2): + - GoogleUtilities/Environment + - GoogleUtilities/Logger + - GoogleUtilities/Network + - GoogleUtilities/Environment (6.5.2) + - GoogleUtilities/Logger (6.5.2): + - GoogleUtilities/Environment + - GoogleUtilities/MethodSwizzler (6.5.2): + - GoogleUtilities/Logger + - GoogleUtilities/Network (6.5.2): + - GoogleUtilities/Logger + - "GoogleUtilities/NSData+zlib" + - GoogleUtilities/Reachability + - "GoogleUtilities/NSData+zlib (6.5.2)" + - GoogleUtilities/Reachability (6.5.2): + - GoogleUtilities/Logger + - GoogleUtilities/UserDefaults (6.5.2): + - GoogleUtilities/Logger - image_picker (0.0.1): - Flutter + - nanopb (0.3.9011): + - nanopb/decode (= 0.3.9011) + - nanopb/encode (= 0.3.9011) + - nanopb/decode (0.3.9011) + - nanopb/encode (0.3.9011) - OLMKit (3.1.0): - OLMKit/olmc (= 3.1.0) - OLMKit/olmcpp (= 3.1.0) @@ -22,6 +107,8 @@ PODS: - Flutter - path_provider (0.0.1): - Flutter + - PromisesObjC (1.2.8) + - Protobuf (3.11.4) - receive_sharing_intent (0.0.1): - Flutter - share (0.5.2): @@ -40,6 +127,7 @@ PODS: DEPENDENCIES: - file_picker (from `.symlinks/plugins/file_picker/ios`) + - firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`) - Flutter (from `Flutter`) - flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`) - flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`) @@ -58,12 +146,30 @@ DEPENDENCIES: SPEC REPOS: trunk: + - Firebase + - FirebaseAnalytics + - FirebaseAnalyticsInterop + - FirebaseCore + - FirebaseCoreDiagnostics + - FirebaseCoreDiagnosticsInterop + - FirebaseInstallations + - FirebaseInstanceID + - FirebaseMessaging - FMDB + - GoogleAppMeasurement + - GoogleDataTransport + - GoogleDataTransportCCTSupport + - GoogleUtilities + - nanopb - OLMKit + - PromisesObjC + - Protobuf EXTERNAL SOURCES: file_picker: :path: ".symlinks/plugins/file_picker/ios" + firebase_messaging: + :path: ".symlinks/plugins/firebase_messaging/ios" Flutter: :path: Flutter flutter_local_notifications: @@ -95,15 +201,32 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: file_picker: 408623be2125b79a4539cf703be3d4b3abe5e245 + Firebase: f378c80340dd41c0ad0914af740c021eb282a04b + firebase_messaging: 73b3e7dd7b3b6a7e4bdac10d5295211ca4f87f90 + FirebaseAnalytics: a1a0b3327ceb5cd5b4bacffdb293f6c909aa087d + FirebaseAnalyticsInterop: 3f86269c38ae41f47afeb43ebf32a001f58fcdae + FirebaseCore: 9f495d3afacb7b558711e6218ebb14b1c51b5802 + FirebaseCoreDiagnostics: e9b4cd8ba60dee0f2d13347332e4b7898cca5b61 + FirebaseCoreDiagnosticsInterop: 296e2c5f5314500a850ad0b83e9e7c10b011a850 + FirebaseInstallations: acb3216eb9784d3b1d2d2d635ff74fa892cc0c44 + FirebaseInstanceID: 7ee0d6777013bb952f377b41965bf132b6a075be + FirebaseMessaging: 4ec33842d36b3319e062e51fb8b35a74f726950d Flutter: 0e3d915762c693b495b44d77113d4970485de6ec flutter_local_notifications: 9e4738ce2471c5af910d961a6b7eadcf57c50186 flutter_secure_storage: 7953c38a04c3fdbb00571bcd87d8e3b5ceb9daec flutter_sound: 0e8163ceac1e00eb6d894e2ae4641ba726a2c479 FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a + GoogleAppMeasurement: 6e68a94d0eaeb1d73ef6b0ed4f7334e29d63ae29 + GoogleDataTransport: b29a21d813e906014ca16c00897827e40e4a24ab + GoogleDataTransportCCTSupport: 6f15a89b0ca35d6fa523e1f752ef818588885988 + GoogleUtilities: ad0f3b691c67909d03a3327cc205222ab8f42e0e image_picker: e3eacd46b94694dde7cf2705955cece853aa1a8f + nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd OLMKit: 4ee0159d63feeb86d836fdcfefe418e163511639 open_file: 02eb5cb6b21264bd3a696876f5afbfb7ca4f4b7d path_provider: fb74bd0465e96b594bb3b5088ee4a4e7bb1f2a9d + PromisesObjC: c119f3cd559f50b7ae681fa59dc1acd19173b7e6 + Protobuf: 176220c526ad8bd09ab1fb40a978eac3fef665f7 receive_sharing_intent: c0d87310754e74c0f9542947e7cbdf3a0335a3b1 share: bae0a282aab4483288913fc4dc0b935d4b491f2e sqflite: 4001a31ff81d210346b500c55b17f4d6c7589dd0 diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 52fd28d..e46fe10 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -50,5 +50,11 @@ UIViewControllerBasedStatusBarAppearance + NSMicrophoneUsageDescription + FluffyChat uses the microphone to record voice messages. + UIBackgroundModes + + audio +