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

Add Filter support #1

Open
Julias0 opened this issue Jan 29, 2021 · 6 comments
Open

Add Filter support #1

Julias0 opened this issue Jan 29, 2021 · 6 comments

Comments

@Julias0
Copy link
Owner

Julias0 commented Jan 29, 2021

I think the filter should contain:

  • SMS received date ranges.
  • Sender phone number.
  • SIM (if a phone has multiple SIMs)

credits to @tewnut

@ganshul34
Copy link

If I am not wrong is this filter based on whether an SMS is Transactional, OTP, or Promotional?

@Julias0
Copy link
Owner Author

Julias0 commented Mar 8, 2021

The filter may be anything - greater than a certain fate, a category filter like the one you mentioned etc.

Right now this plugin gets all the messages out of the inbox but doesn't allow us to query the inbox of the device based on a certain condition. This can cause performance issues down the line

@ganshul34
Copy link

I am getting the error while running on android (the custom plugin SmsInboxReader is not defined ).
Also, I created a standalone ionic-react app for testing purposes for this plugin.

@Julias0
Copy link
Owner Author

Julias0 commented Mar 15, 2021

Can you try these two steps -

  • Start a gradle sync in Android studio
  • inside MainActivity.java import SmsinboxReader and add it (there will be instructions in this file)

If this dosnt work, can you add a screenshot of MainActivity.java

@ganshul34
Copy link

Yes, I need to import and add the SmsinboxReader in my MainActivity.java file

@tewnut
Copy link

tewnut commented Aug 2, 2022

I think the filter should contain:

  • SMS received date ranges.
  • Sender phone number.
  • SIM (if a phone has multiple SIMs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants