The unit_testing example app shows how the HERE SDK can be mocked for unit testing.
-
Set your HERE SDK credentials programmatically in
lib/main.dart
. -
Unzip the HERE SDK plugin to the plugins folder inside this project. Name the folder 'here_sdk':
unit_testing/plugins/here_sdk
. -
Start an emulator or simulator and execute
flutter run
from the app's directory - or run the app from within your IDE.
More information can be found in the Get Started section of the Developer Guide.