-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Prevent Messaging and IID singleton usage during tests. #2250
Conversation
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.
This means we can get rid of instanceIDForTest, right?
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 until making similar changes in RemoteConfig and Analytics
cc: @htcgh |
|
||
/// Starts fetching and configuration of InstanceID. This is necessary after the `initPrivately` | ||
/// call. | ||
- (void)start; |
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 will see if can put start inside initPrivately so most team can just call initPrivately only.
Yeah will do for both config and analytics |
Update: I plan on getting back to this this week, removing the |
Once Travis is green again this should be ready for re-review. |
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.
LGTM
@chliangGoogle just wanted to confirm, are you good with these changes going in now? |
Yes! LGTM |
No description provided.