How to Broadcast SMS_RECEIVED?
I am working on an app that mimics Voice+ but uses Xposed instead of having to run CyanogenMod.
I am stuck at the point where I need to broadcast a android.provider.Telephony.SMS_RECEIVED intent to spoof an incoming SMS when a Google Voice message comes in. The BROADCAST_SMS permission is not being given to my app, even when it is put in /system/app.
Not granting permission android.permission.BROADCAST_SMS to package com.runnirr.xvoiceplus (protectionLevel=2 flags=0x88be47)
My understanding is that since I am using an official stock, I cannot get that permission since the app is signed with a different key. I am hoping there is some way around this using root or Xposed.
I am open to suggestions. I
I found the solution to my problem by using Xposed to grant my app permission at start up. I copied how GracityBox does it.