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

Migrate to Federated plugin structure #67

Merged
merged 16 commits into from
Jun 3, 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
3 changes: 3 additions & 0 deletions .fvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"flutter": "3.19.6"
}
39 changes: 24 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,36 @@ on:
pull_request:
branches: [ master ]

env:
JAVA_VERSION: "17.x"
JAVA_DISTRIBUTION: "zulu"

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- name: Install Flutter
uses: subosito/flutter-action@v1
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
flutter-version: '3.19.1'
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_DISTRIBUTION }}
- uses: dart-lang/setup-dart@v1
- name: Install fvm
run: |
dart pub global activate fvm 3.1.4
fvm install
- name: Install melos
run: dart pub global activate melos 6.0.0
- name: Install dependencies
run: flutter pub get
run: melos bs
- name: Run dart analyze
run: dart analyze
run: melos analyze
- name: build iOS example project
working-directory: ./example
run: flutter build ios --release --no-codesign
working-directory: ./packages/platform_maps_flutter/example
run: fvm flutter build ios --release --no-codesign
- name: build android example project
working-directory: ./example
run: flutter build apk
- name: publish --dry-run
run: flutter pub publish --dry-run
working-directory: ./packages/platform_maps_flutter/example
run: fvm flutter build apk
# disabled for now, because will fail with multi-package setup
# - name: publish --dry-run
# run: flutter pub publish --dry-run
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,8 @@ pubspec.lock
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3

# FVM Version Cache
.fvm/
# Melos pubspec overrides
pubspec_overrides.yaml
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
BSD 2-Clause License

Copyright (c) 2024, Albert Heijn Technology
Copyright (c) 2019, Luis Thein
All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This package combines the `google_maps_flutter` plugin with `apple_maps_flutter`

# iOS

To use this plugin on iOS you need to opt-in for the embedded views preview by adding a boolean property to the app's Info.plist file, with the key `io.flutter.embedded_views_preview` and the value `YES`. You will also have to add the key `Privacy - Location When In Use Usage Description` with the value of your usage description.
You will have to add the key `Privacy - Location When In Use Usage Description` with the value of your usage description.

# Android

Expand Down
2 changes: 0 additions & 2 deletions analysis_options.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions example/analysis_options.yaml

This file was deleted.

39 changes: 0 additions & 39 deletions example/ios/Podfile.lock

This file was deleted.

5 changes: 0 additions & 5 deletions example/test/widget_test.dart

This file was deleted.

25 changes: 0 additions & 25 deletions lib/platform_maps_flutter.dart

This file was deleted.

61 changes: 0 additions & 61 deletions lib/src/bitmap.dart

This file was deleted.

168 changes: 0 additions & 168 deletions lib/src/camera.dart

This file was deleted.

Loading