Skip to content

Commit

Permalink
test: Add test case to verify installTime serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
dharambudh1 committed Feb 5, 2025
1 parent dc06d3c commit cd8fcd1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>12.0</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1300;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
331C8080294A63A400263BE5 = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1300"
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ void main() {
'packageName': 'io.flutter.plugins.mockpackageinfoexample',
'version': '1.1',
'buildNumber': '2',
'installTime': now,
'installTime': now.toIso8601String(),
});

final nextWeek = now.add(const Duration(days: 7));
Expand All @@ -176,7 +176,7 @@ void main() {
'buildNumber': '2',
'buildSignature': 'deadbeef',
'installerStore': 'testflight',
'installTime': nextWeek,
'installTime': nextWeek.toIso8601String(),
});
});
}

0 comments on commit cd8fcd1

Please sign in to comment.