Javeed Ishaq
Javeed Ishaq

Reputation: 7105

flutter_blue does not detects Bluetooth device after building release APK

flutter_blue: ^0.7.2

flutter_blue works fine in debug mode and detects and scans for available Bluetooth devices but does not detect Bluetooth device after building the release APK

says Bluetooth device not found

Upvotes: 1

Views: 1859

Answers (1)

Abbas Jafari
Abbas Jafari

Reputation: 1643

It maybe catches an error in the release mode, please use this command for getting apk:

  1. flutter clean

And then

  1. flutter build apk --no-shrink

And also you can use this command flutter run release for debugging in the release mode

Upvotes: 1

Related Questions