v0.2.4 - New PhoneLookup API, SIM card functions, and lots of improvements and bug fixes!
This release contains a brand new API for matching contacts, a bunch of SIM card improvements and bug fixes, and the long awaited fix for permissions
extension crashes π₯ π₯ π₯³ β β€οΈ
There is a potential one-line breaking change, which you probably don't have to worry about π€
π‘ New features
- New API for specialized matching of phone numbers;
PhoneLookupQuery
#259, documentation - Detect SIM card availability #212, documentation
- Detect SIM card name and number max character limits #201, documentation
- Extensions for getting successfully inserted SimContacts #260, documentation
π οΈ Improvements
- Optimize
Query
andBroadQuery
when not including data fields #249 - Add
Account
toBlankRawContactEntity
#254 - Apply offset and limit manually in all query APIs for devices that do not support them #253
π Bug fixes
- Permissions module extension
xxxWithPermission()
may crash app #143 - Query APIs do not return local contacts in Samsung devices when passing null to
accounts
functions #257 - Unable to delete multiple duplicate SIM contacts in one delete operation #261
- Deleting SIM contacts with name but no number or with number but no name always fails #263
π£ Breaking changes
- Remove
includeBlanks
function fromQuery
,BroadQuery
, andProfileQuery
APIs #251
β»οΈ Internal refactors
- Replace permissions library Dexter with TedPermissions #101
π§ Migrating from 0.2.0
, 0.2.1
, 0.2.2
, or 0.2.3
-> 0.2.4
If you use the includeBlanks
function of Query
, BroadQuery
, or ProfileQuery
APIs, all you would need to do is delete that line of code and you are done!
If you used to set
includeBlanks
totrue
, then nothing will change for you because it is now hard coded to true. If you used to set it tofalse
, also nothing will change for you because it was never working correctly anyways.
ποΈ Full Changelog
π£οΈ Discuss this release
Head on over to the v0.2.4 Release Checklist and leave a comment or some reactions π