Last updated:
0 purchases
onelocate
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.3
copied to clipboard
On Dart Import
import 'package:onelocate/onelocate.dart';
copied to clipboard
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();
copied to clipboard
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>
copied to clipboard
↓ 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>
copied to clipboard
↓ Blank line!
One Locate - Android
One Locate - IOS
See also from Developer
Akurupela Applications
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.