Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

CocoaPods

PersonaClick SDK is available through CocoaPods. To install it, simply add the following line to your Podfile:

Code Block
languagejs
themeFadeToGrey
pod 'PersonaClick'

Swift Package Manager

If you are using Xcode 11 or later:

  1. Click: File > Swift Packages > Add Package Dependency...
  2. Specify the git URL for PersonaClick SDK repo.
Code Block
languagejstext
themeFadeToGrey
https://github.com/PersonaClick/ios-sdk.git
Initialization parameters



Column
Name

Page Navigation

Type

Table of Contents

Requirement

maxLevel

Description

2

store_key

indent

string

Example of use

Code Block
languagejs
themeFadeToGrey
personaclick("init", "c6d2fe5fdca0c8e51d10b07523bc07", function() {
    // Do something in case of successful initialization
    console.log("The PersonaClick initialization was successful");
}, function() {
    // Do something in case of unsuccessful initialization
    console.log("The PersonaClick initialization was unsuccessful");
});
Table of ContentsmaxLevel2classpersonaclick-fixed-position

0px

requiredThe current store key from the PersonaClick account.successfunctionoptionallyThe function will be executed after successful initialization.errorfunctionoptionallyThe function will be executed after unsuccessful initialization (any Personaclick API response other than 200).

stylenone




Related Pages

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
cqllabel = "installation_mobile"