onelocate 0.0.1 copy "onelocate: ^0.0.1" to clipboard
onelocate: ^0.0.1 copied to clipboard

Introducing our innovative Location Fetching plugin called OneLocate, a powerful tool that allows you to check the device location without GPS.

logo onelocate #

Introducing our innovative geo locate detection plugin called OneLocate, a powerful tool that allows you to check current location coordinates without GPS, Only need internet access only.

Features #

  • GRS not required
  • Only internet

Getting started #

To use this package, add oneroot as a dependency in your pubspec.yaml file.

Usage #

  • On pubspeck.yaml
onelocate: ^0.0.1
  • On Dart Import
import 'package:onelocate/onelocate.dart';
  • On implementation of OneLocate
//init plugin object
final _onelocatePlugin = Onelocate();

//Method will return location info as a dynamic map value.
//This is a set of properties that can access, 

{
"country": "",
"countryCode": "",
"city": "",
"zip": "",
"lat": "",
"lon": "",
}

var platformRootStatus = await _onerootPlugin.getLocation();

//Method will return the OS version.
String platformVersion = await _onerootPlugin.getPlatformVersion();
  • Platform configs

Android - AndroidManifest IOS - info.plist

↑ Blank line!

   <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.akurupela.onelocate">
<uses-permission android:name="android.permission.INTERNET" />
</manifest>

↓ Blank line!

↑ Blank line!

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
     <key>NSAllowsArbitraryLoads</key>
     <true/>
  </dict>
</plist>

↓ Blank line!

One Locate - Android One Locate - IOS
root root

logo logo logo   logo

3
likes
0
pub points
22%
popularity

Publisher

verified publisherakurupela.com

Introducing our innovative Location Fetching plugin called OneLocate, a powerful tool that allows you to check the device location without GPS.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on onelocate