Skip to content

Commit ebfdb5d

Browse files
Bump to Swift 4.4.0 and Android 8.0.3 (#183)
* bump to latest native sdks * example updates
1 parent 50ebe3b commit ebfdb5d

File tree

8 files changed

+43
-11
lines changed

8 files changed

+43
-11
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ android {
4747

4848
dependencies {
4949
// Use the Mixpanel Android SDK
50-
implementation "com.mixpanel.android:mixpanel-android:7.5.2"
50+
implementation "com.mixpanel.android:mixpanel-android:8.0.3"
5151
}

example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>11.0</string>
24+
<string>12.0</string>
2525
</dict>
2626
</plist>

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '11.0'
2+
platform :ios, '12.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

example/ios/Podfile.lock

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
PODS:
2+
- Flutter (1.0.0)
3+
- Mixpanel-swift (4.4.0):
4+
- Mixpanel-swift/Complete (= 4.4.0)
5+
- Mixpanel-swift/Complete (4.4.0)
6+
- mixpanel_flutter (2.3.4):
7+
- Flutter
8+
- Mixpanel-swift (= 4.4.0)
9+
10+
DEPENDENCIES:
11+
- Flutter (from `Flutter`)
12+
- mixpanel_flutter (from `.symlinks/plugins/mixpanel_flutter/ios`)
13+
14+
SPEC REPOS:
15+
trunk:
16+
- Mixpanel-swift
17+
18+
EXTERNAL SOURCES:
19+
Flutter:
20+
:path: Flutter
21+
mixpanel_flutter:
22+
:path: ".symlinks/plugins/mixpanel_flutter/ios"
23+
24+
SPEC CHECKSUMS:
25+
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
26+
Mixpanel-swift: 478ff46d19de4a251244a9c9a582070d4bb94cf9
27+
mixpanel_flutter: 57d29782290fd8a9e4d8a31ebf64b0c7c9e271d5
28+
29+
PODFILE CHECKSUM: 7be2f5f74864d463a8ad433546ed1de7e0f29aef
30+
31+
COCOAPODS: 1.16.2

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
isa = PBXProject;
217217
attributes = {
218218
BuildIndependentTargetsInParallel = YES;
219-
LastUpgradeCheck = 1430;
219+
LastUpgradeCheck = 1510;
220220
ORGANIZATIONNAME = "";
221221
TargetAttributes = {
222222
331C8080294A63A400263BE5 = {
@@ -453,7 +453,7 @@
453453
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
454454
GCC_WARN_UNUSED_FUNCTION = YES;
455455
GCC_WARN_UNUSED_VARIABLE = YES;
456-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
456+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
457457
MTL_ENABLE_DEBUG_INFO = NO;
458458
SDKROOT = iphoneos;
459459
SUPPORTED_PLATFORMS = iphoneos;
@@ -580,7 +580,7 @@
580580
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
581581
GCC_WARN_UNUSED_FUNCTION = YES;
582582
GCC_WARN_UNUSED_VARIABLE = YES;
583-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
583+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
584584
MTL_ENABLE_DEBUG_INFO = YES;
585585
ONLY_ACTIVE_ARCH = YES;
586586
SDKROOT = iphoneos;
@@ -629,7 +629,7 @@
629629
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
630630
GCC_WARN_UNUSED_FUNCTION = YES;
631631
GCC_WARN_UNUSED_VARIABLE = YES;
632-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
632+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
633633
MTL_ENABLE_DEBUG_INFO = NO;
634634
SDKROOT = iphoneos;
635635
SUPPORTED_PLATFORMS = iphoneos;

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -59,6 +59,7 @@
5959
ignoresPersistentStateOnLaunch = "NO"
6060
debugDocumentVersioning = "YES"
6161
debugServiceExtension = "internal"
62+
enableGPUValidationMode = "1"
6263
allowLocationSimulation = "YES">
6364
<BuildableProductRunnable
6465
runnableDebuggingMode = "0">

example/ios/Runner/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import UIKit
22
import Flutter
33

4-
@UIApplicationMain
4+
@main
55
@objc class AppDelegate: FlutterAppDelegate {
66
override func application(
77
_ application: UIApplication,

ios/mixpanel_flutter.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Pod::Spec.new do |s|
1212
s.source = { :path => '.' }
1313
s.source_files = 'Classes/**/*'
1414
s.dependency 'Flutter'
15-
s.dependency 'Mixpanel-swift', '4.3.0'
16-
s.platform = :ios, '11.0'
15+
s.dependency 'Mixpanel-swift', '4.4.0'
16+
s.platform = :ios, '12.0'
1717

1818
# Flutter.framework does not contain a i386 slice.
1919
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }

0 commit comments

Comments
 (0)