*iOS 13 Permissions Wizard

Integration needed

New call

Implemented new class RPPermissionsWizard. Please, call it instance by returnInstance and use launchWithFinish for Objective-c or launch for Swift method with callback.

Objective-c:

[[RPPermissionsWizard returnInstance] launchWithFinish:^(BOOL showWizzard) {
}];

Swift:

RPPermissionsWizard.returnInstance().launch(finish: { showWizzard in
})

Add all setup call of RaxelPulse SDK to callback method

Objective-c:

[[RPPermissionsWizard returnInstance] launchWithFinish:^(BOOL showWizzard)
 {        [RPEntry initializeWithRequestingPermissions:YES];
        [RPEntry instance].virtualDeviceToken = @"_____";
        .... etc
    }];

Swift:

Add Push Notifications call to this call back after init of RaxelPulse

Objective-c:

Swift:

or you can use RPPermissionsWizard handlers

Objective-c:

Swift:

Required Permissions Granted

Added isAllRequiredPermissionsGranted property for get state of SDK permissions needed. Objective-c:

Swift:

Permissions Wizard Customisation

If you not changed next property Wizard used default values from itself.

Implemented new class RPSettings. Please, call it instance by returnInstance and use property:

wizardBgColor - background color of screen view

wizardMaintextColor - main text color

wizardAlertTextColor - main text color in example alert

wizardAlertButtonColor - button text color in alert

wizardAlertActiveButtonColor - active button text color in alert

wizardAlertActiveButtonBgColor - active button background color in alert

wizardAlertCorners - alert corner radius in CGFloat

Default Values:

.White

.Dark worked only when you not customising following alert colors:

wizardAlertBackgroundColor wizardAlertTextColor wizardAlertActiveButtonBgColor

.Dark style used next Default:

How to use Settings:

Objective-c:

Swift:

Custom text on Wizard pages:

Objective-c:

Swift:

Last updated

Was this helpful?