GithubHelp home page GithubHelp logo

debugerer / flutter_gateway Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 7.0 108 KB

a flutter plugin to get gateway information.

License: Other

Java 11.59% Ruby 9.97% Objective-C 14.65% Dart 14.58% C 49.20%

flutter_gateway's Introduction

gateway

A flutter plugin to get gateway information when wifi connect. Work on iOS and Android.

For Android: Need add:

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

Usage:

import 'package:gateway/gateway.dart';

Gateway gt = await Gateway.info;
print(gt);

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

flutter_gateway's People

Contributors

debugerer avatar knurzl avatar wenomok avatar

Stargazers

 avatar  avatar

Watchers

 avatar

flutter_gateway's Issues

Gateway issue on WiFi DHCP/Router IP address

Hi,
Appreciated for the your effort on so great application/plugin first !
I use Gateway for a while, but there's an issue to get WiFi gateway IP address.

When Mobile network and WiFi are all turned on iOS, Gateway.ip often returns Mobile network gateway IP address instead of WiFi DHCP server or gateway IP address.
Can you give me a hand on this to get WiFi gateway IP address or router IP ?
Many thanks !

GatewayPlugin.java uses or overrides a deprecated API

gateway: ^0.3.0

flutter build apk --split-per-abi --release

Build warning:
Note: C:\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\gateway-0.3.0\android\src\main\java\com\example\gateway\GatewayPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.