Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# A workflow that publishes the library to CocoaPods
# A workflow that publishes the library to pub.dev
name: Publish to pub.dev

on:
Expand All @@ -30,4 +30,4 @@ jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
uses: dart-lang/setup-dart/.github/workflows/publish.yml@65eb853c7ba17dde3be364c3d2858773e7144260 # v1
25 changes: 2 additions & 23 deletions .github/workflows/test-and-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,6 @@ jobs:
uses: bluefireteam/melos-action@6085791af7036f6366c9a4b9d55105c0ef9c6388
with:
melos-version: "6.3.2"
- name: Cache podfiles
uses: actions/cache@v4
with:
path: "**/Pods"
key: ${{ runner.os }}-pods-${{ hashFiles('**/*.podspec') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Select XCode 26.5
run: sudo xcode-select -s '/Applications/Xcode_26.5.app/Contents/Developer'
- name: Generate necessary files with flutter build
Expand Down Expand Up @@ -170,13 +163,6 @@ jobs:
uses: bluefireteam/melos-action@6085791af7036f6366c9a4b9d55105c0ef9c6388
with:
melos-version: "6.3.2"
- name: Cache podfiles
uses: actions/cache@v4
with:
path: "**/Pods"
key: ${{ runner.os }}-pods-${{ hashFiles('**/*.podspec') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Download Build Artifact
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -204,7 +190,7 @@ jobs:
env:
MAPS_API_KEY: ${{ secrets.ACTIONS_API_KEY }}
PATROL_ANALYTICS_ENABLED: false
patrol_cli_version: "4.4.0"
patrol_cli_version: "4.7.0"
working_directory: "example"
steps:
- name: Fail if workflow has no access to API key
Expand Down Expand Up @@ -304,7 +290,7 @@ jobs:
env:
MAPS_API_KEY: ${{ secrets.ACTIONS_API_KEY }}
PATROL_ANALYTICS_ENABLED: false
patrol_cli_version: "4.4.0"
patrol_cli_version: "4.7.0"
working_directory: "example"
IOS_VERSION: "26.5"
steps:
Expand Down Expand Up @@ -350,13 +336,6 @@ jobs:
uses: actions/download-artifact@v4
with:
name: ${{ runner.os }}-build-artifact
- name: Cache podfiles
uses: actions/cache@v4
with:
path: "**/Pods"
key: ${{ runner.os }}-pods-${{ hashFiles('**/*.podspec') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Cache pub global packages
uses: actions/cache@v4
with:
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@ build/

# iOS
.build/
Podfile.lock
Pods/
.symlinks/
**/Flutter/ephemeral/
**/Flutter/Flutter.podspec
**/Flutter/App.framework/
**/Flutter/Flutter.framework/
**/Flutter/Generated.xcconfig
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ _See also: [Flutter's code of conduct](https://flutter.io/design-principles/#cod
- **Operating System:** Linux, macOS, or Windows.
- **Version Control:** [git](https://git-scm.com).
- **Development Environment:** An IDE such as [Android Studio](https://developer.android.com/studio) or [Visual Studio Code](https://code.visualstudio.com/).
- **Code Formatting:** [`swift-format`](https://formulae.brew.sh/formula/swift-format).
- **Code Formatting:** [`swift-format`](https://formulae.brew.sh/formula/swift-format).
- **iOS Development:** Xcode 26.x.x or later.

### 1.1. Installing swift-format
The CI uses latest swift-format which you can install with the command below:
Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,12 @@ dependencies {

### iOS

1. Open the ios/Podfile config file in your preferred IDE.
2. Add the following lines to the beginning of this Podfile:
This plugin requires Swift Package Manager on iOS; CocoaPods is not supported. See Flutter's [Swift Package Manager guide for app developers](https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-app-developers) to enable SwiftPM support in your app.

```
# Set platform to 16.0 to enable latest Google Maps SDK
platform :ios, '16.0'
```
3. In Xcode open Info.plist file and add `App registers for location updates` to the list of `Required background modes`
1. Open `ios/Runner.xcodeproj` in Xcode.
2. Set the `Runner` target's iOS deployment target to 16.0.
3. In Xcode, open the Info.plist file and add `App registers for location updates` to the list of `Required background modes`.
4. Add `NSMotionUsageDescription` to Info.plist with a user-facing explanation of how your app uses motion data for navigation. See the [Navigation SDK for iOS release notes](https://developers.google.com/maps/documentation/navigation/ios-sdk/release-notes#August_06_2026) for details.

### Set Google Maps API Key

Expand Down
7 changes: 0 additions & 7 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,3 @@ To run the example app, follow these steps:
flutter run
```
If you want to run the example app with a specific API key, see the [Setting up API Keys](#setting-up-api-keys) section.

> [!TIP]
> If you encounter pod-related issues when running the example code on iOS, you can try running the following commands from the `example/ios` folder:
> - pod repo update
> - pod install
>
> These commands will update and install the required pod files specifically for iOS.
2 changes: 0 additions & 2 deletions example/ios/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@
**/.vagrant/
**/DerivedData/
Icon?
**/Pods/
**/.symlinks/
profile
xcuserdata
**/.generated/
Flutter/App.framework
Flutter/Flutter.framework
Flutter/Flutter.podspec
Flutter/Generated.xcconfig
Flutter/ephemeral/
Flutter/app.flx
Expand Down
1 change: 0 additions & 1 deletion example/ios/Flutter/Debug.xcconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
1 change: 0 additions & 1 deletion example/ios/Flutter/Release.xcconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
112 changes: 0 additions & 112 deletions example/ios/Podfile

This file was deleted.

Loading
Loading