diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index 653eb5b..c419707 100644 --- a/.flutter-plugins-dependencies +++ b/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"device_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\device_info_plus-8.0.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_analytics","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_analytics-10.1.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_auth","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_auth-4.2.5\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_core","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_core-2.5.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_messaging","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_messaging-14.2.1\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_remote_config","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_remote_config-3.0.9\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"flutter_facebook_auth","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_facebook_auth-5.0.7\\\\","native_build":true,"dependencies":[]},{"name":"flutter_secure_storage","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage-7.0.1\\\\","native_build":true,"dependencies":[]},{"name":"google_sign_in_ios","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\google_sign_in_ios-5.5.1\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\package_info_plus-3.0.2\\\\","native_build":true,"dependencies":[]},{"name":"posthog_session","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\git\\\\posthog_session-6a620a202a47402cbc57a5896a32cff73ce2e24f\\\\","native_build":true,"dependencies":[]},{"name":"sentry_flutter","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sentry_flutter-6.19.0\\\\","native_build":true,"dependencies":["package_info_plus"]},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_foundation-2.1.2\\\\","native_build":true,"dependencies":[]},{"name":"sign_in_with_apple","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sign_in_with_apple-4.3.0\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"device_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\device_info_plus-8.0.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_analytics","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_analytics-10.1.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_auth","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_auth-4.2.5\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_core","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_core-2.5.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_messaging","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_messaging-14.2.1\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_remote_config","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_remote_config-3.0.9\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"flutter_facebook_auth","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_facebook_auth-5.0.7\\\\","native_build":true,"dependencies":[]},{"name":"flutter_secure_storage","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage-7.0.1\\\\","native_build":true,"dependencies":[]},{"name":"google_sign_in_android","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\google_sign_in_android-6.1.5\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\package_info_plus-3.0.2\\\\","native_build":true,"dependencies":[]},{"name":"posthog_session","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\git\\\\posthog_session-6a620a202a47402cbc57a5896a32cff73ce2e24f\\\\","native_build":true,"dependencies":[]},{"name":"sentry_flutter","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sentry_flutter-6.19.0\\\\","native_build":true,"dependencies":["package_info_plus"]},{"name":"shared_preferences_android","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_android-2.0.15\\\\","native_build":true,"dependencies":[]},{"name":"sign_in_with_apple","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sign_in_with_apple-4.3.0\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"device_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\device_info_plus-8.0.0\\\\","native_build":true,"dependencies":[]},{"name":"facebook_auth_desktop","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\facebook_auth_desktop-0.0.8\\\\","native_build":true,"dependencies":[]},{"name":"firebase_analytics","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_analytics-10.1.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_auth","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_auth-4.2.5\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_core","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_core-2.5.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_messaging","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_messaging-14.2.1\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_remote_config","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_remote_config-3.0.9\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"flutter_secure_storage_macos","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage_macos-2.0.1\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\package_info_plus-3.0.2\\\\","native_build":true,"dependencies":[]},{"name":"sentry_flutter","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sentry_flutter-6.19.0\\\\","native_build":true,"dependencies":["package_info_plus"]},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_foundation-2.1.2\\\\","native_build":true,"dependencies":[]},{"name":"sign_in_with_apple","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sign_in_with_apple-4.3.0\\\\","native_build":true,"dependencies":[]}],"linux":[{"name":"device_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\device_info_plus-8.0.0\\\\","native_build":false,"dependencies":[]},{"name":"flutter_secure_storage_linux","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage_linux-1.1.2\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\package_info_plus-3.0.2\\\\","native_build":false,"dependencies":[]},{"name":"path_provider_linux","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-2.1.7\\\\","native_build":false,"dependencies":[]},{"name":"sentry_flutter","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sentry_flutter-6.19.0\\\\","native_build":true,"dependencies":["package_info_plus"]},{"name":"shared_preferences_linux","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_linux-2.1.3\\\\","native_build":false,"dependencies":["path_provider_linux"]}],"windows":[{"name":"device_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\device_info_plus-8.0.0\\\\","native_build":false,"dependencies":[]},{"name":"flutter_secure_storage_windows","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage_windows-1.1.3\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\package_info_plus-3.0.2\\\\","native_build":false,"dependencies":[]},{"name":"path_provider_windows","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-2.1.3\\\\","native_build":false,"dependencies":[]},{"name":"sentry_flutter","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sentry_flutter-6.19.0\\\\","native_build":true,"dependencies":["package_info_plus"]},{"name":"shared_preferences_windows","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_windows-2.1.3\\\\","native_build":false,"dependencies":["path_provider_windows"]}],"web":[{"name":"device_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\device_info_plus-8.0.0\\\\","dependencies":[]},{"name":"firebase_analytics_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_analytics_web-0.5.1+8\\\\","dependencies":["firebase_core_web"]},{"name":"firebase_auth_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_auth_web-5.2.4\\\\","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_core_web-2.1.1\\\\","dependencies":[]},{"name":"firebase_messaging_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_messaging_web-3.2.11\\\\","dependencies":["firebase_core_web"]},{"name":"firebase_remote_config_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_remote_config_web-1.1.18\\\\","dependencies":["firebase_core_web"]},{"name":"flutter_facebook_auth_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_facebook_auth_web-4.1.1\\\\","dependencies":[]},{"name":"flutter_secure_storage_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage_web-1.1.1\\\\","dependencies":[]},{"name":"google_sign_in_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\google_sign_in_web-0.10.2+1\\\\","dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\package_info_plus-3.0.2\\\\","dependencies":[]},{"name":"posthog_session","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\git\\\\posthog_session-6a620a202a47402cbc57a5896a32cff73ce2e24f\\\\","dependencies":[]},{"name":"sentry_flutter","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sentry_flutter-6.19.0\\\\","dependencies":["package_info_plus"]},{"name":"shared_preferences_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_web-2.0.4\\\\","dependencies":[]},{"name":"sign_in_with_apple_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sign_in_with_apple_web-1.0.1\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"device_info_plus","dependencies":[]},{"name":"facebook_auth_desktop","dependencies":["flutter_secure_storage"]},{"name":"firebase_analytics","dependencies":["firebase_analytics_web","firebase_core"]},{"name":"firebase_analytics_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_auth","dependencies":["firebase_auth_web","firebase_core"]},{"name":"firebase_auth_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_core","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","dependencies":[]},{"name":"firebase_messaging","dependencies":["firebase_core","firebase_messaging_web"]},{"name":"firebase_messaging_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_remote_config","dependencies":["firebase_core","firebase_remote_config_web"]},{"name":"firebase_remote_config_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"flutter_facebook_auth","dependencies":["flutter_facebook_auth_web","facebook_auth_desktop"]},{"name":"flutter_facebook_auth_web","dependencies":[]},{"name":"flutter_secure_storage","dependencies":["flutter_secure_storage_linux","flutter_secure_storage_macos","flutter_secure_storage_web","flutter_secure_storage_windows"]},{"name":"flutter_secure_storage_linux","dependencies":[]},{"name":"flutter_secure_storage_macos","dependencies":[]},{"name":"flutter_secure_storage_web","dependencies":[]},{"name":"flutter_secure_storage_windows","dependencies":[]},{"name":"google_sign_in","dependencies":["google_sign_in_android","google_sign_in_ios","google_sign_in_web"]},{"name":"google_sign_in_android","dependencies":[]},{"name":"google_sign_in_ios","dependencies":[]},{"name":"google_sign_in_web","dependencies":[]},{"name":"package_info_plus","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"posthog_session","dependencies":[]},{"name":"sentry_flutter","dependencies":["package_info_plus"]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"sign_in_with_apple","dependencies":["sign_in_with_apple_web"]},{"name":"sign_in_with_apple_web","dependencies":[]}],"date_created":"2023-02-12 22:30:10.421015","version":"3.3.10"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"device_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\device_info_plus-8.0.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_analytics","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_analytics-10.1.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_auth","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_auth-4.2.5\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_core","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_core-2.5.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_messaging","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_messaging-14.2.1\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_remote_config","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_remote_config-3.0.9\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"flutter_facebook_auth","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_facebook_auth-5.0.7\\\\","native_build":true,"dependencies":[]},{"name":"flutter_secure_storage","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage-7.0.1\\\\","native_build":true,"dependencies":[]},{"name":"google_sign_in_ios","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\google_sign_in_ios-5.5.1\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\package_info_plus-3.0.2\\\\","native_build":true,"dependencies":[]},{"name":"posthog_session","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\git\\\\posthog_session-6a620a202a47402cbc57a5896a32cff73ce2e24f\\\\","native_build":true,"dependencies":[]},{"name":"sentry_flutter","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sentry_flutter-6.19.0\\\\","native_build":true,"dependencies":["package_info_plus"]},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_foundation-2.1.2\\\\","native_build":true,"dependencies":[]},{"name":"sign_in_with_apple","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sign_in_with_apple-4.3.0\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"device_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\device_info_plus-8.0.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_analytics","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_analytics-10.1.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_auth","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_auth-4.2.5\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_core","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_core-2.5.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_messaging","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_messaging-14.2.1\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_remote_config","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_remote_config-3.0.9\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"flutter_facebook_auth","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_facebook_auth-5.0.7\\\\","native_build":true,"dependencies":[]},{"name":"flutter_secure_storage","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage-7.0.1\\\\","native_build":true,"dependencies":[]},{"name":"google_sign_in_android","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\google_sign_in_android-6.1.5\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\package_info_plus-3.0.2\\\\","native_build":true,"dependencies":[]},{"name":"posthog_session","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\git\\\\posthog_session-6a620a202a47402cbc57a5896a32cff73ce2e24f\\\\","native_build":true,"dependencies":[]},{"name":"sentry_flutter","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sentry_flutter-6.19.0\\\\","native_build":true,"dependencies":["package_info_plus"]},{"name":"shared_preferences_android","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_android-2.0.15\\\\","native_build":true,"dependencies":[]},{"name":"sign_in_with_apple","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sign_in_with_apple-4.3.0\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"device_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\device_info_plus-8.0.0\\\\","native_build":true,"dependencies":[]},{"name":"facebook_auth_desktop","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\facebook_auth_desktop-0.0.8\\\\","native_build":true,"dependencies":[]},{"name":"firebase_analytics","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_analytics-10.1.0\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_auth","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_auth-4.2.5\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_core","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_core-2.5.0\\\\","native_build":true,"dependencies":[]},{"name":"firebase_messaging","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_messaging-14.2.1\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_remote_config","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_remote_config-3.0.9\\\\","native_build":true,"dependencies":["firebase_core"]},{"name":"flutter_secure_storage_macos","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage_macos-2.0.1\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\package_info_plus-3.0.2\\\\","native_build":true,"dependencies":[]},{"name":"sentry_flutter","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sentry_flutter-6.19.0\\\\","native_build":true,"dependencies":["package_info_plus"]},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_foundation-2.1.2\\\\","native_build":true,"dependencies":[]},{"name":"sign_in_with_apple","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sign_in_with_apple-4.3.0\\\\","native_build":true,"dependencies":[]}],"linux":[{"name":"device_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\device_info_plus-8.0.0\\\\","native_build":false,"dependencies":[]},{"name":"flutter_secure_storage_linux","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage_linux-1.1.2\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\package_info_plus-3.0.2\\\\","native_build":false,"dependencies":[]},{"name":"path_provider_linux","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-2.1.7\\\\","native_build":false,"dependencies":[]},{"name":"sentry_flutter","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sentry_flutter-6.19.0\\\\","native_build":true,"dependencies":["package_info_plus"]},{"name":"shared_preferences_linux","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_linux-2.1.3\\\\","native_build":false,"dependencies":["path_provider_linux"]}],"windows":[{"name":"device_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\device_info_plus-8.0.0\\\\","native_build":false,"dependencies":[]},{"name":"flutter_secure_storage_windows","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage_windows-1.1.3\\\\","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\package_info_plus-3.0.2\\\\","native_build":false,"dependencies":[]},{"name":"path_provider_windows","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-2.1.3\\\\","native_build":false,"dependencies":[]},{"name":"sentry_flutter","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sentry_flutter-6.19.0\\\\","native_build":true,"dependencies":["package_info_plus"]},{"name":"shared_preferences_windows","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_windows-2.1.3\\\\","native_build":false,"dependencies":["path_provider_windows"]}],"web":[{"name":"device_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\device_info_plus-8.0.0\\\\","dependencies":[]},{"name":"firebase_analytics_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_analytics_web-0.5.1+8\\\\","dependencies":["firebase_core_web"]},{"name":"firebase_auth_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_auth_web-5.2.4\\\\","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_core_web-2.1.1\\\\","dependencies":[]},{"name":"firebase_messaging_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_messaging_web-3.2.11\\\\","dependencies":["firebase_core_web"]},{"name":"firebase_remote_config_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\firebase_remote_config_web-1.1.18\\\\","dependencies":["firebase_core_web"]},{"name":"flutter_facebook_auth_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_facebook_auth_web-4.1.1\\\\","dependencies":[]},{"name":"flutter_secure_storage_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage_web-1.1.1\\\\","dependencies":[]},{"name":"google_sign_in_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\google_sign_in_web-0.10.2+1\\\\","dependencies":[]},{"name":"package_info_plus","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\package_info_plus-3.0.2\\\\","dependencies":[]},{"name":"posthog_session","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\git\\\\posthog_session-6a620a202a47402cbc57a5896a32cff73ce2e24f\\\\","dependencies":[]},{"name":"sentry_flutter","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sentry_flutter-6.19.0\\\\","dependencies":["package_info_plus"]},{"name":"shared_preferences_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_web-2.0.4\\\\","dependencies":[]},{"name":"sign_in_with_apple_web","path":"C:\\\\Users\\\\bossa\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\sign_in_with_apple_web-1.0.1\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"device_info_plus","dependencies":[]},{"name":"facebook_auth_desktop","dependencies":["flutter_secure_storage"]},{"name":"firebase_analytics","dependencies":["firebase_analytics_web","firebase_core"]},{"name":"firebase_analytics_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_auth","dependencies":["firebase_auth_web","firebase_core"]},{"name":"firebase_auth_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_core","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","dependencies":[]},{"name":"firebase_messaging","dependencies":["firebase_core","firebase_messaging_web"]},{"name":"firebase_messaging_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_remote_config","dependencies":["firebase_core","firebase_remote_config_web"]},{"name":"firebase_remote_config_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"flutter_facebook_auth","dependencies":["flutter_facebook_auth_web","facebook_auth_desktop"]},{"name":"flutter_facebook_auth_web","dependencies":[]},{"name":"flutter_secure_storage","dependencies":["flutter_secure_storage_linux","flutter_secure_storage_macos","flutter_secure_storage_web","flutter_secure_storage_windows"]},{"name":"flutter_secure_storage_linux","dependencies":[]},{"name":"flutter_secure_storage_macos","dependencies":[]},{"name":"flutter_secure_storage_web","dependencies":[]},{"name":"flutter_secure_storage_windows","dependencies":[]},{"name":"google_sign_in","dependencies":["google_sign_in_android","google_sign_in_ios","google_sign_in_web"]},{"name":"google_sign_in_android","dependencies":[]},{"name":"google_sign_in_ios","dependencies":[]},{"name":"google_sign_in_web","dependencies":[]},{"name":"package_info_plus","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"posthog_session","dependencies":[]},{"name":"sentry_flutter","dependencies":["package_info_plus"]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"sign_in_with_apple","dependencies":["sign_in_with_apple_web"]},{"name":"sign_in_with_apple_web","dependencies":[]}],"date_created":"2023-02-13 19:56:01.874892","version":"3.3.10"} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..c45c8b3 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,16 @@ +{ + // launch.json + "version": "0.2.0", + "configurations": [ + { + "name": "Util Example", + "type": "dart", + "request": "launch", + "program": "lib/example/lib/main.dart", + "args": [ + "-d", + "chrome" + ] + } + ] + } \ No newline at end of file diff --git a/README.md b/README.md index 5f0191b..8ec5e7c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ Workout Test and Diet 4 You Common Util Functions +Version 1.0.4 + webapi client fixes + Version 1.0.3 Warning fixes, webapi client diff --git a/lib/example/lib/main.dart b/lib/example/lib/main.dart new file mode 100644 index 0000000..d91fbf7 --- /dev/null +++ b/lib/example/lib/main.dart @@ -0,0 +1,75 @@ +import 'package:flutter/material.dart'; +import 'package:workouttest_util/model/cache.dart'; +import 'package:workouttest_util/service/openai_service.dart'; + +void main() { + WidgetsFlutterBinding.ensureInitialized(); + runApp(const MyApp()); +} + +class MyApp extends StatefulWidget { + const MyApp({Key? key}) : super(key: key); + + @override + State createState() => _MyAppState(); +} + + + +class _MyAppState extends State { + String _response = ""; + + @override + void initState() { + super.initState(); + } + + void _fetchData() async { + var api = OpenAIApi(); + String response = await api.getOpenAICompletion("Who wrote the song 'yellow submarine'?");; + setState(() { + _response = response; + }); + } + + + @override + Widget build(BuildContext context) { + Cache().setLocalBaseUrl(); + + return MaterialApp( + home: Scaffold( + appBar: AppBar( + title: const Text("Example"), + ), + body: Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + const Text( + 'AI answer:', + ), + Text( + _response, + style: Theme.of(context).textTheme.headline4, + ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceAround, + children: [ + FloatingActionButton( + onPressed:() => { + _fetchData() + }, + tooltip: 'Send question', + child: const Icon(Icons.ad_units), + ), + + ], + ) + + ], + ), + ), + )); + } +} diff --git a/lib/service/api.dart b/lib/service/api.dart index 8c0fa4c..77bdf71 100644 --- a/lib/service/api.dart +++ b/lib/service/api.dart @@ -71,7 +71,7 @@ class APIClient with Common, Logging { return webClient.post(endPoint, body); } final url = Cache().getBaseUrl() + endPoint; - trace(" ------------ http/post body $body - url: $url "); + log(" ------------ http/post body $body - url: $url "); try { String authToken = Cache().getAuthToken(); if (authToken.isEmpty) { @@ -91,7 +91,7 @@ class APIClient with Common, Logging { request.write(body); HttpClientResponse result = await request.close(); client.close(); - trace(" ------------post response code: ${result.statusCode}"); + log(" ------------post response code: ${result.statusCode}"); if (result.statusCode == 200) { return await result.transform(utf8.decoder).join(); } else if (result.statusCode == 404) { @@ -115,7 +115,7 @@ class APIClient with Common, Logging { } final url = Cache().getBaseUrl() + endPoint + param; try { - trace("-------- API get $url"); + log("-------- API get $url"); String authToken = Cache().getAuthToken(); if (authToken.isEmpty) { var responseJson = await authenticateUser(Cache.username, Cache.password); @@ -132,7 +132,7 @@ class APIClient with Common, Logging { request.write(""); HttpClientResponse result = await request.close(); client.close(); - trace(" ------------get response code: ${result.statusCode}"); + log(" ------------get response code: ${result.statusCode}"); if (result.statusCode == 200) { return await result.transform(utf8.decoder).join(); } else if (result.statusCode == 404) { diff --git a/lib/service/webapi.dart b/lib/service/webapi.dart index 781f6c4..4a755ae 100644 --- a/lib/service/webapi.dart +++ b/lib/service/webapi.dart @@ -43,7 +43,7 @@ class APIWebClient with Common, Logging { log("Authentication status: ${result.statusCode}, response: $response"); final data = jsonDecode(response); return data; - } catch (exception) { + } on Exception catch (exception) { log(exception.toString()); try { await Sentry.captureException(exception); @@ -57,7 +57,7 @@ class APIWebClient with Common, Logging { Future post(String endPoint, String body) async { final url = Cache().getBaseUrl() + endPoint; - trace(" ------------ http/post body $body - url: $url "); + log(" ------------ http/post body $body - url: $url "); try { String authToken = Cache().getAuthToken(); if (authToken.isEmpty) { @@ -70,7 +70,7 @@ class APIWebClient with Common, Logging { "Content-Type": "application/json", "Authorization": 'Bearer $authToken', }); - trace(" ------------post response code: ${result.statusCode}"); + log(" ------------post response code: ${result.statusCode}"); if (result.statusCode == 200) { return result.body; } else if (result.statusCode == 404) { @@ -90,7 +90,7 @@ class APIWebClient with Common, Logging { Future get(String endPoint, String param) async { final url = Cache().getBaseUrl() + endPoint + param; try { - trace("-------- API get $url"); + log("-------- API get $url"); String authToken = Cache().getAuthToken(); if (authToken.isEmpty) { var responseJson = await authenticateUser(Cache.username, Cache.password); @@ -103,7 +103,7 @@ class APIWebClient with Common, Logging { "Authorization": 'Bearer $authToken', }); - trace(" ------------get response code: ${result.statusCode}"); + log(" ------------get response code: ${result.statusCode}"); if (result.statusCode == 200) { return result.body; } else if (result.statusCode == 404) { diff --git a/pubspec.yaml b/pubspec.yaml index d128649..43ab486 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: workouttest_util description: Workout Test app and web functions. -version: 1.0.3 +version: 1.0.4 homepage: environment: diff --git a/test/api_test.dart b/test/api_test.dart index 780bb20..1c3c9a8 100644 --- a/test/api_test.dart +++ b/test/api_test.dart @@ -1,5 +1,3 @@ -import 'dart:convert'; -import 'dart:io'; import 'package:flutter_test/flutter_test.dart'; import 'package:workouttest_util/model/cache.dart'; import 'package:workouttest_util/service/api.dart'; diff --git a/test/openai_test.dart b/test/openai_test.dart index 9fadfc1..a47172a 100644 --- a/test/openai_test.dart +++ b/test/openai_test.dart @@ -14,6 +14,6 @@ void main() { var api = OpenAIApi(); String response = await api.getOpenAICompletion("Who wrote the song 'yellow submarine'?"); print(response); - expect(response, matches(RegExp(r'Beatles'))); + expect(response, matches(RegExp(r'Beatles') )); }); } diff --git a/web/Icon-192.png b/web/Icon-192.png new file mode 100644 index 0000000..b749bfe Binary files /dev/null and b/web/Icon-192.png differ diff --git a/web/Icon-512.png b/web/Icon-512.png new file mode 100644 index 0000000..88cfd48 Binary files /dev/null and b/web/Icon-512.png differ diff --git a/web/Icon-maskable-192.png b/web/Icon-maskable-192.png new file mode 100644 index 0000000..eb9b4d7 Binary files /dev/null and b/web/Icon-maskable-192.png differ diff --git a/web/Icon-maskable-512.png b/web/Icon-maskable-512.png new file mode 100644 index 0000000..d69c566 Binary files /dev/null and b/web/Icon-maskable-512.png differ diff --git a/web/favicon.png b/web/favicon.png new file mode 100644 index 0000000..8aaa46a Binary files /dev/null and b/web/favicon.png differ diff --git a/web/icons/Icon-192.png b/web/icons/Icon-192.png new file mode 100644 index 0000000..b749bfe Binary files /dev/null and b/web/icons/Icon-192.png differ diff --git a/web/icons/Icon-512.png b/web/icons/Icon-512.png new file mode 100644 index 0000000..88cfd48 Binary files /dev/null and b/web/icons/Icon-512.png differ diff --git a/web/icons/Icon-maskable-192.png b/web/icons/Icon-maskable-192.png new file mode 100644 index 0000000..eb9b4d7 Binary files /dev/null and b/web/icons/Icon-maskable-192.png differ diff --git a/web/icons/Icon-maskable-512.png b/web/icons/Icon-maskable-512.png new file mode 100644 index 0000000..d69c566 Binary files /dev/null and b/web/icons/Icon-maskable-512.png differ diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..d02e890 --- /dev/null +++ b/web/index.html @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + diet4you + + + + + + + + + + diff --git a/web/manifest.json b/web/manifest.json new file mode 100644 index 0000000..d0ae591 --- /dev/null +++ b/web/manifest.json @@ -0,0 +1,35 @@ +{ + "name": "diet4you", + "short_name": "diet4you", + "start_url": ".", + "display": "standalone", + "background_color": "#0175C2", + "theme_color": "#0175C2", + "description": "A new Flutter project.", + "orientation": "portrait-primary", + "prefer_related_applications": false, + "icons": [ + { + "src": "icons/Icon-192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "icons/Icon-512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "icons/Icon-maskable-192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "icons/Icon-maskable-512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ] +}