Skip to content
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

update rxandroidble2 to 1.12.1 #1723

Conversation

tolot27
Copy link
Collaborator

@tolot27 tolot27 commented May 13, 2021

This PR bumps RxAndroidBle to version 1.12.1 to fix a memory leak in scanBleDevices which can cause the RxAndroidBle stack to hang.

It also add support to parse service solicitation UUIDs, which is required by the updated library but currently not used in xDrip.

@tolot27 tolot27 force-pushed the dependabot/gradle/com.polidea.rxandroidble2-rxandroidble-1.12.1 branch 2 times, most recently from c5839d6 to a508b82 Compare May 13, 2021 23:58
@tolot27 tolot27 force-pushed the dependabot/gradle/com.polidea.rxandroidble2-rxandroidble-1.12.1 branch from a508b82 to 76baf40 Compare May 14, 2021 00:04
@tolot27 tolot27 requested a review from jamorham May 14, 2021 00:05
@parapenT1sta
Copy link
Contributor

@tolot27 Do you think will help fixing this issue with latest Android 12 Preview version? #1720

@tolot27
Copy link
Collaborator Author

tolot27 commented May 16, 2021

@tolot27 Do you think will help fixing this issue with latest Android 12 Preview version? #1720

No, I don't think so. I cannot test it because Bluetooth/Dexcom is not available in the simulator and I don't have a device which is capable of running Android 12.

BTW: It is running fine on my S4 (Android 10) for three days, so far.

@tolot27 tolot27 added the next-build PRs to consider for the next build. label May 16, 2021
@parapenT1sta
Copy link
Contributor

@tolot27 Do you think will help fixing this issue with latest Android 12 Preview version? #1720

No, I don't think so. I cannot test it because Bluetooth/Dexcom is not available in the simulator and I don't have a device which is capable of running Android 12.

BTW: It is running fine on my S4 (Android 10) for three days, so far.

Thank you for your reply. In fact only stopped working on Pixel 4a 5G after the Preview 3 version of Android 12, as soon I reverted to Android 11 started working right away.

@tolot27
Copy link
Collaborator Author

tolot27 commented May 20, 2021

@jwoglom Please can you review this PR as well?

Copy link
Contributor

@jwoglom jwoglom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tolot27 Built an APK from this PR and tested it out on my old Pixel 2XL running Android 10, and it seems to function OK connecting to a G6 transmitter. I did run into some awkward behavior when initially pairing a transmitter, but I've run into that with stock xDrip before so I doubt it's related.

@tolot27
Copy link
Collaborator Author

tolot27 commented May 20, 2021

@jwoglom thanks for testing. It runs well on my phone for several days. During transmitter change it took a while to bond. But that also happens with the nightly build and no extra message is logged. Hence, it is unrelated to rxble.

@jamorham
Copy link
Collaborator

I'll try this out here and see if it looks like everything still works okay.

@jamorham
Copy link
Collaborator

jamorham commented Jun 2, 2021

The testing I've been doing with this has worked well over a range of handsets so I think its good to be merged.

@jamorham jamorham merged commit b6cf3e1 into NightscoutFoundation:master Jun 11, 2021
@tolot27 tolot27 removed the next-build PRs to consider for the next build. label Jun 11, 2021
@dependabot dependabot bot deleted the dependabot/gradle/com.polidea.rxandroidble2-rxandroidble-1.12.1 branch June 22, 2021 19:47
@tolot27 tolot27 restored the dependabot/gradle/com.polidea.rxandroidble2-rxandroidble-1.12.1 branch December 21, 2021 17:53
@tolot27 tolot27 deleted the dependabot/gradle/com.polidea.rxandroidble2-rxandroidble-1.12.1 branch February 1, 2022 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants