nawerworking.blogg.se

Whatsapp ios sdk
Whatsapp ios sdk






  1. #Whatsapp ios sdk install
  2. #Whatsapp ios sdk code

  • withApiKey: You need to pass a generated API Key for starting the SDK flow.
  • This is an object that must conform to the protocol TDIClientDelegate (check out result handling for more info).
  • clientDelegate: A delegate that will be in charge of listening for the result (either success or errors) from the SDK.
  • fromViewController: The view controller that is starting the process, it can be the component where this function is called (a.k.a self), for instance.
  • there are three important params to take into account: To start our SDK you need to use the shared instance of TDIClient.

    #Whatsapp ios sdk code

    Start the SDKįirst, start the SDK in your code by using our core package, for example: import TruoraCore This allows the client app to compile the SDK successfully regardless of the Swift version. We also require that for all common dependencies between the SDK and the client app (in the example above, marked as truora_dependencies), the flag BUILD_LIBRARY_FOR_DISTRIBUTION is set to YES. TruoraDocument (OPTIONAL): Package used when identity flow includes document validation, which contains the instructions, camera and image manipulation of the document photos.Without this package you can’t start the SDK for your DI flow. TruoraCore (REQUIRED): Package for managing core functionalities of the SDK, including UI, API communication, errors and the identity process.You must specify the version using semantic versioning (e.g., 0.0.1).Ĭurrently, we support the following packages: Target.build_configurations.each do |config|Ĭonfig.build_settings = 'YES' If truora_dependencies.include? target.name

    #Whatsapp ios sdk install

    # Only include this post install hook if these dependencies are used on your app

    whatsapp ios sdk

    # Comment the next line if you don't want to use dynamic frameworks In your Podfile add the necessaries pods from the DI SDK to start the project, for example: target '' do

  • 30003: "The temporary api key has expired.
  • whatsapp ios sdk

  • 30002: "Face not detected in document.
  • 20015: “This flow is not available at the moment”.
  • 20011: "Camera permission denied, process cannot continue".
  • 20008: "Validation failed due to system error".
  • whatsapp ios sdk

    20003: "Identity process has no next actions".Our iOS DI SDK reports errors using a numeric code and a message.








    Whatsapp ios sdk