FIRDynamicLinkAndroidParameters


@interface FIRDynamicLinkAndroidParameters : NSObject

The Dynamic Link Android parameters.

  • The Android app’s package name.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *packageName;
  • The link to open when the app isn’t installed. Specify this to do something other than install the app from the Play Store when the app isn’t installed, such as open the mobile web version of the content, or display a promotional page for the app.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) NSURL *fallbackURL;
  • The version code of the minimum version of your app that can open the link. If the

    • installed app is an older version, the user is taken to the Play Store to upgrade the app.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger minimumVersion;
  • A method for creating the Android parameters object.

    Declaration

    Objective-C

    + (nonnull instancetype)parametersWithPackageName:
        (nonnull NSString *)packageName;

    Parameters

    packageName

    The Android app’s package name.

    Return Value

    Returns an object to be used with FIRDynamicLinkURLComponents to add Android parameters to a generated Dynamic Link URL.

  • A method for creating the Android parameters object.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPackageName:(nonnull NSString *)packageName;

    Parameters

    packageName

    The Android app’s package name.

    Return Value

    Returns an object to be used with FIRDynamicLinkURLComponents to add Android parameters to a generated Dynamic Link URL.