This guide is designed to help developers migrate from using the Google URL Shortener to Firebase Dynamic Links for shortening links. For more background about why Firebase Dynamic Links is replacing Google URL Shortener, check out the blog post.
Short links created using Firebase Dynamic Links, unlike links created with URL Shortener, contain a brief string that represents the iOS or Android app that could be used to open the link. For example:
|URL Shortener||Firebase Dynamic Links|
To create short links with Firebase Dynamic Links:
If you don't already have a Firebase project, create a new project or import a Google Cloud Platform project in the Firebase console.
If you want your short link to open in your app on iOS and Android, and for the link to work across app installation, add your iOS and Android apps to your Firebase project from the Project Overview page of the Firebase console, then see the Dynamic Links developer guides.
If you only want to create short links for web URLs, create a placeholder iOS app in your Firebase project from the Project Overview page of the Firebase console. (Specify any value for the bundle ID and skip the subsequent steps).
Create new Dynamic Links either from the Dynamic Links section of the Firebase console, or by using the REST API.