pinpoint_sdk 12.2.0-kappa
pinpoint_sdk: ^12.2.0-kappa copied to clipboard
The Pinpoint SDK is a cross-platform (Android/iOS) Flutter plugin for positioning with Pinpoint's technology.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:pinpoint_sdk/pinpoint_sdk.dart';
import 'geolocator_widgets.dart';
void main () {
Geolocator.setLogging(enable: true);
// initialize Geolocator
// Note: the API key will become mandatory in a future release, at the moment it is still optional.
initGeolocator(apiKey: 'MyApiKey');
// You need to call the function Geolocator.updateGeoreference in your app to enable positioning.
// Check the Readme (section #Usage) for more details.
runApp(const GeolocatorApp());
}