-
Notifications
You must be signed in to change notification settings - Fork 41
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
Request for some filters for Fetching #13
Comments
as usual, I am ok with new features if it does not impact the performances on android. feel free to open a PR. |
dbaq, I am sorry about my request description. I am requesting this feature on this plugin. I am not a developer to make these changes on my own on this source code. |
Which filter do you need exactly? what is the use case? |
Use case : Currently it fetches all the Contacts with mobile numbers present. If i need to get contacts only having some phonenumbers with isd code (say +1 for US, +44 for UK) or having DisplayName starting with 'natan'.. etc. In short a filter applied on numbers and displayName fields at the SQL Fetch itself, than processed at JS layer. Thanks |
It makes sense, after looking at the code, it should be doable. I was thinking about something like:
I have a doubt about the case sensitivity though. What do you think @natanraj? |
Looks good. It has to be case insensitive like Cordova plugin.
|
Hello @dbaq, Do you think it's possible to add also the photos values ? |
there is another issue for the photos. see #11. |
ok thank you. |
is this feature implemented? |
@kodeine not yet, but any contribution is welcomed :) |
Hi
Can we add one small flexibility of passing some few parameters further to filter the Contacts. (Something like DisplayName having some pattern or Ph Numbers have some ISD code etc)
The text was updated successfully, but these errors were encountered: