-
Notifications
You must be signed in to change notification settings - Fork 617
Migrate RC to depend directly on Installations SDK. #1579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Coverage ReportAffected SDKs
Test Logs
NotesHTML coverage reports can be produced locally with Head commit (aea06f22) is created by Prow via merging commits: 43f5c6d 5dcf294. |
Binary Size ReportAffected SDKs
Test Logs
NotesHead commit (aea06f22) is created by Prow via merging commits: 43f5c6d 5dcf294. |
/test smoke-tests |
firebase-config/src/main/java/com/google/firebase/remoteconfig/FirebaseRemoteConfig.java
Outdated
Show resolved
Hide resolved
firebase-config/src/main/java/com/google/firebase/remoteconfig/FirebaseRemoteConfig.java
Outdated
Show resolved
Hide resolved
firebase-config/src/main/java/com/google/firebase/remoteconfig/internal/ConfigFetchHandler.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of terminology things for you, thanks!
firebase-config/src/main/java/com/google/firebase/remoteconfig/FirebaseRemoteConfig.java
Outdated
Show resolved
Hide resolved
firebase-config/src/main/java/com/google/firebase/remoteconfig/FirebaseRemoteConfig.java
Outdated
Show resolved
Hide resolved
firebase-config/src/main/java/com/google/firebase/remoteconfig/FirebaseRemoteConfig.java
Outdated
Show resolved
Hide resolved
.../bandwagoner/src/main/java/com/googletest/firebase/remoteconfig/bandwagoner/ApiFragment.java
Show resolved
Hide resolved
.../bandwagoner/src/main/java/com/googletest/firebase/remoteconfig/bandwagoner/ApiFragment.java
Outdated
Show resolved
Hide resolved
.../bandwagoner/src/main/java/com/googletest/firebase/remoteconfig/bandwagoner/ApiFragment.java
Outdated
Show resolved
Hide resolved
|
||
Tasks.whenAllComplete(idTask, tokenTask) | ||
.addOnCompleteListener( | ||
unusedCompletedTasks -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about ignoredTasks
?
I am not sure what Android naming convention is here, but do you also use the underscore "_
" prefix?
_ignoredTasks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure there's a real convention in Android or Java, but we use "unused" consistently as a prefix in Remote Config at least, so I'd lean towards keeping it.
.../bandwagoner/src/main/java/com/googletest/firebase/remoteconfig/bandwagoner/ApiFragment.java
Outdated
Show resolved
Hide resolved
firebase-config/src/main/java/com/google/firebase/remoteconfig/internal/ConfigFetchHandler.java
Outdated
Show resolved
Hide resolved
return fetchFromBackendAndCacheResponse( | ||
installationId, installationToken, currentTime); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know we already talked about this, but I strongly recommend to only upload the FIS auth token, because the auth token contains all the information needed on server side, particularly the FID.
Thus, uploading both values is redundancy and might lead to inconsistencies on server side.
As far as I understood our conversations, you are planning to get rid of uploading the FID in the future, but want to upload it for now to keep the current processes consistent.
That is absolutely fine. I just wanted to mention it again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for calling it out!
firebase-config/src/main/java/com/google/firebase/remoteconfig/internal/ConfigFetchHandler.java
Show resolved
Hide resolved
firebase-config/src/test/java/com/google/firebase/remoteconfig/FirebaseRemoteConfigTest.java
Outdated
Show resolved
Hide resolved
...e-config/src/test/java/com/google/firebase/remoteconfig/internal/ConfigFetchHandlerTest.java
Outdated
Show resolved
Hide resolved
/test smoke-tests |
No description provided.