This example iOS app demonstrates the basic integration of the Passage SDK in a Swift iOS application. Before implementing the Passage iOS SDK in your own app, it may be most helpful to get this example app up and running with your own Passage credentials.
- iOS 14+
- Xcode 14 +
- An Apple Developer account and Team
- A Passage account and app
- A public
apple-app-site-association
file hosted with your website
- Modify the
webcredentials
andapplinks
Associated Domains domains to match the domain where yourapple-app-site-association
file is hosted - Select your development team
- Modify the bundle id, if needed
NOTE: Your selected development team and bundle id MUST correspond with the application id you provide in your site’s apple-app-site-association
file. Learn more about setting up this file here.
- Add key
appId
with the value of your Passage app id - Add key
authOrigin
with the value of your Passage app auth origin url
If all of the configuration was setup correctly, you should be able to run this application in the simulator or on a real device through Xcode!