3

My motorcycle GPS is connected to an App that must allow location services to “Always” to work correctly (“While using the app” does not work).

As I’d like to turn the location services off when I’m not riding, The path would be the following: Settings->Motorcycle App->Location->Always (or “Never” when I stop using my bike).

Is there any way I can quickly access the setting with a shortcut?

0

1 Answer 1

2

I needed to do this for the State Farm Drive Safe & Save app - for me the URL was

prefs:root=Privacy&path=LOCATION/com.statefarm.DriveSafeAndSave

Open Shortcuts App / + / Add Action / Web / URL / input prefs:root=Privacy&path=LOCATION/com.statefarm.DriveSafeAndSave / Add Action / Open URLs

For other apps, the URL follows the format:

prefs:root=Privacy&path=LOCATION/bundle.id.here

Please, note, it is better to add two actions - one with the URL value and the other to open it, as seen on the screenshot:

"URL" and "Open URLs" actions

as with the single one filled with the URL value directly, the shortcut redirected me to Safari, looking for the bundle id on the web.

And you can find the bundle ID of your specific app like this:

  1. Google the App name with a Desktop browser and open the apps.apple.com store link - in my case this was
https://apps.apple.com/us/app/drive-safe-save/id1043246998
  1. Extract the number after 'id' in the URL - 1043246998 in this case
  2. Create a new link a new link by adding your id number and country to this:
https://itunes.apple.com/lookup?id=??&country=??

example:

https://itunes.apple.com/lookup?id=1043246998&country=us
  1. open a new browser tab and go to your created link - this will prompt you to download a text file (probably named 1.txt) - do so and open it in a text editor such as Notepad or TextEdit
  2. Search for the bundleId entry - here's an example for the bundle ID for the Yahoo News App, which is com.yahoo.frontpage Example bundleID for Yahoo News App

Instructions for finding the bundle ID are from this site, which also describes another method if you happen to have the app's .ipa file.

How to Find Bundle ID of an iOS app ? Step by Step

Here's where I found the URL - It has useful URLs for other settings, too: An updated list of Settings URLs

2
  • You should edit and include the steps to finding the Bundle ID in your answer, otherwise this is a bit of a link only answer, w.r.t. that part. Aug 2, 2022 at 22:02
  • @Greenonline better? I couldn't figure out how to indent within the numbered list, but at least I know how to make those greyed out squares for the URL's now Aug 5, 2022 at 17:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .