The Tizen implementation of connectivity_plus
.
This package is not an endorsed implementation of connectivity_plus
. Therefore, you have to include connectivity_plus_tizen
alongside connectivity_plus
as dependencies in your pubspec.yaml
file.
dependencies:
connectivity_plus: ^4.0.1
connectivity_plus_tizen: ^1.1.4
Then you can import connectivity_plus
in your Dart code:
import 'package:connectivity_plus/connectivity_plus.dart';
For detailed usage, see https://pub.dev/packages/connectivity_plus#usage.
To get connectivity information using this plugin, add below lines under the <manifest>
section in your tizen-manifest.xml
file,
<privileges>
<privilege>http://tizen.org/privilege/network.get</privilege>
</privileges>