diff --git a/android/app/google-services.json b/android/app/google-services.json new file mode 100644 index 0000000..9b5e61a --- /dev/null +++ b/android/app/google-services.json @@ -0,0 +1,29 @@ +{ + "project_info": { + "project_number": "508866094093", + "project_id": "nhance-app-4fedb", + "storage_bucket": "nhance-app-4fedb.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:508866094093:android:9969e766daa5b770366144", + "android_client_info": { + "package_name": "com.example.nhance_app_pwa" + } + }, + "oauth_client": [], + "api_key": [ + { + "current_key": "AIzaSyAZdKJco4fe0e1HP1A249BVZzA3WMYb_3g" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/lib/main.dart b/lib/main.dart index 11e10ea..8003f8f 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -21,10 +21,10 @@ Future main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp( options: const FirebaseOptions( - apiKey: 'AIzaSyAdacw5svpqopDCpoEym7aDkI3F2AajEO4', - appId: '1:203846206303:android:01f39a22f39a50539b6cea', - messagingSenderId: '203846206303', - projectId: 'push-notification-enrollment')); + apiKey: 'AIzaSyAZdKJco4fe0e1HP1A249BVZzA3WMYb_3g', + appId: '1:508866094093:android:9969e766daa5b770366144', + messagingSenderId: '508866094093', + projectId: 'nhance-app-4fedb')); await dotenv.load(fileName: Environment.fileName); runApp(MaterialApp( diff --git a/pubspec.yaml b/pubspec.yaml index 3171e39..a470bf0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -35,7 +35,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. - pinput: ^3.0.0 + pinput: ^4.0.0 cupertino_icons: ^1.0.6 http: ^1.2.1 shared_preferences: ^2.2.2 @@ -47,9 +47,9 @@ dependencies: csv: ^6.0.0 data_tables: ^1.4.0 universal_html: ^2.2.4 - excel: ^4.0.3 + excel: ^4.0.2 intl: ^0.19.0 - toastification: ^1.2.1 + toastification: ^2.0.0 flutter_animated_button: ^2.0.3 spreadsheet_decoder: ^2.2.0 url_launcher: ^6.2.6 @@ -57,6 +57,7 @@ dependencies: firebase_auth: ^5.1.2 google_sign_in: ^6.2.1 firebase_auth_web: ^5.12.4 + archive: ^3.4.9 dev_dependencies: @@ -68,7 +69,7 @@ dev_dependencies: # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. - flutter_lints: ^3.0.0 + flutter_lints: ^4.0.0 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/web/index.html b/web/index.html index 00cdbf4..fdeef8e 100644 --- a/web/index.html +++ b/web/index.html @@ -81,13 +81,13 @@ // Your web app's Firebase configuration const firebaseConfig = { - apiKey: "AIzaSyAg0e5u7Piy6sWfgKl0C6D2XYyOakGB4wg", - authDomain: "push-notification-enrollment.firebaseapp.com", - projectId: "push-notification-enrollment", - storageBucket: "push-notification-enrollment.appspot.com", - messagingSenderId: "203846206303", - appId: "1:203846206303:web:292619fd22c24ff99b6cea" - }; + apiKey: "AIzaSyDg6lonV9STSIwJ4x261tcTGALEhX98LqY", + authDomain: "nhance-app-4fedb.firebaseapp.com", + projectId: "nhance-app-4fedb", + storageBucket: "nhance-app-4fedb.appspot.com", + messagingSenderId: "508866094093", + appId: "1:508866094093:web:82f8ad47ccb63688366144" + }; // Initialize Firebase