Replies: 3 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
Not sure. It shouldn't need to be added to the libraries, since yours should overwrite. The permission stuff is pretty Android standard.
I know to use the camera you need to request permission in the app itself. Maybe that applies to later Android versions.
Google the expo barcode scanner, the example has a way to ask for permissions in the app itself.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: gilgru23 ***@***.***>
Sent: Saturday, April 2, 2022 12:01:39 PM
To: kenjdavidson/react-native-bluetooth-classic ***@***.***>
Cc: Ken Davidson ***@***.***>; Comment ***@***.***>
Subject: Re: [kenjdavidson/react-native-bluetooth-classic] BLUETOOTH_SCAN permission (Discussion #179)
Hey I added the required permission " " to every AndroidManifest file in the project and it still doens't work, other functions like isBluetoothAvailable and checkBluetoothEnabled are work
—
Reply to this email directly, view it on GitHub<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkenjdavidson%2Freact-native-bluetooth-classic%2Fdiscussions%2F179%23discussioncomment-2491669&data=04%7C01%7C%7C2a23243118b745517b7508da14c212a5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637845121007263102%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xYhiH53%2FQl2wL5NYHaY2T0DacQ1mX4VB6ybq1kY6WOM%3D&reserved=0>, or unsubscribe<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABPMJL6M4TBA2HXDFPXHQEDVDBVOHANCNFSM5SLDDISQ&data=04%7C01%7C%7C2a23243118b745517b7508da14c212a5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637845121007263102%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=PXgoFaz1Mzjx6O4sf%2FMzhZ7O%2FlY1sLs8Ra%2BiUHUq%2BHU%3D&reserved=0>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I think you need to add these permissions to your manifest:
After adding them to my project everything works fine for me. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey run into this problem above, what can I do to change the permission in order to run the startDiscovery() method? thanks
Beta Was this translation helpful? Give feedback.
All reactions