chipweinberger/flutter_blue_plus

[Help]: setLogLevel always request for permission

beastoin opened this issue · 4 comments

Requirements

  • I've looked at the README 'Common Problems' section

Have you checked this problem on the example app?

Yes

FlutterBluePlus Version

1.32.12

Flutter Version

3.24.1

What OS?

iOS

OS Version

iOS 17

Bluetooth Module

nrf52840

What is your problem?

Whenever calling for the setLogLevel, I see the request permission popup.

Logs

None.

is this a new issue? only in 1.32.12?

try 1.32.13

yes man, I just saw that fixes.

if (method != "setOptions" && method != "setLogLevel") {

thanks!

Ah man, @chipweinberger , what do you think about the default value of LogLevel ? I mean should we use INFO instead of DEBUG ?

As you know that if the application was published to user with default level as DEBUG, logs are expensived in term of resource, so the performance will be dramatically impacted.

thịnh