Skip to content

Commit b085527

Browse files
committed
feat!: use renamed navigation package
1 parent e4171fc commit b085527

30 files changed

+43
-174
lines changed

.github/actions/dependency-override/action.yaml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/actions/scripts/override_google_maps_navigation_dependency.sh

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/analyze.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
32-
- name: Override nav sdk dependencies
33-
uses: ./.github/actions/dependency-override
34-
with:
35-
NAV_SDK_DEPLOY_KEY: ${{ secrets.NAV_SDK_GIT_REPO_DEPLOY_KEY }}
36-
NAV_SDK_DEPENDENCY_OVERRIDE: ${{ secrets.NAV_SDK_OVERRIDE }}
3732
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
3833
with:
3934
flutter-version: "3.22.x"
@@ -74,11 +69,6 @@ jobs:
7469
with:
7570
path: /home/linuxbrew/.linuxbrew
7671
key: ${{ runner.os }}-linuxbrew
77-
- name: Override nav sdk dependencies
78-
uses: ./.github/actions/dependency-override
79-
with:
80-
NAV_SDK_DEPLOY_KEY: ${{ secrets.NAV_SDK_GIT_REPO_DEPLOY_KEY }}
81-
NAV_SDK_DEPENDENCY_OVERRIDE: ${{ secrets.NAV_SDK_OVERRIDE }}
8272
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
8373
with:
8474
flutter-version: "3.22.x"

.github/workflows/build.yaml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ jobs:
3030
labels: ubuntu-latest
3131
steps:
3232
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
33-
- name: Override nav sdk dependencies
34-
uses: ./.github/actions/dependency-override
35-
with:
36-
NAV_SDK_DEPLOY_KEY: ${{ secrets.NAV_SDK_GIT_REPO_DEPLOY_KEY }}
37-
NAV_SDK_DEPENDENCY_OVERRIDE: ${{ secrets.NAV_SDK_OVERRIDE }}
3833
- uses: actions/setup-java@v4
3934
with:
4035
distribution: "temurin"
@@ -57,11 +52,6 @@ jobs:
5752
labels: ubuntu-latest
5853
steps:
5954
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
60-
- name: Override nav sdk dependencies
61-
uses: ./.github/actions/dependency-override
62-
with:
63-
NAV_SDK_DEPLOY_KEY: ${{ secrets.NAV_SDK_GIT_REPO_DEPLOY_KEY }}
64-
NAV_SDK_DEPENDENCY_OVERRIDE: ${{ secrets.NAV_SDK_OVERRIDE }}
6555
- uses: actions/setup-java@v4
6656
with:
6757
distribution: "temurin"
@@ -87,11 +77,6 @@ jobs:
8777
working_directory: ["example"]
8878
steps:
8979
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
90-
- name: Override nav sdk dependencies
91-
uses: ./.github/actions/dependency-override
92-
with:
93-
NAV_SDK_DEPLOY_KEY: ${{ secrets.NAV_SDK_GIT_REPO_DEPLOY_KEY }}
94-
NAV_SDK_DEPENDENCY_OVERRIDE: ${{ secrets.NAV_SDK_OVERRIDE }}
9580
- uses: actions/cache@v4
9681
with:
9782
path: "**/Pods"
@@ -122,11 +107,6 @@ jobs:
122107
MAPS_API_KEY: ${{ secrets.ACTIONS_API_KEY }}
123108
steps:
124109
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
125-
- name: Override nav sdk dependencies
126-
uses: ./.github/actions/dependency-override
127-
with:
128-
NAV_SDK_DEPLOY_KEY: ${{ secrets.NAV_SDK_GIT_REPO_DEPLOY_KEY }}
129-
NAV_SDK_DEPENDENCY_OVERRIDE: ${{ secrets.NAV_SDK_OVERRIDE }}
130110
- uses: actions/setup-java@v4
131111
with:
132112
distribution: "temurin"
@@ -152,11 +132,6 @@ jobs:
152132
MAPS_API_KEY: ${{ secrets.ACTIONS_API_KEY }}
153133
steps:
154134
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
155-
- name: Override nav sdk dependencies
156-
uses: ./.github/actions/dependency-override
157-
with:
158-
NAV_SDK_DEPLOY_KEY: ${{ secrets.NAV_SDK_GIT_REPO_DEPLOY_KEY }}
159-
NAV_SDK_DEPENDENCY_OVERRIDE: ${{ secrets.NAV_SDK_OVERRIDE }}
160135
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
161136
with:
162137
flutter-version: "3.22.x"

.github/workflows/licence-check.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ jobs:
2929
timeout-minutes: 30
3030
steps:
3131
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
32-
- name: Override nav sdk dependencies
33-
uses: ./.github/actions/dependency-override
34-
with:
35-
NAV_SDK_DEPLOY_KEY: ${{ secrets.NAV_SDK_GIT_REPO_DEPLOY_KEY }}
36-
NAV_SDK_DEPENDENCY_OVERRIDE: ${{ secrets.NAV_SDK_OVERRIDE }}
3732
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
3833
with:
3934
go-version: "^1.13.1"

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 0.2.0-beta
2+
3+
This is the beta release of the Google Maps Driver package for Flutter. It is an early look at the package and is intended for testing and feedback collection. The functionalities and APIs in this version are subject to change.
4+
5+
** BREAKING CHANGES: **
6+
- Move using publicly available google_navigation_flutter library
7+
18
## 0.1.2-beta
29

310
This is the beta release of the Google Maps Driver package for Flutter. It is an early look at the package and is intended for testing and feedback collection. The functionalities and APIs in this version are subject to change.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This repository contains a Flutter plugin that allows users to use the [Google M
3434
url: [email protected]:googlemaps/flutter-driver-sdk.git
3535
```
3636

37-
2. Follow the instructions at the `google_maps_navigation` plugin Readme to add your API key to the appropriate files in your Flutter project.
37+
2. Follow the instructions at the `google_navigation_flutter` plugin Readme to add your API key to the appropriate files in your Flutter project.
3838

3939
[Google Maps Navigation Installation](https://github.com/googlemaps/flutter-navigation-sdk/blob/main/README.md#installation)
4040

@@ -47,7 +47,7 @@ Before initializing the delivery or the ridesharing driver, you must initialize
4747
```dart
4848
import 'package:flutter/material.dart';
4949
import 'package:google_maps_driver/google_maps_driver.dart';
50-
import 'package:google_maps_navigation/google_maps_navigation.dart';
50+
import 'package:google_navigation_flutter/google_navigation_flutter.dart';
5151
5252
class DeliveryDriverSample extends StatefulWidget {
5353
const DeliveryDriverSample({super.key});
@@ -121,7 +121,7 @@ See the [example](./example) directory for a complete delivery driver sample app
121121
```dart
122122
import 'package:flutter/material.dart';
123123
import 'package:google_maps_driver/google_maps_driver.dart';
124-
import 'package:google_maps_navigation/google_maps_navigation.dart';
124+
import 'package:google_navigation_flutter/google_navigation_flutter.dart';
125125
126126
class RidesharingDriverSample extends StatefulWidget {
127127
const RidesharingDriverSample({super.key});

android/src/main/kotlin/com/google/maps/flutter/driver/Convert.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ object Convert {
3232
/**
3333
* Converts Pigeon [LatLngDto] to Google Maps [LatLng].
3434
*
35-
* This function has been duplicated from google_maps_navigation package. Keep in sync.
35+
* This function has been duplicated from google_navigation_flutter package. Keep in sync.
3636
*
3737
* @param point Pigeon [LatLngDto].
3838
* @return Google Maps [LatLng].
@@ -44,7 +44,7 @@ object Convert {
4444
/**
4545
* Converts Google Maps [LatLng] to Pigeon [LatLngDto].
4646
*
47-
* This function has been duplicated from google_maps_navigation package. Keep in sync.
47+
* This function has been duplicated from google_navigation_flutter package. Keep in sync.
4848
*
4949
* @param point Google Maps [LatLng].
5050
* @return Pigeon [LatLngDto].
@@ -56,7 +56,7 @@ object Convert {
5656
/**
5757
* Converts pigeon [NavigationWaypointDto] to Google Navigation [Waypoint].
5858
*
59-
* This function has been duplicated from google_maps_navigation package. Keep in sync.
59+
* This function has been duplicated from google_navigation_flutter package. Keep in sync.
6060
*
6161
* @param waypoint pigeon [NavigationWaypointDto].
6262
* @return Google Navigation [Waypoint].
@@ -82,7 +82,7 @@ object Convert {
8282
/**
8383
* Converts Google Navigation [Waypoint] to pigeon [NavigationWaypointDto].
8484
*
85-
* This function has been duplicated from google_maps_navigation package. Keep in sync.
85+
* This function has been duplicated from google_navigation_flutter package. Keep in sync.
8686
*
8787
* @param waypoint Google Navigation [Waypoint].
8888
* @return pigeon [NavigationWaypointDto].

example/integration_test/shared.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ import 'dart:io';
2626
import 'package:flutter/material.dart';
2727
import 'package:flutter_test/flutter_test.dart';
2828
import 'package:google_maps_driver/google_maps_driver.dart';
29-
import 'package:google_maps_navigation/google_maps_navigation.dart';
29+
import 'package:google_navigation_flutter/google_navigation_flutter.dart';
3030
import 'package:patrol/patrol.dart';
3131
import 'package:permission_handler/permission_handler.dart';
3232

3333
export 'package:flutter_test/flutter_test.dart';
34-
export 'package:google_maps_navigation/google_maps_navigation.dart';
34+
export 'package:google_navigation_flutter/google_navigation_flutter.dart';
3535
export 'package:patrol/patrol.dart';
3636

3737
/// Pumps a [navigationView] widget in tester [$] and then waits until it settles.

example/lib/api/lmfs_helpers.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import 'dart:io' show Platform;
1616

1717
import 'package:google_maps_driver/google_maps_driver.dart';
18-
import 'package:google_maps_navigation/google_maps_navigation.dart';
18+
import 'package:google_navigation_flutter/google_navigation_flutter.dart';
1919

2020
import 'helpers.dart';
2121
import 'lmfs_api.dart';

0 commit comments

Comments
 (0)