How can Remove the specified permissions for SMS, from app’s

všeobecne o Androide
Príspevky triediť do kategórie smartfónov kde je uvedený výrobca a model !

Poslaťod kaniamania12 » Štv 14. Feb 2019 11:05:09

I've developed for a client an Ionic 3 app that sends informative text messages - SMS to clients.
For this app I received the following Google Play warning:

_Only an app that has been selected as a user's default app for making calls or text messages, or whose core functionality is approved for one of the exception use cases, will be able to access Call Log or SMS permissions._

_Below, we've listed a sample of apps from your catalog which may not meet the requirements for permission requests._

It seems that the solution would be " **Option 1) Your app does not require access to Call Log or SMS permissions:** Remove the specified permissions from your app's manifest."
But I don't understand what to do. Where should I change and what? Should I modify my **config.xml** or the way I use **this.sms.send()** ? Or something else?


To send the text messages I use a vector and call for each element the sms.send();


for(var i=0;i<this.v_sms_complet.length;i++){
if (this.v_sms_complet[i].CHECK_OK==true){
v_only_idsms_checked.push(this.v_sms_complet[i].id_sms);

//send sms
this.sms.send(this.v_sms_complet[i].phone, this.v_sms_complet[i].text_sms);
this.sleep(0.5);//0.5 second pause after each sms
}
}


Thanks in advance!
https://offshorededi.com/
kaniamania12
zelenáč
zelenáč
 
Príspevky: 1
Registrovaný: Štv 14. Feb 2019 10:40:40
mobil: Samsung
tablet:

Späť na Android

cron
TOPlist