Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 257
Registered: ‎01-08-2013
My Device: Z10 LE
My Carrier: SiMobil
Accepted Solution

App permission for invoking access_sms_mms?

Do I need to add access_sms_mms if I'm only invoking sms? Seems like a silly question, but I don't want permissions I don't use

Developer
Posts: 217
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: App permission for invoking access_sms_mms?

We also need this permission to invoke SMS. Without it invoking SMS does not work.

Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: App permission for invoking access_sms_mms?

You shouldn't need permission just to invoke the SMS card

 

https://developer.blackberry.com/native/documentation/cascades/device_platform/invocation/text_messa...

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Developer
Posts: 217
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: App permission for invoking access_sms_mms?

That is kind of interesting. Because the documentation says that the permission is required to create text messages.

 

The same holds for the permissions access_pimdomain_messages and access_phone. It seems all these permissions are not required to invoke cards.

Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: App permission for invoking access_sms_mms?

You need the permissions to access the APIs directly. The idea being that with the API, you could be silently sending SMSs or whatever without the user knowing, which is bad without permisison, but with the card it's obvious to the user what's going on. They can customize what's being sent or even not send it at all.

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Developer
Posts: 257
Registered: ‎01-08-2013
My Device: Z10 LE
My Carrier: SiMobil

Re: App permission for invoking access_sms_mms?

Yeah, it's kind of confusing. And same goes for internet permission. You must have it (i think), but it works (at least in development) even without it. I wish there was more documentation about it.