Skip to content

Commit

Permalink
Update iOS builds for flutter 3.19
Browse files Browse the repository at this point in the history
  • Loading branch information
YuliaGrigorieva committed Mar 11, 2024
1 parent fd02916 commit 2411177
Show file tree
Hide file tree
Showing 18 changed files with 173 additions and 87 deletions.
2 changes: 1 addition & 1 deletion audio_call/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>12.0</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion audio_call/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'
platform :ios, '12.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
10 changes: 5 additions & 5 deletions audio_call/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ DEPENDENCIES:
- flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
- flutter_voximplant (from `.symlinks/plugins/flutter_voximplant/ios`)
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)

SPEC REPOS:
trunk:
Expand Down Expand Up @@ -117,7 +117,7 @@ EXTERNAL SOURCES:
permission_handler_apple:
:path: ".symlinks/plugins/permission_handler_apple/ios"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/ios"
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"

SPEC CHECKSUMS:
Firebase: f13680471b021937f2230ea8503c7809d8c29806
Expand All @@ -127,7 +127,7 @@ SPEC CHECKSUMS:
FirebaseCoreInternal: fa2899eb1f340054858d289e5a0fb935a0a74e52
FirebaseInstallations: b2a05a3fe707df764345d68685534d07d0664af3
FirebaseMessaging: fd93783258c53ae5cdb9b41bf0c51606a677f2d5
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_callkit_voximplant: 9e1128135757ea8a21ae7bbc06ff4a37e906ccc5
flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743
flutter_voximplant: 40c3110cc9943047f36fb9847f8803350237480a
Expand All @@ -140,6 +140,6 @@ SPEC CHECKSUMS:
VoxImplantSDK: 577259786bc3da6ed3cf3d4ee1a8e08245c19ce6
VoxImplantWebRTC: 8ddd8a63d0c20afa604fec22a2552c32b0371974

PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011

COCOAPODS: 1.12.0
COCOAPODS: 1.15.0
9 changes: 5 additions & 4 deletions audio_call/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1300;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
Expand Down Expand Up @@ -190,6 +190,7 @@
files = (
);
inputPaths = (
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
);
name = "Thin Binary";
outputPaths = (
Expand Down Expand Up @@ -288,7 +289,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down Expand Up @@ -367,7 +368,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -416,7 +417,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1300"
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
28 changes: 15 additions & 13 deletions audio_call/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ class SimpleBlocDelegate extends BlocObserver {
}
}

VIClientConfig get defaultConfig => VIClientConfig(bundleId: 'com.voximplant.flutter.audioCall');
VIClientConfig get defaultConfig =>
VIClientConfig(bundleId: 'com.voximplant.flutter.audioCall');

void main() {
WidgetsFlutterBinding.ensureInitialized();
Expand All @@ -63,11 +64,13 @@ class App extends StatelessWidget {

@override
Widget build(BuildContext context) {
final ThemeData theme = ThemeData();
return MaterialApp(
theme: ThemeData(
primaryColor: VoximplantColors.primary,
primaryColorDark: VoximplantColors.primaryDark,
accentColor: VoximplantColors.accent,
theme: theme.copyWith(
colorScheme: theme.colorScheme.copyWith(
primary: VoximplantColors.primary,
secondary: VoximplantColors.accent,
),
),
navigatorKey: NavigationHelper.navigatorKey,
initialRoute: AppRoutes.login,
Expand All @@ -87,16 +90,15 @@ class App extends StatelessWidget {
),
);
} else if (routeSettings.name == AppRoutes.activeCall) {
final routingArguments = routeSettings.arguments as ActiveCallPageArguments;
final routingArguments =
routeSettings.arguments as ActiveCallPageArguments;
ActiveCallPageArguments arguments = routingArguments;
return PageRouteBuilder(
pageBuilder: (_, a1, a2) =>
BlocProvider<ActiveCallBloc>(
create: (_) =>
ActiveCallBloc(
arguments.isIncoming, arguments.endpoint),
child: ActiveCallPage(),
),
pageBuilder: (_, a1, a2) => BlocProvider<ActiveCallBloc>(
create: (_) =>
ActiveCallBloc(arguments.isIncoming, arguments.endpoint),
child: ActiveCallPage(),
),
);
} else if (routeSettings.name == AppRoutes.incomingCall) {
return PageRouteBuilder(
Expand Down
78 changes: 55 additions & 23 deletions audio_call/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ packages:
dependency: transitive
description:
name: async
sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.dev"
source: hosted
version: "2.10.0"
version: "2.11.0"
bloc:
dependency: transitive
description:
Expand All @@ -45,10 +45,10 @@ packages:
dependency: transitive
description:
name: characters
sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.dev"
source: hosted
version: "1.2.1"
version: "1.3.0"
clock:
dependency: transitive
description:
Expand All @@ -61,10 +61,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.17.0"
version: "1.18.0"
crypto:
dependency: transitive
description:
Expand Down Expand Up @@ -248,6 +248,30 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.6.5"
leak_tracker:
dependency: transitive
description:
name: leak_tracker
sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
url: "https://pub.dev"
source: hosted
version: "10.0.0"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
url: "https://pub.dev"
source: hosted
version: "2.0.1"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
url: "https://pub.dev"
source: hosted
version: "2.0.1"
lints:
dependency: transitive
description:
Expand All @@ -260,26 +284,26 @@ packages:
dependency: transitive
description:
name: matcher
sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.dev"
source: hosted
version: "0.12.13"
version: "0.12.16+1"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
url: "https://pub.dev"
source: hosted
version: "0.2.0"
version: "0.8.0"
meta:
dependency: transitive
description:
name: meta
sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
url: "https://pub.dev"
source: hosted
version: "1.8.0"
version: "1.11.0"
nested:
dependency: transitive
description:
Expand All @@ -292,10 +316,10 @@ packages:
dependency: transitive
description:
name: path
sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.dev"
source: hosted
version: "1.8.2"
version: "1.9.0"
path_provider_linux:
dependency: transitive
description:
Expand Down Expand Up @@ -465,26 +489,26 @@ packages:
dependency: transitive
description:
name: source_span
sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.10.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.1"
version: "2.1.2"
string_scanner:
dependency: transitive
description:
Expand All @@ -505,10 +529,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
version: "0.4.16"
version: "0.6.1"
timezone:
dependency: transitive
description:
Expand Down Expand Up @@ -541,6 +565,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.4"
vm_service:
dependency: transitive
description:
name: vm_service
sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
url: "https://pub.dev"
source: hosted
version: "13.0.0"
win32:
dependency: transitive
description:
Expand All @@ -566,5 +598,5 @@ packages:
source: hosted
version: "6.2.2"
sdks:
dart: ">=2.19.4 <3.0.0"
dart: ">=3.3.1 <4.0.0"
flutter: ">=3.0.0"
2 changes: 1 addition & 1 deletion audio_call/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: '>=2.19.4 <3.0.0'
sdk: '>=3.3.1 <4.0.0'

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion video_call/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>8.0</string>
<string>12.0</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion video_call/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'
platform :ios, '12.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
6 changes: 3 additions & 3 deletions video_call/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ SPEC CHECKSUMS:
FirebaseCoreInternal: b342e37cd4f5b4454ec34308f073420e7920858e
FirebaseInstallations: b28af1b9f997f1a799efe818c94695a3728c352f
FirebaseMessaging: fd93783258c53ae5cdb9b41bf0c51606a677f2d5
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_callkit_voximplant: 9e1128135757ea8a21ae7bbc06ff4a37e906ccc5
flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743
flutter_voximplant: 3a9f36552a8fdd6a6708e4027629bf49a807b7ee
Expand All @@ -140,6 +140,6 @@ SPEC CHECKSUMS:
VoxImplantSDK: 577259786bc3da6ed3cf3d4ee1a8e08245c19ce6
VoxImplantWebRTC: 8ddd8a63d0c20afa604fec22a2552c32b0371974

PODFILE CHECKSUM: 7368163408c647b7eb699d0d788ba6718e18fb8d
PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048

COCOAPODS: 1.12.0
COCOAPODS: 1.15.0
Loading

0 comments on commit 2411177

Please sign in to comment.