|
1 | 1 | # PACE Cloud SDK |
2 | | -This framework combines multipe functionalities provided by PACE i.e. authorizing via **PACE ID** or requesting and displaying **Apps**. These functionalities are separated and structured into different ***Kits*** by namespacing as follows: |
3 | 2 |
|
4 | | -- [IDKit](#idkit) |
5 | | -- [AppKit](#appkit) |
| 3 | +This framework combines multipe functionalities provided by PACE i.e. authorizing via **PACE ID** or requesting and displaying **Apps**. These functionalities are separated and structured into different ***Kits*** by namespaces, i.e. [IDKit](#idkit), [AppKit](#appkit). |
| 4 | + |
| 5 | +- [PACE Cloud SDK](#pace-cloud-sdk) |
| 6 | + * [Specifications](#specifications) |
| 7 | + * [Setup](#setup) |
| 8 | + + [Carthage](#carthage) |
| 9 | + + [Cocoapods](#cocoapods) |
| 10 | + + [Swift Package Manager](#swift-package-manager) |
| 11 | + * [IDKit](#idkit) |
| 12 | + + [Setup](#setup-1) |
| 13 | + + [Authorization](#authorization) |
| 14 | + + [Token refresh](#token-refresh) |
| 15 | + + [Session refreshToken](#session-refreshtoken) |
| 16 | + * [AppKit](#appkit) |
| 17 | + + [Main Features](#main-features) |
| 18 | + + [Setup](#setup-2) |
| 19 | + + [Native login](#native-login) |
| 20 | + + [Deep Linking](#deep-linking) |
| 21 | + + [AppKitDelegate](#appkitdelegate) |
| 22 | + + [Requesting local Apps](#requesting-local-apps) |
| 23 | + + [Is POI in range?](#is-poi-in-range-) |
| 24 | + + [AppWebView / AppViewController](#appwebview---appviewcontroller) |
| 25 | + + [AppDrawerContainer](#appdrawercontainer) |
| 26 | + + [AppDrawer](#appdrawer) |
| 27 | + + [AppError](#apperror) |
| 28 | + * [FAQ](#faq) |
6 | 29 |
|
7 | 30 | ## Specifications |
8 | 31 | **PACECloudSDK** currently supports iOS 11 and above. |
@@ -100,6 +123,8 @@ Available parameters: |
100 | 123 | configValues: [ConfigValue: Any]? // Default: nil |
101 | 124 | ``` |
102 | 125 |
|
| 126 | +Biometry is used for 2FA during the payment process, thus make sure that `NSFaceIDUsageDescription` is correctly set in your target properties. |
| 127 | + |
103 | 128 | ### Native login |
104 | 129 | You can use *AppKit* with your native login (given that your token has the necessary scopes) as well. In case of a native login, |
105 | 130 | it is crucial that you set the configuration during setup accordingly, i.e. setting the `authenticationMode` to `.native`, |
@@ -204,3 +229,13 @@ Possible errors: |
204 | 229 | - `badRequest`: The request does not match the expected format |
205 | 230 | - `invalidURNFormat`: The passed POI reference value does not conform to our URN format |
206 | 231 | - `customURLSchemeNotSet`: The App tried to open an URL in `SFSafariViewController`, but deep linking has not been correctly configured |
| 232 | + |
| 233 | +## FAQ |
| 234 | + |
| 235 | +<details> |
| 236 | + <summary> |
| 237 | + Error "Failed to build module 'PACECloudSDK' from its module interface; the compiler that produced it may have used features that aren't supported by this compiler" |
| 238 | + </summary> |
| 239 | + |
| 240 | + Make sure that all dependencies mentioned in [specifications](#specifications) have been included and set to `Embed & Sign`. |
| 241 | +</details> |
0 commit comments