android-sms-hooks
                                
                                 android-sms-hooks copied to clipboard
                                
                                    android-sms-hooks copied to clipboard
                            
                            
                            
                        Receiver phone number for devices with multiple SIM
Is there any way to implement this feature?
Thanks for the suggestion. I've investigated this feature a while back but could not find enough resources or documentation on how to implement it (how to get the number of the SIM in a broadcast receiver).
If you know another open source app the has this feature please let me know so that I can learn how they implemented it.
Unfortunately no. I searched for any app or documentation too, but didn't find anything useful.
I checked my current SMS app and even it does not show the SIM number. Based on my limited research this is because the number is not stored in the SIM and is unknown to the phone (I think.) But maybe it is possible to know the SIM slot e.g. Slot 1, Slot 2 etc. and include the SIM slot name if set in the system SIM settings.
https://github.com/pppscn/SmsForwarder
This App has the feature hope this helps android-sms-hooks) is better for me as it is very simple....SmsForwarder is overkill Hope you can fix this app.
Support for sim number, multi sim and a custom field in the webhook data would make this app perfect.