lotrofans / get_ip_flutter

A flutter plugin to acquire the users IP adress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get_ip

Helps you acquire the IP address of the user's device. (Works on Android & iOS)

Simply use this:

String ipAddress = await GetIp.ipAddress;

You need to import the package:

import 'package:get_ip/get_ip.dart';

And on Android you need to add these permissions:

    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

Please report all bugs :)

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

About

A flutter plugin to acquire the users IP adress

License:MIT License


Languages

Language:Swift 31.3%Language:Kotlin 26.4%Language:Dart 25.3%Language:Ruby 8.7%Language:Objective-C 8.3%