network_tools_flutter

Last updated:

0 purchases

network_tools_flutter Image
network_tools_flutter Images
Add to Cart

Description:

network tools flutter

Network Tools Flutter #

Features #
This package will add support for flutter features which is out of the scope of network_tools because of platform limitations.
Getting started #
Usage #
Add dependency in pubspec.yml, path_provider dependency is also needed
dependencies:
flutter:
sdk: flutter

network_tools_flutter: ^1.0.4
path_provider: ^2.1.2
copied to clipboard
And initialize the pacakge in the main function
await configureNetworkToolsFlutter((await getApplicationDocumentsDirectory()).path);
copied to clipboard
From here please follow the documentation of network_tools as they are the same.
mDNS search #
For mDNS search on android make sure your min Android API level is 21 and add the following permissiongs to the manifest file
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
copied to clipboard
And for iOS add permissions to the Info.plist (replace service type with your own):
<key>NSLocalNetworkUsageDescription</key>
<string>Required to discover local network devices</string>
<key>NSBonjourServices</key>
<array>
<string>_http._tcp</string>
</array>

copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.