AppsFlyerShareInviteHelper

Overview

The AppsFlyerShareInviteHelper class provides a structured way to construct user-invite URLs for various scenarios.

Go back to the SDK reference index.

Methods

generateInviteUrl

Method signature

(void)generateInviteUrlWithLinkGenerator:(AppsFlyerLinkGenerator *(^)(AppsFlyerLinkGenerator *generator))generatorCreator completionHandler:(void (^)(NSURL *_Nullable url))completionHandler;

Description
Generates a OneLink URL.

Input arguments

TypeNameDescription
AppsFlyerLinkGeneratorgenerator
(void (^)(NSURL *_Nullable url))completionHandlerOptional. If provided, the SDK will attempt to generate a short link using the OneLink API.

Returns
void.

logInvite

Method signature

(void)logInvite:(nullable NSString *)channel parameters:(nullable NSDictionary *)parameters;

Description
Use to log a user-invite in-app event (af_invite).

Input arguments

Returns
void.