Skip to content
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
1 change: 0 additions & 1 deletion .github/workflows/analyze.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ jobs:
with:
path: /home/linuxbrew/.linuxbrew
key: ${{ runner.os }}-linuxbrew
- uses: Homebrew/actions/setup-homebrew@master
- name: Install swift-format 602.0.0
if: steps.cache.outputs.cache-hit != 'true'
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ jobs:
run: sudo xcode-select -s '/Applications/Xcode_26.3.0.app/Contents/Developer'
- name: Generate necessary files with flutter build
working-directory: ${{ env.working_directory }}
run: flutter build ios --config-only --simulator
run: flutter build ios --config-only
- name: "Run iOS native unit tests"
run: TEST_DEVICE='iPhone 16 Pro' TEST_OS='26.2' melos run test:ios

build-android:
name: Build Android
needs: [test-dart, test-android, test-ios]
needs: [test-dart, test-android]
if: contains(github.base_ref, 'main')
timeout-minutes: 45
runs-on:
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:

build-ios:
name: Build iOS
needs: [test-dart, test-android, test-ios]
needs: [test-dart, test-ios]
if: contains(github.base_ref, 'main')
timeout-minutes: 90
runs-on: macos-latest-xlarge
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Specify the device you want to run the tests on with the DEVICE env variable.
Integration tests are responsible for ensuring that the plugin works against the native Driver SDK for both Android and iOS platforms. Patrol is used for the integration tests to simplify interactions with native elements. To use patrol, you first need to activate the patrol_cli.

```bash
flutter pub global activate patrol_cli 2.7.0
flutter pub global activate patrol_cli 4.3.1
```

To ensure that all necessary dependencies for patrol are properly set up, run the following command:
Expand All @@ -152,7 +152,7 @@ To only run a specific test file, use patrol command with -t flag. For example t

```bash
cd ./example
patrol test --dart-define MAPS_API_KEY=YOUR_API_KEY --dart-define PROJECT_ID=YOUR_GOOGLE_CLOUD_PROJECT_ID -t integration_test/plugin_integration_test.dart
patrol test --dart-define MAPS_API_KEY=YOUR_API_KEY --dart-define PROJECT_ID=YOUR_GOOGLE_CLOUD_PROJECT_ID -t patrol_test/plugin_integration_test.dart
```

Test report should appear in the build folder:
Expand All @@ -172,7 +172,7 @@ For debugging the tests, you can add `debugPrint()` functions in your test and u

```bash
cd ./example
patrol develop --dart-define MAPS_API_KEY=YOUR_API_KEY --dart-define PROJECT_ID=YOUR_GOOGLE_CLOUD_PROJECT_ID --verbose -t integration_test/plugin_integration_test.dart
patrol develop --dart-define MAPS_API_KEY=YOUR_API_KEY --dart-define PROJECT_ID=YOUR_GOOGLE_CLOUD_PROJECT_ID --verbose -t patrol_test/plugin_integration_test.dart
```

Please note that the "hot restart" feature in patrol's develop mode may not work correctly with all test files.
Expand Down
1 change: 1 addition & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ migrate_working_dir/
.pub-cache/
.pub/
/build/
/coverage/

# Symbolication related
app.*.symbols
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ flutter_ios_podfile_setup
source "https://github.com/CocoaPods/Specs.git"

target 'Runner' do
#use_frameworks!
use_frameworks!
use_modular_headers!

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
Expand Down
80 changes: 59 additions & 21 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
objects = {

/* Begin PBXBuildFile section */
0DFB118139416DCD3C397C02 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE26F098781BCF9127578AE5 /* Pods_RunnerTests.framework */; };
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
36BC17309B3E51BB1DF47C5F /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 558E3B59B340E24ADCB8545C /* libPods-Runner.a */; };
1E6161CABCC775054152A0B2 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C4581BB4223717512581AE06 /* Pods_Runner.framework */; };
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
64DB18F23ECCDF13172935E8 /* libPods-Runner-RunnerUITests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DB490D2E5952057A401D4D2 /* libPods-Runner-RunnerUITests.a */; };
609E4FF9FA708BA0CE6D0AC9 /* Pods_Runner_RunnerUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C55A57535D169AB9ACA2BB3E /* Pods_Runner_RunnerUITests.framework */; };
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
85D2C3A8583357F0E25B0C0A /* libPods-RunnerTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 908BB48F67A47466D251AB85 /* libPods-RunnerTests.a */; };
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
C452657B2B6D7C440048CA35 /* ConvertTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C452657A2B6D7C440048CA35 /* ConvertTests.swift */; };
C9FA8D662B28F632000BE7BA /* RunnerUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = C9FA8D652B28F632000BE7BA /* RunnerUITests.m */; };
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -62,12 +62,10 @@
3EC5125115E4D41F2919EFA5 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
49FACF45D62B41F841469FC6 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
4E5EFAE0C80246046D390C49 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
558E3B59B340E24ADCB8545C /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; };
5DB490D2E5952057A401D4D2 /* libPods-Runner-RunnerUITests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner-RunnerUITests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterGeneratedPluginSwiftPackage; path = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
908BB48F67A47466D251AB85 /* libPods-RunnerTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RunnerTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
Expand All @@ -77,19 +75,21 @@
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
99F5715026EC616AD1702FFA /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
C452657A2B6D7C440048CA35 /* ConvertTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConvertTests.swift; sourceTree = "<group>"; };
C4581BB4223717512581AE06 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
C55A57535D169AB9ACA2BB3E /* Pods_Runner_RunnerUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner_RunnerUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
C9FA8D632B28F632000BE7BA /* RunnerUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
C9FA8D652B28F632000BE7BA /* RunnerUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RunnerUITests.m; sourceTree = "<group>"; };
CE26F098781BCF9127578AE5 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E47379614476E0B75506E185 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
E58CFEAAF613A41CF2C03AE3 /* Pods-Runner-RunnerUITests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner-RunnerUITests.profile.xcconfig"; path = "Target Support Files/Pods-Runner-RunnerUITests/Pods-Runner-RunnerUITests.profile.xcconfig"; sourceTree = "<group>"; };
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterGeneratedPluginSwiftPackage; path = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
09DFD6DAE663257FEF031BA2 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
85D2C3A8583357F0E25B0C0A /* libPods-RunnerTests.a in Frameworks */,
0DFB118139416DCD3C397C02 /* Pods_RunnerTests.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -98,15 +98,15 @@
buildActionMask = 2147483647;
files = (
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */,
36BC17309B3E51BB1DF47C5F /* libPods-Runner.a in Frameworks */,
1E6161CABCC775054152A0B2 /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C9FA8D602B28F632000BE7BA /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
64DB18F23ECCDF13172935E8 /* libPods-Runner-RunnerUITests.a in Frameworks */,
609E4FF9FA708BA0CE6D0AC9 /* Pods_Runner_RunnerUITests.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -132,9 +132,9 @@
27D46090FA46F1702AFB1D5C /* Frameworks */ = {
isa = PBXGroup;
children = (
558E3B59B340E24ADCB8545C /* libPods-Runner.a */,
908BB48F67A47466D251AB85 /* libPods-RunnerTests.a */,
5DB490D2E5952057A401D4D2 /* libPods-Runner-RunnerUITests.a */,
C4581BB4223717512581AE06 /* Pods_Runner.framework */,
C55A57535D169AB9ACA2BB3E /* Pods_Runner_RunnerUITests.framework */,
CE26F098781BCF9127578AE5 /* Pods_RunnerTests.framework */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -228,9 +228,6 @@
productType = "com.apple.product-type.bundle.unit-test";
};
97C146ED1CF9000F007C117D /* Runner */ = {
packageProductDependencies = (
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */,
);
isa = PBXNativeTarget;
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
Expand All @@ -242,12 +239,16 @@
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
3D369216ADA507D3E72354C4 /* [CP] Copy Pods Resources */,
1DA65B622BC19B113CDA673D /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = Runner;
packageProductDependencies = (
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */,
);
productName = Runner;
productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
productType = "com.apple.product-type.application";
Expand All @@ -263,6 +264,7 @@
561C8B18DFA5C6B569042432 /* [CP] Copy Pods Resources */,
C9FA8D712B28FB7A000BE7BA /* xcode_backend build */,
C9FA8D722B28FB8D000BE7BA /* xcode_backend embed_and_thin */,
DC8C739AF51A682D9F7E2201 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand All @@ -278,9 +280,6 @@

/* Begin PBXProject section */
97C146E61CF9000F007C117D /* Project object */ = {
packageReferences = (
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */,
);
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
Expand Down Expand Up @@ -311,6 +310,9 @@
Base,
);
mainGroup = 97C146E51CF9000F007C117D;
packageReferences = (
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */,
);
productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -351,6 +353,23 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
1DA65B622BC19B113CDA673D /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
Expand Down Expand Up @@ -496,6 +515,23 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
DC8C739AF51A682D9F7E2201 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner-RunnerUITests/Pods-Runner-RunnerUITests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner-RunnerUITests/Pods-Runner-RunnerUITests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner-RunnerUITests/Pods-Runner-RunnerUITests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
FB43509515A31C1AB2FFCC85 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -1000,12 +1036,14 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCLocalSwiftPackageReference section */
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */ = {
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage;
};
/* End XCLocalSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */ = {
isa = XCSwiftPackageProductDependency;
Expand Down
2 changes: 1 addition & 1 deletion example/ios/RunnerTests/ConvertTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class ConvertTests: XCTestCase {
XCTAssertEqual(Convert.convertGRPCErrorCodes(errorCode: 10), "ABORTED")
XCTAssertEqual(Convert.convertGRPCErrorCodes(errorCode: 11), "OUT_OF_RANGE")
XCTAssertEqual(Convert.convertGRPCErrorCodes(errorCode: 12), "UNIMPLEMENTED")
XCTAssertEqual(Convert.convertGRPCErrorCodes(errorCode: 13), "UNKNOWN")
XCTAssertEqual(Convert.convertGRPCErrorCodes(errorCode: 13), "INTERNAL")
XCTAssertEqual(Convert.convertGRPCErrorCodes(errorCode: 14), "UNAVAILABLE")
XCTAssertEqual(Convert.convertGRPCErrorCodes(errorCode: 15), "DATA_LOSS")
XCTAssertEqual(Convert.convertGRPCErrorCodes(errorCode: 16), "UNAUTHENTICATED")
Expand Down
10 changes: 10 additions & 0 deletions example/ios/RunnerUITests/RunnerUITests.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,14 @@
@import patrol;
@import ObjectiveC.runtime;

// These macros are normally defined by patrol_cli during `patrol test` builds.
// Define defaults here so that xcodebuild can compile this target independently
// (e.g., when running native unit tests via `xcodebuild test -only-testing RunnerTests`).
#ifndef CLEAR_PERMISSIONS
#define CLEAR_PERMISSIONS 0
#endif
#ifndef FULL_ISOLATION
#define FULL_ISOLATION 0
#endif

PATROL_INTEGRATION_TEST_IOS_RUNNER(RunnerUITests)
1 change: 0 additions & 1 deletion example/lib/pages/odrd_driver.dart
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,6 @@ class _DriverPageState extends ExamplePageState<ODRDDriverPage>
if (status.name.contains('enroute')) {
if (_waypointIndex > 0 && _navigationRunning) {
// After arriving to waypoint, continue to next destination.
// ignore: deprecated_member_use
await GoogleMapsNavigator.continueToNextDestination();
}
// Simulate the user location to the next waypoint.
Expand Down
Loading
Loading