flutter_blue icon indicating copy to clipboard operation
flutter_blue copied to clipboard

Plugin asks for bluetooth permission on app startup (iOS)

Open adamk22 opened this issue 5 years ago • 6 comments

I'm using this plugin in an app where bluetooth is optional. However, in iOS, when the user boots up the app for the first time the plugin immediately asks for bluetooth permissions. Is it possible to control when to ask for permission? For instance, in a view where the bluetooth feature is utilized?

I came across issue #272 with no clear solution other than digging into the source code and I was wondering if anyone has a solution?

adamk22 avatar Oct 08 '20 16:10 adamk22

Yeah this is a serious problem for us too. We'd like to be able to ask permission and explain why we need it too users before it actually asks them. Currentely it just pops up right away. This should be an easy fix, not sure how to implement it though (iOS)

ollyde avatar Dec 01 '20 16:12 ollyde

I agree that it is a serious issue to publish an app to market Please improve this functionnality

anslex avatar Dec 06 '20 06:12 anslex

Let's just first fix the even more serious issue of #726

MrCsabaToth avatar Dec 06 '20 07:12 MrCsabaToth

Hi, I have this issue as well and it is quite unfortunate as it spoils the ergonomic of an app. Have any of you found some kind of solution ? Many thanks.

Chris-FizziQ avatar Mar 03 '21 08:03 Chris-FizziQ

@Chris-FizziQ check #599 .

vaibhiarora03 avatar Apr 24 '21 09:04 vaibhiarora03

Do we have a fix from the package itself without having to change the IOS code for this?

Manasmd avatar Jul 31 '23 03:07 Manasmd