/r_get_ip

🆕👀超级简单获取手机IP地址,外网地址,当前连接网络类型,支持Android/IOS/MacOS/Web/Windows

Primary LanguageSwiftApache License 2.0Apache-2.0

r_get_ip

pub package

A new Flutter project about get ip address.

Supported Platform

  • Android
  • IOS
  • MacOS
  • Web
  • Windows

Getting Started

  1. Get Internal IP Address.
RGetIp.internalIP
  1. Get External IP
RGetIp.externalIP
  1. Get Network Type
RGetIp.networkType

License

   Copyright 2021 rhyme_lph

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.