FIRDynamicLinkComponents


@interface FIRDynamicLinkComponents : NSObject

The class used for Dynamic Link URL generation; supports creation of short and long Dynamic Link URLs. Short URLs will have a domain and a randomized path; long URLs will have a domain and a query that contains all of the Dynamic Link parameters.

  • Applies Analytics parameters to a generated Dynamic Link URL.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable)
        FIRDynamicLinkGoogleAnalyticsParameters *analyticsParameters;
  • Applies Social Meta Tag parameters to a generated Dynamic Link URL.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable)
        FIRDynamicLinkSocialMetaTagParameters *socialMetaTagParameters;
  • Applies iOS parameters to a generated Dynamic Link URL.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable)
        FIRDynamicLinkIOSParameters *iOSParameters;
  • Applies iTunes Connect parameters to a generated Dynamic Link URL.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable)
        FIRDynamicLinkItunesConnectAnalyticsParameters *iTunesConnectParameters;
  • Applies Android parameters to a generated Dynamic Link URL.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable)
        FIRDynamicLinkAndroidParameters *androidParameters;
  • Applies Navigation Info parameters to a generated Dynamic Link URL.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable)
        FIRDynamicLinkNavigationInfoParameters *navigationInfoParameters;
  • Applies Other platform parameters to a generated Dynamic Link URL.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable)
        FIRDynamicLinkOtherPlatformParameters *otherPlatformParameters;
  • Defines behavior for generating Dynamic Link URLs.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable)
        FIRDynamicLinkComponentsOptions *options;
  • The link the target app will open. You can specify any URL the app can handle, such as a link to the app’s content, or a URL that initiates some app-specific logic such as crediting the user with a coupon, or displaying a specific welcome screen. This link must be a well-formatted URL, be properly URL-encoded, and use the HTTP or HTTPS scheme.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSURL *_Nonnull link;
  • The Firebase project’s Dynamic Links domain. You can find this value in the Dynamic Links section of the Firebase console. https://console.firebase.google.com/

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *domain;
  • url

    A generated long Dynamic Link URL.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSURL *url;
  • Generates a Dynamic Link URL components object with the minimum necessary parameters set to generate a fully-functional Dynamic Link.

    Declaration

    Objective-C

    + (nullable instancetype)componentsWithLink:(nonnull NSURL *)link
                                domainURIPrefix:(nonnull NSString *)domainURIPrefix