Powens Connect iOS
Learn how to integrate our UI iOS SDK with your app.
Last updated
Was this helpful?
Learn how to integrate our UI iOS SDK with your app.
Last updated
Was this helpful?
The Powens Connect SDK allows you to quickly and easily implement aggregation journeys and connect with Powens APIs in your iOS app.
If you haven’t already, install the latest version of .
If you don’t have an existing , run the following command to create one at the root of your Xcode project:
Add this line to your Podfile:
Run the following command:
From now on you will use the .xcworkspace
file to open your Xcode project instead of the .xcodeproj
file.
To update to the latest version of the SDK in the future, run:
Download and unzip this Github project.
Drag PowensConnect.xcframework to the Frameworks, Libraries and Embedded Content section of the General settings in your Xcode project. Make sure to select Copy items if needed.
Repeat the above steps in the future to update to the latest version of the SDK.
Right-click your Info.plist
file and choose Open as > Source Code.
Paste the following into the body of your file (within <dict>…</dict>
) to configure your Powens domain.
Replace YOUR_DOMAIN with your actual Powens domain, without the .biapi.pro
extension.
Paste the following into the body of your file (within <dict>…</dict>
) to configure the Powens Connect dedicated URL scheme.
If you already have custom URL schemes, simply paste the additional CFBundleURLSchemes
to your CFBundleURLTypes
array.
Register for Powens Webview callback notifications from the view controller you wish to present the Powens Webview from.
Handle the data received from the app callback URL.
Replace CLIENT_ID with your client application ID. You can find your client applications IDs in the , under Applications within your domain.
Open the desired Webview flow among Connect, Manage & Reconnect. Visit our for more information about the Webview flows and their usage.
Please refer to the from this repository for a complete example of the PowensConnect SDK usage.
The Powens Connect SDK is available under the LGPLv3 license. See the file for more information.