Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/firebase_auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.14.0+2

* Reduce compiler warnings on iOS port by replacing `int` with `long` backing in returned timestamps.

## 0.14.0+1

* Add dependency on `androidx.annotation:annotation:1.0.0`.
Expand Down
7 changes: 4 additions & 3 deletions packages/firebase_auth/ios/Classes/FirebaseAuthPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,10 @@ - (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result
tokenData = [[NSMutableDictionary alloc] initWithDictionary:@{
@"token" : tokenResult.token,
@"expirationTimestamp" :
[NSNumber numberWithInt:expirationTimestamp],
@"authTimestamp" : [NSNumber numberWithInt:authTimestamp],
@"issuedAtTimestamp" : [NSNumber numberWithInt:issuedAtTimestamp],
[NSNumber numberWithLong:expirationTimestamp],
@"authTimestamp" : [NSNumber numberWithLong:authTimestamp],
@"issuedAtTimestamp" :
[NSNumber numberWithLong:issuedAtTimestamp],
@"claims" : tokenResult.claims,
}];

Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Flutter plugin for Firebase Auth, enabling Android and iOS
like Google, Facebook and Twitter.
author: Flutter Team <[email protected]>
homepage: https://github.com/flutter/plugins/tree/master/packages/firebase_auth
version: 0.14.0+1
version: 0.14.0+2

flutter:
plugin:
Expand Down