Migrate your JavaScript App from Digits to Firebase

If you use Digits to sign in users with their phone numbers, you should migrate your app to Firebase Authentication. All future development of the phone number sign-in feature will happen in Firebase, and on September 30, 2017 Digits will be shut down.


To migrate your app from Digits to Firebase Authentication, complete these steps:

  1. Migrate your Digits user accounts to Firebase
  2. Replace the Digits SDK with the Firebase SDK

The first step can be completed immediately without affecting your app or existing users; the remaining steps should be completed at the same time.

Migrate your Digits user accounts to Firebase

First, migrate your Digits user accounts to Firebase as described in the Fabric developer docs.

Note that if you have only a Digits web app, and no Android or iOS app, you must create placeholder mobile apps in your Digits and Firebase projects before you can link accounts.

After you complete the account migration steps, wait a few hours for your Digits user accounts to be moved to your Firebase project. When migration completes, you will have a Firebase project that contains all of your Digits user accounts. In addition, any Digits accounts created after enabling migration will be automatically migrated to Firebase.

Replace the Digits SDK with the Firebase SDK

Next, in your app, replace the calls to the Digits SDK with calls to the Firebase SDK.

You can include Firebase Authentication in your app in two ways:

  • Use the FirebaseUI library's drop-in sign-in widget. FirebaseUI has pre-built sign-in flows for phone number sign-in, as well as password-based and federated sign-in.
  • Use the Firebase SDK to implement the phone number sign-in flow.

After you have Firebase Authentication working, remove the Digits for Web SDK from your app.

Send feedback about...

Need help? Visit our support page.