-
Notifications
You must be signed in to change notification settings - Fork 19
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
Dual SIM cards, forward the SIM card slot number #18
Comments
Hi @Opsmers, At the moment, there's no way to choose which messages are forwarded. I've had plans to implement some kind of filtering system for a year this point, but there's nothing ready to be released yet. This feature request probably belongs to #4, but I'll keep the issue open in case if you'd like to be notified when the feature gets implemented. |
@optimalstrategy I think @Opsmers just wanted the SIM card slot number to be mentioned in the message that's forwarded, not to forward only messages from a certain SIM card. BTW @optimalstrategy, thank you so much for building this project! I tested it and it looks great! I'll use it in the future when I travel abroad, so I can continue receiving SMS messages. Thank you for sharing this with the world ❤ |
I looked into this and the underlying Telephony package does not expose this data, so this will be difficult. |
@TheYarin Thanks for using my app and investigating the issue. I don't think there's a way to get the sim index without switching to another library, re-implementing the SMS receival functionality from scratch, or PRing telephony to include the slot ID with the messages. The latter should be possible without breaking the API compatibility since telephony uses an I don't have a lot of time at the moment, but I'll see if I can hack something together in an hour or two. EDIT: After further investigation, I think it might be possible to list the available sim cards using another library and compare their EDIT 2: Telephony doesn't extract |
getDefaultSmsSubscriptionId 🤔 |
this will be a GREAT to have! |
@optimalstrategy
Dear Sir,
In the case of Dual SIM cards, whether It can forward the data with the SIM card slot number or the remarks in SIM card slot management?
Thanks a lot!
The text was updated successfully, but these errors were encountered: