-
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
FirebaseMessaging: NSUserDefaults
replaced by GULUserDefaults
#2443
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.
You'll also need to add it as a dependency in the Podspec:
s.dependency 'GoogleUtilities/Environment', '~> 5.2' |
@@ -23,6 +23,7 @@ | |||
#import "FIRMessagingPendingTopicsList.h" | |||
#import "FIRMessagingUtilities.h" | |||
#import "FIRMessaging_Private.h" | |||
#import <GoogleUtilities/GULUserDefaults.h> |
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.
Nit: we use a different import style, it should be handled if you run the style script with ./scripts/style.sh
in the root of the repo.
@ryanwilson Should I use the same version as for other |
@maksymmalyhin great question, looks like we'll need to update to |
…es. `GoogleUtilities` dependencies version updated to `~> 5.3`
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, good to merge on @chliangGoogle's approval.
This is a fix for #1919:
NSUserDefaults
replaced byGULUserDefaults
inFirebaseMessaging