tijder / SmsMatrix

A simple SMS <--> Matrix bridge.
https://matrix.to/#/#smsmatrix:matrix.org
GNU General Public License v3.0
214 stars 37 forks source link

Incoming SMS not bridged #27

Closed tulir closed 5 years ago

tulir commented 5 years ago

After moving to a new phone, incoming SMS doesn't get bridged to Matrix at all. Messages sent to previously created rooms are bridged to SMS just fine.

The only related thing I could find in logcat is this:

11-14 20:26:26.148  1092  1112 W BroadcastQueue: Permission Denial: receiving Intent { act=android.provider.Telephony.SMS_RECEIVED flg=0x19000010 (has extras) } to eu.droogers.smsmatrix/.ReceiverListener requires android.permission.RECEIVE_SMS due to sender com.android.phone (uid 1001)

The app has all the permissions. I tried both the latest release and a self-compiled version from a few days back.

Huawei P20 Pro / Android 8.1

ghost commented 5 years ago

Try now @tulir

I'm learning Java and Android dev while trying to fix bugs in this app :)

tulir commented 5 years ago

Looks like it works now, thanks!