iOS Modal Alert Description

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dcpbarrington
Posts: 87
Joined: Tue Nov 13, 2007 6:40 pm

iOS Modal Alert Description

Post by dcpbarrington » Tue Dec 19, 2017 11:34 pm

Forum,

My app just was rejected by the gate keepers over at iTunes with the following rejection.
Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage


We noticed that your app requests the user’s consent to access the Location but does not clarify the use of this feature in the permission modal alert.

Please see attached screenshots for details.

Next Steps

To resolve this issue, please revise the permission modal alert to specify why the app is requesting access to the Location.

Resources

To learn more about requesting the user’s permission to access app features, visit the iOS Human Interface Guidelines. You may also want to review the Technical Q&A QA1937: Resolving the Privacy-Sensitive Data App Rejection page for details on how to provide a usage description for permission request alerts.
I'm looking for a way to describe why the app uses Location Services. Looking at the iOS configuration page in Livecode, I don't see an options other then turning off Location Services.

Has anyone run into this before. Couldn't find any post with Location Service Modal Alert search.

Thanks for the help.
dan

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: iOS Modal Alert Description

Post by LiveCode_Panos » Wed Dec 20, 2017 10:27 pm

Hi Dan,

Another user had the same issue, see http://quality.livecode.com/show_bug.cgi?id=19780

As a workaround, you have to edit the plist, and replace the standard msg "This app needs access to user's location" (or whatever it says, I do not remember exactly) with a more descriptive one.

If you have difficulties to edit the plist let me know.

Best,
Panos
--

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: iOS Modal Alert Description

Post by joel.epsteinBUS31vi » Sun Dec 31, 2017 2:55 am

Howdy -

I got a similar message - but this one was for not explaining why my app needed access to the camera.

Seems as if Apple reviewers are not being consistent in regards to this issue - never had the problem before.

I would, however, appreciate some guidance as to how to edit my app's plist.

I tried option-clicking on the app and choosing "show package contents." Doing this, I was able to access the plist and make changes (I tried two times - one time using xCode and one time using a text editor).

However, when I tried to install the app on my device, I get the message:
"The application does not have a valid signature."

I checked to make sure I used the correct development profile - and I did.

Seems like editing the plist breaks the digital signature or some such thing.

I'd be grateful for any advice for how to successfully edit the plist.

Thanks so much.

Joel

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7210
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: iOS Modal Alert Description

Post by jacque » Sun Dec 31, 2017 6:25 pm

Right, any editing of a signed app will break the signature. There are two ways to fix it.

1. Use AppResigner. It's a utility that resigns a compiled app.

2. Include a copy of the edited plist in the Copy Files pane of the standalone settings. That should replace the default plist that LC creates.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: iOS Modal Alert Description

Post by joel.epsteinBUS31vi » Sun Dec 31, 2017 9:34 pm

Thanks so much for that speedy and helpful reply -

Just what I needed.

I appreciate your help.

Joel

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm
Location: McKenna, WA

Re: iOS Modal Alert Description

Post by quailcreek » Sun Dec 31, 2017 10:24 pm

The easiest way to edit the pList is with textWrangler. It's a free app.
Tom
MacBook Pro OS Mojave 10.14

Post Reply

Return to “iOS Deployment”