Skip to content

A flutter plugin to acquire the users IP adress

License

Notifications You must be signed in to change notification settings

bennynet/get_ip_flutter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 29.3%
  • Swift 27.7%
  • Dart 22.4%
  • Ruby 7.7%
  • Objective-C 7.3%
  • Shell 5.6%