at_location_flutter 3.0.2 copy "at_location_flutter: ^3.0.2" to clipboard
at_location_flutter: ^3.0.2 copied to clipboard

outdated

A Flutter plugin project to share locations between two @‎signs and track them on OSM (OpenStreetMap).

Now for some internet optimism. #

at_location_flutter #

A flutter plugin project to share location between two atsigns.

Sample usage #

It is expected that the app will first create an AtClientService instance and authenticate an atsign.

The location service needs to be initialised with the atClient from the AtClientService, current atsign and a global navigator key.

initializeLocationService(
          clientSdkService.atClientServiceInstance.atClient,
          activeAtSign,
          NavService.navKey,
          mapKey: 'xxxx',
          apiKey: 'xxxx',
          showDialogBox: true);

Navigating to the maps view is done simply by using:

Navigator.of(context).push(MaterialPageRoute(
        builder: (BuildContext context) => HomeScreen(),
    ));

To request location from an atsign:

await sendRequestLocationNotification(receiver);

To share location from an atsign and duration of share in minutes:

await sendShareLocationNotification(receiver, 30);

Steps to get mapKey #

Steps to get apiKey #