question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migrate Firebase SDKs from protobuf-lite to protobuf-javalite

See original GitHub issue

Now that gRPC migrated to protobuf-javalite in grpc-java 1.26, it’s possible for Firebase SDKs to also migrate to protobuf-javalite.

We’ll need to upgrade all SDKs at once because protobuf-lite and protobuf-javalite cannot coexist.

Firestore’s upgrade is tracked internally as b/147754660.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:15
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
YuriDenisoncommented, Apr 27, 2020

Please migrate firebase-config also to javalite.

5reactions
rlazocommented, Jun 13, 2020

Hey Folks,

We are in the process of moving out SDKs over to the newer version of the lite runtime. Given the variables involved, we wanted to share an early preview and get the community’s help to determine if they work.

Please try these alpha versions (protolite-m2repository.zip) out and write back to us

implementation 'com.google.firebase:firebase-abt:19.1.0-alpha'
implementation 'com.google.firebase:firebase-config:19.2.0-alpha'
implementation 'com.google.firebase:firebase-firestore:21.5.0-alpha'
implementation 'com.google.firebase:firebase-inappmessaging:19.1.0-alpha'
implementation 'com.google.firebase:firebase-inappmessaging-display:19.1.0-alpha'

We strongly recommend that you do not ship these to prod until we have critical mass on their stability.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updated firebase dependency and got duplicated protobuf ...
Recently, Firebase Android has migrated from depending on the old protobuf-lite to depend on protobuf-javalite (github issue | PR ...
Read more >
Protobuf-java and Protobuf-javalite - Google Groups
We have an android app that we're attempting to use Firebase in, but a dependency we use ... implementation.exclude module:'protobuf-lite'
Read more >
Updated firebase dependency and got duplicated protobuf ...
I'm getting this error after updating one of my firebase SDKs ... My app now depends on protobuf-lite and protobuf-javalite , which triggers ......
Read more >
Updated SDK to support integration with other third-party ...
Protobuf-javalite migration. In this version, we are going to change the library from protobuf-lite to protobuf-javalite.
Read more >
Working with Proto DataStore - Android Developers
Migrate the sort order from SharedPreferences to DataStore. We recommend working through the Preferences DataStore codelab too, so you better understand the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found