How many advanced AppClip URL's are we allowed to configure

How many advanced AppClip experiences are we allowed to configure for an app ?

We want to be able to display different images, titles & subtitles for different clients. Thus we want different invocation dialogs to display that are not dependant on location services being enabled on the device.

The nature of our application also will in most cases present the wrong information if using location services because of the close proximity of all the different experiences. So using the Advanced AppClip Location based experiences isn't really an ideal solution for us.
Answered by liazkam in 639571022
Hi Ian,

According to Apple documentation the simple answer is: no.

If you scroll down to the code snippet in the link above you'll find this code, which catches the option of location services not enabled:

Code Block swift
if confirmationError.code == .doesNotMatch {
// The scanned URL wasn't registered for the App Clip.
} else {
// The user denied location access, or the source of the
// App Clip’s invocation wasn’t an NFC tag or visual code.
}


Good luck

Something basic to understand - App Clips are totally not dependant on location services.
More than that - an App Clip doesn't have access to the device location.
The App Clip CANNOT ask 'where am I?'.
The App Clip CAN ask 'Am I at this location?' - just to make sure the QR code for the Boston branch is indeed scanned in Boston.

The experiences are not triggered by location - the only location base for the experiences is a location set in Apple Maps. As you as can spread locations in the Apple Maps for your customers, all of their experiences will show up.

Let me know if this is what you meant.

Thanks
Thanks for clarifying liazkam.

How can an AppClip verify the location if the user has disabled Location Services on their device ? By this I mean universally disabling Location Services by going to Settings > Privacy > Location Services and then toggling it off.

In this scenario, I'm assuming an AppClip won't even be able to "verify" the current location of the device as you stated. Do I understand it correctly ?

What it essentially boils down to is "How do I (if I can) present/configure location based AppClip experiences, for users who don't have Location Services universally enabled on their device ?"

Or to phrase it differently, "Does asking 'Am I at this location' return a reliable & trustworthy result if Location Services is disabled on the device ?"
Accepted Answer
Hi Ian,

According to Apple documentation the simple answer is: no.

If you scroll down to the code snippet in the link above you'll find this code, which catches the option of location services not enabled:

Code Block swift
if confirmationError.code == .doesNotMatch {
// The scanned URL wasn't registered for the App Clip.
} else {
// The user denied location access, or the source of the
// App Clip’s invocation wasn’t an NFC tag or visual code.
}


Good luck

How many advanced AppClip URL's are we allowed to configure
 
 
Q