I have an app for connection IoT devices. So when I open the app, my wifi hotspot must be automatically enabled. Can anyone suggest a way to this?
The wifi_iot package is probably the best you can get with Flutter for now. Their page on pub.dev specifically states what is possible right now.
wifi_iot will generate hotspot with random ssid li
Related
I'm trying to implement a feature based on the background/foreground status of a Flutter app.
Does anyone know of a way to detect if the notification/system try on a device is pulled down over the app?
Thanks.
Welcome to SOF
You can detect this using special permission in Android (https://developer.android.com/reference/android/Manifest.permission#EXPAND_STATUS_BAR).
But you need native code to run in Flutter.
There is a similar (almost) package out there, you may fork it:
https://pub.dev/packages/notification_shade
I am trying to enable mobile network using a button in my Flutter App. I am unable to find a plugin that can allow me to do so.
Enable Mobile Internet (4G)
Please suggest me an answer that allows me to provide this functionality.
As far as I know, it's not possible on both Android and iOS platforms so you can't do it in Flutter too since it's relying on those platforms. All you can do now is to show a dialog and guide your users to open their mobile data or open the settings app so that users can enable it.
Is there any way that I can print a receipt on a Bluetooth thermal printer, as I really struggling finding the solution on flutter? Anything could help, I really appreciate those answers
I have tried esc_pos_bluetooth package and it's not working for Bixolon bluetooth printer.
I'v found blue_thermal_printer library and it worked for me on Android but this library doesn't support iOS until now:
https://pub.dev/packages/blue_thermal_printer
Currently you need to write your own logic using Bluetooth packages.
There is package available which currently supports WiFi POS printer.
Take a look
https://pub.flutter-io.cn/packages/esc_pos_printer
Have you tried this package: esc_pos_bluetooth(https://github.com/andrey-ushakov/esc_pos_bluetooth)?
Not much luck on my end either (on ios). Unfortunately, esc_pos_bluetooth doesn't detect my Epson TM-T88VI so that's a little bit of a road block...
There are three major bluetooth printing plugins, i have tried them all and so far this package is the best one esc_pos_bluetooth is the best on my case.
Some useful Flutter SDKs for Thermal Printer:
bluetooth_thermal_printer - This is a Flutter plugin that allows you to use a Bluetooth thermal printer on Android device.
blue_print_pos - This is a Flutter plugin that enables you to use a
POS (point of sale) system on both Android and iOS device.
This is the updated forked blue_print_pos SDK which I used in Dec, 2022. You can use it without facing any issues.
How to integrate SDK: Detailed Stackoverflow Answer
I am creating a hybrid application where I'm scanning available WI-fi list and trying to connect it via app. To achieve it in android native I'm using hotspot plugin which is working perfectly fine but it is not available for IOS. Can any one suggest me any cordova plugin which I can use to get WI-fi List and to connect via SSID and password in Ios? I will be grateful if any one will provide some sample codes.
iOS has limited functionality as Apple's WifiManager equivalent is only available as a private API. Any app that used these features would not be allowed on the app store.
Connect/Disconnect only works for iOS11+
I am hoping to use my android phone as a portable hotspot, connect my iPad to it and access pictures etc on it. I know android can make folders accessible on a network, I just wondered if the iPad can access these folders?
Also, I would like to be able to make an app that can access these, so if it possible, can someone point me towards some samples/tutorials/resources etc please? Fairly new to the iOS platform and working my way through various tutorials.
Cheers!
As far as I know, Android supports to create WiFi Hotspot for sharing Internet.
It may not support File Transfer in between.