Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 861 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 861 Bytes

get_ip

!!!DONT USED IN PRODUCTION!!!

This is just repo used for learning purpose and any error will not be supported for this moment.

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.