test_plugin_fftt_test 0.0.3 copy "test_plugin_fftt_test: ^0.0.3" to clipboard
test_plugin_fftt_test: ^0.0.3 copied to clipboard

A test Flutter plugin .

Teliver #

Teliver is your one place stop for all GPS Based Location tracking solutions

Getting Started #

Add this to your package's pubspec.yaml file:

  dependencies:
  teliverflutter: ^1.0.0

Android - Configuration

  • Obtain the map key from Google maps Page.
  • Open your AndroidManifest.xml file and paste the following code under application tag after embedding your map key obtained from Google.
 <meta-data
   android:name="com.google.android.geo.API_KEY"
   android:value="API_KEY_FOR_MAP"/>

NOTE : You can skip the above step. If you have already got map key and added it in manifest or you just want the location updates alone.

Add the following line in app build.gradle - inside android of dependencies

    implementation 'io.teliver.sdk:TeliverSdk:4.0.9'
    implementation 'com.google.code.gson:gson:2.8.6'

Add the following line in app build.gradle - inside android

   packagingOptions {
        exclude 'META-INF/DEPENDENCIES'
    }

NOTE : App minSdkVersion version must be greater than or equal to 21

IOS

Usage/Examples #

  • Initiate our SDK by adding the following code snippet in your Application class
import 'package:teliverflutter/teliverflutter.dart';

final _teliverFlutter = Teliverflutter();

var result = await _teliverFlutter.initSDK("teliver_key");
  • Next, setup the transmission for the operator app for whom the location has to be tracked.
var result = await _teliverFlutter.startTrip("Tracking_Id");

Note: The Tracking_Id here is your unique identifier for the trip; basically it’s just the order id or driver id in your system

  • Since our operator app is ready for transmission, we will now setup our consumer side to locate on map.
_teliverFlutter.startTracking("Tracking_Id");

Note: Note: The Tracking_Id here is same as the id you given in previous step of operator start trip.

  • Stop Trip Call this method with the tracking id to stop the trip on Operator side.
result = await _teliverFlutter.stopTrip("Tracking_Id");
  • Stop Tracking Call this method to stop tracking of Operator from Consumer side
_teliverFlutter.stopTracking("Tracking_Id");
1
likes
130
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

A test Flutter plugin .

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on test_plugin_fftt_test

Packages that implement test_plugin_fftt_test