Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump iOS to 4.2.5 and Android to 7.5.0 #141

Merged
merged 5 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 41 additions & 38 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,55 +2,58 @@ name: Mixpanel Flutter SDK CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
test-main-code:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '3.16.0'
- run: flutter pub get
- run: flutter test
- run: flutter analyze --no-pub --no-current-package lib
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
flutter-version: "3.16.0"
- run: flutter pub get
- run: flutter test
- run: flutter analyze --no-pub --no-current-package lib

test-android-integration:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '3.16.0'
- name: Test Android integration
working-directory: example
run: flutter build apk
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
flutter-version: "3.16.0"
- name: Test Android integration
working-directory: example
run: flutter build apk

test-ios-integration:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '3.16.0'
- name: Clean
working-directory: example
run: flutter clean
- name: Prep
working-directory: example
run: flutter pub get
- name: Test iOS integration
working-directory: example
run: flutter build ios --debug --simulator --no-codesign
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
flutter-version: "3.16.0"
- name: Clean
working-directory: example
run: flutter clean
- name: Flutter pub get
working-directory: example
run: flutter pub get
- name: CocoaPods update
working-directory: example/ios
run: pod repo update
- name: Test iOS integration
working-directory: example
run: flutter build ios --debug --simulator --no-codesign
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ apply plugin: 'com.android.library'

android {
if (project.android.hasProperty("namespace")) {
namespace("com.mixpanel.mixpanel_flutter")
namespace("com.mixpanel.mixpanel_flutter")
}
compileSdkVersion 30
buildToolsVersion '30.0.3'
Expand All @@ -38,5 +38,5 @@ android {
}

dependencies {
implementation "com.mixpanel.android:mixpanel-android:7.3.2"
implementation "com.mixpanel.android:mixpanel-android:7.5.0"
}
31 changes: 0 additions & 31 deletions example/ios/Podfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.2.0"
version: "2.3.0"
path:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion ios/mixpanel_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'Mixpanel-swift', '4.2.0'
s.dependency 'Mixpanel-swift', '4.2.5'
s.platform = :ios, '11.0'

# Flutter.framework does not contain a i386 slice.
Expand Down
Loading