Learn how to use our client side Apple SDK.
dispatchSignals
function before displaying the phone number verification screen in your application. This way you can ensure that the device signals are captured and the dispatchID
can be sent to your back-end with the phone number. Your back-end will then perform the verification call to Prelude with the phone number and the dispatch identifier.
prelude-apple-sdk/sdk
.Package.swift
file and copy the url for the Core sdk defined in the binary target (similar to https://prelude-public.s3.amazonaws.com/sdk/releases/apple/core/X.X.X/PreludeCore-X.X.X.xcframework.zip
).prelude-apple-sdk/sdk/core
). You should have a single subdirectory PreludeCore.xcframework
under prelude-apple-sdk/core
Package.swift
file.podspec
file in the root of the prelude-apple-sdk
directory with the following content:.podspec
file into your project and run normally.
With these steps you should have a working version of the SDK in your project.