Motivation
데이터 사용량이 많은 서비스를 제공할때, 사용자가 어떤 네트워크 환경에서 서비스를 이용하고있는지 인지시키기 위함
Keywords
flutter mobile network connection
connectivity
Implementation
기존에 사용하던 connectivity 플러그인은 중단되어 현재는 connectivity_plus 플러그인을 사용할 수 있다. (2022.03.21 기준)
참고 출처
https://pub.dev/packages/connectivity_plus/example
https://www.flutterant.com/network-connectivity-checker-in-flutter/
728x90
'Flutter' 카테고리의 다른 글
[Flutter / GetX / Python / Flask] firebase cloud messaging으로 push notification 구현(3) : 백엔드 서버 구현 (0) | 2022.03.23 |
---|---|
[Flutter / GetX / 일반] firebase cloud messaging으로 push notification 구현(1) : android, iOS 사전 세팅 (0) | 2022.03.21 |
[Flutter / 일반 / GetX] 사용자가 앱을 사용하지 않을때(백그라운드) 앱 상태 관리 (0) | 2022.03.21 |
[Flutter / 일반] instance of 'Class' 활용 (0) | 2022.03.15 |
[Flutter / GetX] binding 사용하기 (0) | 2022.03.09 |