File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
FirebaseMessaging/Sources/Token Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ FOUNDATION_EXPORT NSString *const kFIRMessagingDeviceDataVersionKey;
44
44
* gService data.
45
45
*
46
46
* @param existingCheckin An existing checkin preference object, if available.
47
- * @param completion Completion hander called on success or failure of device checkin.
47
+ * @param completion Completion handler called on success or failure of device checkin.
48
48
*/
49
49
- (void )checkinWithExistingCheckin : (nullable FIRMessagingCheckinPreferences *)existingCheckin
50
50
completion :
Original file line number Diff line number Diff line change 26
26
* created from a dictionary. The same keys are used
27
27
* when decoding/encoding an archive.
28
28
*/
29
- // / Specifies a dictonary key whose value represents the authorized entity, or
29
+ // / Specifies a dictionary key whose value represents the authorized entity, or
30
30
// / Sender ID for the token.
31
31
static NSString *const kFIRInstanceIDAuthorizedEntityKey = @" authorized_entity" ;
32
32
// / Specifies a dictionary key whose value represents the scope of the token,
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ - (void)fetchNewTokenWithAuthorizedEntity:(NSString *)authorizedEntity
333
333
handler: ^(NSError *error) {
334
334
if (!error) {
335
335
// Do not send the token back in case the save was unsuccessful. Since with
336
- // the new asychronous fetch mechanism this can lead to infinite loops, for
336
+ // the new asynchronous fetch mechanism this can lead to infinite loops, for
337
337
// example, we will return a valid token even though we weren't able to store
338
338
// it in our cache. The first token will lead to a onTokenRefresh callback
339
339
// wherein the user again calls `getToken` but since we weren't able to save
You can’t perform that action at this time.
0 commit comments