firebase-import icon indicating copy to clipboard operation
firebase-import copied to clipboard

serviceAccount deprecated warning - status of updates to firebase-import

Open philshem opened this issue 7 years ago • 2 comments

I run the following command:

firebase-import --database_url https://my_db.firebaseio.com --path / --json data.json --service_account auth.json

and get back a deprecation message about serviceAccount

The 'serviceAccount' property specified in the first argument to initializeApp() is deprecated and will be removed in the next major version. You should instead use the 'firebase-admin' package. See https://firebase.google.com/docs/admin/setup for details on how to get started.

Will firebase-import be updated to reflect this change? (Or should I start migrating my code away from this package?

I am using 2.1.0

philshem avatar Jun 27 '18 07:06 philshem

It should be possible to update it to use firebase-admin, but I don't have cycles to spend on it right now. I'd happily accept a PR if somebody is interested though.

mikelehen avatar Jun 27 '18 13:06 mikelehen

Included in pull 40 https://github.com/firebase/firebase-import/pull/40

siege-nnn avatar Aug 11 '18 00:08 siege-nnn