FlintAppInfo

final public class FlintAppInfo

This class acts as a registry of information about your App, for Flint to use.

Primarily this is used for access to information about the custom URL schemes and universal link domains your app supports.

Note that Flint cannot currently extract your supported universal link domains as these are only stored in your entitlements file. The custom URL schemes are listed in your Info.plist so for most cases Flint can extract these.

  • Return the list of App URL schemes supported, as shown in the App’s Info.plist, merging in any specified in testURLSchemes used for unit testing.

    Declaration

    Swift

    public static var urlSchemes: [String]
  • A list of runtime-supplied URL schemes used for unit testing only

    Declaration

    Swift

    public static var testURLSchemes: [String]
  • The associatedDomains supported by the app. This must be populated by the app at runtime, as this information is not available from the entitlements file of a release app.

    Declaration

    Swift

    public static var associatedDomains: [String]
  • The NSURLActivityTypes supported by the app, as declared in Info.plist

    Declaration

    Swift

    public static var activityTypes: [String]