Skip to content

Commit

Permalink
Merge pull request #12 from TheanYeeSin/updateTimezone
Browse files Browse the repository at this point in the history
Update the timezone according to the device
  • Loading branch information
TheanYeeSin committed Sep 2, 2023
2 parents 38731d4 + ab86911 commit 2f3fefd
Show file tree
Hide file tree
Showing 186 changed files with 832 additions and 262 deletions.
2 changes: 2 additions & 0 deletions .dart_tool/dartpad/web_plugin_registrant.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import 'package:file_picker/_internal/file_picker_web.dart';
import 'package:flutter_image_compress_web/flutter_image_compress_web.dart';
import 'package:flutter_timezone/flutter_timezone_web.dart';
import 'package:image_picker_for_web/image_picker_for_web.dart';
import 'package:shared_preferences_web/shared_preferences_web.dart';
import 'package:url_launcher_web/url_launcher_web.dart';
Expand All @@ -17,6 +18,7 @@ void registerPlugins([final Registrar? pluginRegistrar]) {
final Registrar registrar = pluginRegistrar ?? webPluginRegistrar;
FilePickerWeb.registerWith(registrar);
FlutterImageCompressWeb.registerWith(registrar);
FlutterTimezonePlugin.registerWith(registrar);
ImagePickerPlugin.registerWith(registrar);
SharedPreferencesPlugin.registerWith(registrar);
UrlLauncherPlugin.registerWith(registrar);
Expand Down

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .dart_tool/package_config.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .dart_tool/package_config_subset
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ flutter_rating_bar
2.14
file:///C:/Users/Thean%20Yee%20Sin/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_rating_bar-4.0.1/
file:///C:/Users/Thean%20Yee%20Sin/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_rating_bar-4.0.1/lib/
flutter_timezone
2.12
file:///C:/Users/Thean%20Yee%20Sin/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_timezone-1.0.7/
file:///C:/Users/Thean%20Yee%20Sin/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_timezone-1.0.7/lib/
google_fonts
2.14
file:///C:/Users/Thean%20Yee%20Sin/AppData/Local/Pub/Cache/hosted/pub.dev/google_fonts-5.1.0/
Expand Down
1 change: 1 addition & 0 deletions .flutter-plugins
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ flutter_image_compress_common=C:\\Users\\Thean Yee Sin\\AppData\\Local\\Pub\\Cac
flutter_image_compress_web=C:\\Users\\Thean Yee Sin\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\flutter_image_compress_web-0.1.3+1\\
flutter_local_notifications=C:\\Users\\Thean Yee Sin\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\flutter_local_notifications-15.1.0+1\\
flutter_plugin_android_lifecycle=C:\\Users\\Thean Yee Sin\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\flutter_plugin_android_lifecycle-2.0.15\\
flutter_timezone=C:\\Users\\Thean Yee Sin\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\flutter_timezone-1.0.7\\
image_picker=C:\\Users\\Thean Yee Sin\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\image_picker-1.0.1\\
image_picker_android=C:\\Users\\Thean Yee Sin\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\image_picker_android-0.8.7+4\\
image_picker_for_web=C:\\Users\\Thean Yee Sin\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\image_picker_for_web-2.2.0\\
Expand Down
2 changes: 1 addition & 1 deletion .flutter-plugins-dependencies

Large diffs are not rendered by default.

Binary file modified android/.gradle/7.5/checksums/checksums.lock
Binary file not shown.
Binary file modified android/.gradle/7.5/checksums/md5-checksums.bin
Binary file not shown.
Binary file modified android/.gradle/7.5/checksums/sha1-checksums.bin
Binary file not shown.
Binary file modified android/.gradle/7.5/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified android/.gradle/7.5/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified android/.gradle/7.5/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified android/.gradle/7.5/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified android/.gradle/7.5/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified android/.gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified android/.gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file modified android/.gradle/file-system.probe
Binary file not shown.
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<!-- For apps with targetSDK=31 (Android 12) -->
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />
<application
android:requestLegacyExternalStorage="true"
android:label="Tabemashou"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ public static void registerWith(@NonNull FlutterEngine flutterEngine) {
} catch (Exception e) {
Log.e(TAG, "Error registering plugin flutter_plugin_android_lifecycle, io.flutter.plugins.flutter_plugin_android_lifecycle.FlutterAndroidLifecyclePlugin", e);
}
try {
flutterEngine.getPlugins().add(new net.wolverinebeach.flutter_timezone.FlutterTimezonePlugin());
} catch (Exception e) {
Log.e(TAG, "Error registering plugin flutter_timezone, net.wolverinebeach.flutter_timezone.FlutterTimezonePlugin", e);
}
try {
flutterEngine.getPlugins().add(new io.flutter.plugins.imagepicker.ImagePickerPlugin());
} catch (Exception e) {
Expand Down
2 changes: 1 addition & 1 deletion build/ad591becac38467537c13be6a225362b/.filecache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":2,"files":[{"path":"C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_en.dart","hash":"6007da76a883c1a4e934c527631cd814"},{"path":"C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations.dart","hash":"44eecada0ffc375fd545446bc3760120"},{"path":"C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\l10n.yaml","hash":"5a675900d80a58333293150ebd4095f0"},{"path":"C:\\src\\flutter\\packages\\flutter_tools\\lib\\src\\build_system\\targets\\localizations.dart","hash":"44f6e61783695000b20d4e1ad3dcc100"},{"path":"C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\lib/l10n\\app_en.arb","hash":"7af1377a0585c2e8fbbe31c0dec078db"},{"path":"C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\lib/l10n\\app_zh.arb","hash":"90b3e0fd98fdce96ff81079017439199"},{"path":"C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_zh.dart","hash":"0f5692c8198500bd37cad1e009991b1e"}]}
{"version":2,"files":[{"path":"C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\l10n.yaml","hash":"5a675900d80a58333293150ebd4095f0"},{"path":"C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\lib/l10n\\app_en.arb","hash":"2cf4bf41deb3f39ffeef15b077d8f366"},{"path":"C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_zh.dart","hash":"0f5692c8198500bd37cad1e009991b1e"},{"path":"C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_en.dart","hash":"e2e1602c633155ba034b0c8235ebaa1c"},{"path":"C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\lib/l10n\\app_zh.arb","hash":"90b3e0fd98fdce96ff81079017439199"},{"path":"C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations.dart","hash":"f7a0489f42f5fd2c023b463a10ba073c"},{"path":"C:\\src\\flutter\\packages\\flutter_tools\\lib\\src\\build_system\\targets\\localizations.dart","hash":"44f6e61783695000b20d4e1ad3dcc100"}]}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"inputs":["C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\lib/l10n\\app_en.arb","C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\lib/l10n\\app_zh.arb"],"outputs":["C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_en.dart","C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_zh.dart","C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations.dart"]}
{"inputs":["C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\lib/l10n\\app_en.arb","C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\lib/l10n\\app_zh.arb"],"outputs":["C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_en.dart","C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_zh.dart","C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations.dart"]}
2 changes: 1 addition & 1 deletion build/ad591becac38467537c13be6a225362b/gen_localizations.d
Original file line number Diff line number Diff line change
@@ -1 +1 @@
C:\\Users\\Thean\ Yee\ Sin\\Desktop\\Food\ Review\ App\\foodreviewapp\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_en.dart C:\\Users\\Thean\ Yee\ Sin\\Desktop\\Food\ Review\ App\\foodreviewapp\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_zh.dart C:\\Users\\Thean\ Yee\ Sin\\Desktop\\Food\ Review\ App\\foodreviewapp\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations.dart: C:\\Users\\Thean\ Yee\ Sin\\Desktop\\Food\ Review\ App\\foodreviewapp\\l10n.yaml C:\\Users\\Thean\ Yee\ Sin\\Desktop\\Food\ Review\ App\\foodreviewapp\\lib/l10n\\app_en.arb C:\\Users\\Thean\ Yee\ Sin\\Desktop\\Food\ Review\ App\\foodreviewapp\\lib/l10n\\app_zh.arb
C:\\Users\\Thean\ Yee\ Sin\\Tabemashou-Food-Review-App\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_en.dart C:\\Users\\Thean\ Yee\ Sin\\Tabemashou-Food-Review-App\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_zh.dart C:\\Users\\Thean\ Yee\ Sin\\Tabemashou-Food-Review-App\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations.dart: C:\\Users\\Thean\ Yee\ Sin\\Tabemashou-Food-Review-App\\l10n.yaml C:\\Users\\Thean\ Yee\ Sin\\Tabemashou-Food-Review-App\\lib/l10n\\app_en.arb C:\\Users\\Thean\ Yee\ Sin\\Tabemashou-Food-Review-App\\lib/l10n\\app_zh.arb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"inputs":["C:\\src\\flutter\\packages\\flutter_tools\\lib\\src\\build_system\\targets\\localizations.dart","C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\l10n.yaml","C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\lib/l10n\\app_en.arb","C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\lib/l10n\\app_zh.arb"],"outputs":["C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_en.dart","C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_zh.dart","C:\\Users\\Thean Yee Sin\\Desktop\\Food Review App\\foodreviewapp\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations.dart"]}
{"inputs":["C:\\src\\flutter\\packages\\flutter_tools\\lib\\src\\build_system\\targets\\localizations.dart","C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\l10n.yaml","C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\lib/l10n\\app_en.arb","C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\lib/l10n\\app_zh.arb"],"outputs":["C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_en.dart","C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations_zh.dart","C:\\Users\\Thean Yee Sin\\Tabemashou-Food-Review-App\\.dart_tool\\flutter_gen\\gen_l10n\\app_localizations.dart"]}
Loading

0 comments on commit 2f3fefd

Please sign in to comment.