This App shows an example integration of the Passbase iOS SDK into an App. Before your try to run the App please sign up on our developer platform and use your own publishabe API key, which you can find in the API settings section.
Please follow our integration guide in our official developer documentation to install all dependencies first in a correct way.
Ensure that you are using the latest XCode with Swift 5.1 support and that you also have Cocoapods installed.
cd
into the project and runpod install
to install the Passbase SDK and dependencies- Open the the file
Passbase Demo App.xcworkspace
- Go into the
Appdelegate.swift
file and exchangeYOUR_PUBLISHABLE_API_KEY
with your own API key in line 19. - Select a device and build & run the App (You might have to adjust the App's signing to your own)
The sample App has both the Storyboard integration, as well as programmatic approach commented out.