Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FirebaseDynamicLinks

import { FirebaseDynamicLinks } from "https://googleapis.deno.dev/v1/firebasedynamiclinks:v1.ts";

Programmatically creates and manages Firebase Dynamic Links.

class FirebaseDynamicLinks {
constructor(client?: CredentialsClient, baseUrl?: string);
async managedShortLinksCreate(req: CreateManagedShortLinkRequest): Promise<CreateManagedShortLinkResponse>;
async shortLinksCreate(req: CreateShortDynamicLinkRequest): Promise<CreateShortDynamicLinkResponse>;
async v1GetLinkStats(dynamicLink: string, opts?: V1GetLinkStatsOptions): Promise<DynamicLinkStats>;
async v1ReopenAttribution(req: GetIosReopenAttributionRequest): Promise<GetIosReopenAttributionResponse>;
}

§Constructors

§
new FirebaseDynamicLinks(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§

Creates a managed short Dynamic Link given either a valid long Dynamic Link or details such as Dynamic Link domain, Android and iOS app information. The created short Dynamic Link will not expire. This differs from CreateShortDynamicLink in the following ways: - The request will also contain a name for the link (non unique name for the front end). - The response must be authenticated with an auth token (generated with the admin service account). - The link will appear in the FDL list of links in the console front end. The Dynamic Link domain in the request must be owned by requester's Firebase project.

§

Creates a short Dynamic Link given either a valid long Dynamic Link or details such as Dynamic Link domain, Android and iOS app information. The created short Dynamic Link will not expire. Repeated calls with the same long Dynamic Link or Dynamic Link information will produce the same short Dynamic Link. The Dynamic Link domain in the request must be owned by requester's Firebase project.

§
v1GetLinkStats(dynamicLink: string, opts?: V1GetLinkStatsOptions): Promise<DynamicLinkStats>
[src]

Fetches analytics stats of a short Dynamic Link for a given duration. Metrics include number of clicks, redirects, installs, app first opens, and app reopens.

@param dynamicLink

Dynamic Link URL. e.g. https://abcd.app.goo.gl/wxyz

§

Get iOS strong/weak-match info for post-install attribution.

§

Get iOS reopen attribution for app universal link open deeplinking.