-
Notifications
You must be signed in to change notification settings - Fork 119
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
Unable to add more than 2 contact rules #554
Comments
Hmm, that's really odd. I'm curious if the contact IDs for your contacts aren't unique. Can you give this a try?
If the contact IDs aren't unique, this might be a bit harder to fix. |
Thanks for testing that! I'm not really sure what could cause this then. I'd like to see if I can reproduce this bug with your settings. Can you try adding 3 or more contacts and then make a copy of BCR's settings file at |
Sure thing! I renamed it to a TXT because github didnt want to upload it. If you need the unmodified XML file I can get it to you. |
Nope, no need, the file was fine! I was able to load those settings, but unfortunately, I still can't reproduce the issue. When I add additional contacts, they appear after your 2 entries. I'm kind of baffled why this is happening for you. I'd like to try and get some debug logs to hopefully track this down. Can you give this a try?
|
Done! Weird thing happened though. In this build when I added the 2nd contact, it was the only one showing up. Not even the default rules were there. With a 3rd contact only 2 and 3 were showing. Contacts used: Dummy1, Dummy2, Dummy3, AT&T. (in that order) |
Thanks for the logs! That was incredibly helpful. I didn't account for the fact that Android might unload BCR. On your device, when you add a rule and go to Android's contact picker screen, Android is unloading BCR from memory. After selecting a contact, BCR loads again from scratch and it tries to load the saved settings and add the new contact at the same time. This race condition leads to the weird behavior. On my device, BCR happens to always stay loaded in memory, so after returning from the contact picker, it was only adding the new contact (and not reloading the settings). I think this test build should resolve the problem: BCR-1.63.r7.g35fce3b-release.zip. If you still hit weird issues, please upload a new |
That makes sense! I have my phone set to unload apps when I'm not actively using them. Also, the test build fixed it! Thank you so much for your responsiveness and help here, you've made an absolutely wonderful application, and seem to be just as wonderful of a person. Is there any place to donate to you or the project? |
Glad to hear the test build worked! I'll merge the fix and release a new version of BCR in a bit.
Thank you, the kind words are enough ❤️ |
Device: Pixel 3 (blueline)
ROM: LineageOS 21 (Android 14)
BCR vers: 1.63
Basically, I'm limited to only adding 2 contact rules. The first 2 add just fine, and I can choose any 2 contacts. Any others don't get added to the list, but I can remove 1 (or both) of the rules that are showing up and switch them out with different contacts.
Intended functionality
Go to BCR app
Visit the Auto-record rules
I can add as many rules as desired, for as many contacts as I have
Actual function
Open BCR app and go to auto-record rules
Add 1 person (works fine)
Add a second person (works fine)
Add a third person. The app gives the message that it "Added new rule", but only the first 2 are displaying
Add an Nth person, same result
The text was updated successfully, but these errors were encountered: