-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLUETOOTH permission is listed as optional in docs but seems to be required #424
Comments
Hi @agramian ! Thanks for reporting this. What's the SDK Version that you are using? Also, have you modified the library somehow? Thanks! |
Hi @patedit no I have not modified the library at all. I'm using it exactly as your docs instruct. Here's the info from my gradle file.
|
What's slightly crazy about this is that there's already this in
I can't figure out from the stacktrace how the app would be crashing on a |
Hehe, I know. This crash is pretty crazy (hence my interest of including the permission in the AndroidManifest.xml). I suspect it's an OEM implementation that I'd need to dig into. |
+1 similar issue: Still.. it looks wierd to see error output in my logcat every time I open the app.. |
same here on android N samsung device s8 05-04 08:04:41.778 12607-12634/com.sample.airwatchsdk E/BluetoothAdapter: Application does not have bluetooth permission, registering is failed |
I'm having this error too: 07-28 09:24:52.657 12893-13502/br.com.sltalk E/BluetoothAdapter: Application does not have bluetooth permission, registering is failed
Used SDK version: "com.mixpanel.android:mixpanel-android:5.1.4" Any updates on this issue? |
guys, could you kindly tell me what are the devices you are seeing this issue on and their android version? thanks! |
@patedit Samsung s7 Edge |
same issue on S6 EDGE and S7 EDGE |
what about the android version? is it only happening on N? Do you guys see something in common with all the devices? thanks! |
Android API 7.0 |
both devices |
Same here, on galaxy s7 edge |
It seems like this bug is still not solved yet. |
I cant even download my app from play store from emulator because emulators do not have bluetooth!!! FIX IT |
@dementia2029 Sorry, I am not sure I understand your problem. Whether you can or can't download your app from Google Play seems unrelated to this issue. Feel free to add more details! Guys, hopefully this PR will solve your issue #499 I'll make a release today! |
@patedit we can't download a released app (with mixpanel) from google play to our emulator because mixpanel requires bluetooth, if the device doesn't have bluetooth then the app wont show up in google play. |
@adin234 because of this pull request Mixpanel no longer requires bluetooth. If you would like to remove the need from your manifest, make a release, and try installing on an emulator again, you may do so. |
@levibostian i just explained to @patedit why this issue and the app not being downloadable from the store and an emulator are related |
Thanks for the clarification @adin234 ! And nice profile pic 👨💻 |
The Android setup docs under Step 2 - Add permissions to your AndroidManifest.xml: list the BLUETOOTH permission as optional but I am seeing a consistent crash for at least a Samsung SM-925T. I have not tested enough to determine if this is device specific but either way it should not happen. It causes our app to go into a crash/restart cycle of sometimes more than 10 times.
The text was updated successfully, but these errors were encountered: