Broadcast receiver works with calls but doesn’t with SMS. For both it isn’t able to get the location
I’m writing an APP in Kotlin for testing mobile networks.
The APP must be able to log received calls and SMSs.
I defined the Broadcast Receiver in MainActivity, and it seems to work with calls but not with SMS.