diff --git a/gsf/android/app/google-services.json b/gsf/android/app/google-services.json
index 919ef07..a918776 100644
--- a/gsf/android/app/google-services.json
+++ b/gsf/android/app/google-services.json
@@ -1,36 +1,26 @@
{
"project_info": {
- "project_number": "751933368781",
- "project_id": "gsf-live",
- "storage_bucket": "gsf-live.appspot.com"
+ "project_number": "385912853035",
+ "project_id": "getsetfit-629ab",
+ "storage_bucket": "getsetfit-629ab.appspot.com"
},
"client": [
{
"client_info": {
- "mobilesdk_app_id": "1:751933368781:android:020c5f5f7ec8ea880dfc84",
+ "mobilesdk_app_id": "1:385912853035:android:6aea48ea205d49ba8d906e",
"android_client_info": {
"package_name": "com.getsetfit.gsf"
}
},
- "oauth_client": [
- {
- "client_id": "751933368781-v8k9ajguhps61ged7eis0ol1olflhfhv.apps.googleusercontent.com",
- "client_type": 3
- }
- ],
+ "oauth_client": [],
"api_key": [
{
- "current_key": "AIzaSyDd4MVv-SL6rw3t7aYtCW74_lA_GBMwJ_g"
+ "current_key": "AIzaSyDsuNF5SCgl9WbURv8FASws2d3dtBD-TIc"
}
],
"services": {
"appinvite_service": {
- "other_platform_oauth_client": [
- {
- "client_id": "751933368781-v8k9ajguhps61ged7eis0ol1olflhfhv.apps.googleusercontent.com",
- "client_type": 3
- }
- ]
+ "other_platform_oauth_client": []
}
}
}
diff --git a/gsf/firebase.json b/gsf/firebase.json
new file mode 100644
index 0000000..6628f6a
--- /dev/null
+++ b/gsf/firebase.json
@@ -0,0 +1 @@
+{"flutter":{"platforms":{"android":{"default":{"projectId":"getsetfit-629ab","appId":"1:385912853035:android:6aea48ea205d49ba8d906e","fileOutput":"android/app/google-services.json"}},"ios":{"default":{"projectId":"getsetfit-629ab","appId":"1:385912853035:ios:3c8d40e9b8cd8cc78d906e","uploadDebugSymbols":true,"fileOutput":"ios/Runner/GoogleService-Info.plist"}},"dart":{"lib/firebase_options.dart":{"projectId":"getsetfit-629ab","configurations":{"android":"1:385912853035:android:6aea48ea205d49ba8d906e","ios":"1:385912853035:ios:3c8d40e9b8cd8cc78d906e"}}}}}}
\ No newline at end of file
diff --git a/gsf/ios/Runner.xcodeproj/project.pbxproj b/gsf/ios/Runner.xcodeproj/project.pbxproj
index edd0bb4..1792bca 100644
--- a/gsf/ios/Runner.xcodeproj/project.pbxproj
+++ b/gsf/ios/Runner.xcodeproj/project.pbxproj
@@ -27,7 +27,7 @@
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
- EAC2B08A5EF3DB337047B851 /* (null) in Frameworks */ = {isa = PBXBuildFile; };
+ EAC2B08A5EF3DB337047B851 /* BuildFile in Frameworks */ = {isa = PBXBuildFile; };
F28142B6420A67828003E26E /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 559CD4C37425C2E8E38C2D7D /* Pods_Runner.framework */; };
/* End PBXBuildFile section */
@@ -118,7 +118,7 @@
529068A72A8E5864004ABCB1 /* CoreServices.framework in Frameworks */,
529068A52A8E5706004ABCB1 /* BranchSDK in Frameworks */,
529068B82A8F4849004ABCB1 /* WebKit.framework in Frameworks */,
- EAC2B08A5EF3DB337047B851 /* (null) in Frameworks */,
+ EAC2B08A5EF3DB337047B851 /* BuildFile in Frameworks */,
F28142B6420A67828003E26E /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -250,6 +250,7 @@
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
226DE2242AA76AB30069AF32 /* Embed Foundation Extensions */,
C9D58640702688400651DCCA /* [CP] Embed Pods Frameworks */,
+ 0566BE68C33393A00546891A /* FlutterFire: "flutterfire upload-crashlytics-symbols" */,
);
buildRules = (
);
@@ -329,6 +330,24 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
+ 0566BE68C33393A00546891A /* FlutterFire: "flutterfire upload-crashlytics-symbols" */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ );
+ name = "FlutterFire: \"flutterfire upload-crashlytics-symbols\"";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\n#!/bin/bash\nPATH=${PATH}:$FLUTTER_ROOT/bin:$HOME/.pub-cache/bin\nflutterfire upload-crashlytics-symbols --upload-symbols-script-path=$PODS_ROOT/FirebaseCrashlytics/upload-symbols --platform=ios --apple-project-path=${SRCROOT} --env-platform-name=${PLATFORM_NAME} --env-configuration=${CONFIGURATION} --env-project-dir=${PROJECT_DIR} --env-built-products-dir=${BUILT_PRODUCTS_DIR} --env-dwarf-dsym-folder-path=${DWARF_DSYM_FOLDER_PATH} --env-dwarf-dsym-file-name=${DWARF_DSYM_FILE_NAME} --env-infoplist-path=${INFOPLIST_PATH} --default-config=default\n";
+ };
13EB04CF12534CDD59BBA288 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
diff --git a/gsf/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved b/gsf/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved
deleted file mode 100644
index 5bf1daa..0000000
--- a/gsf/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "originHash" : "da338c7d827a9f8b10177e484783685675c8dff84a9dc59a904db0c53122e9f5",
- "pins" : [
- {
- "identity" : "ios-branch-sdk-spm",
- "kind" : "remoteSourceControl",
- "location" : "https://github.com/BranchMetrics/ios-branch-sdk-spm",
- "state" : {
- "revision" : "7fbe3085821c8e60241a2037098c6eed76fd2798",
- "version" : "2.2.0"
- }
- }
- ],
- "version" : 3
-}
diff --git a/gsf/ios/Runner/GoogleService-Info.plist b/gsf/ios/Runner/GoogleService-Info.plist
index ce9584e..996c499 100644
--- a/gsf/ios/Runner/GoogleService-Info.plist
+++ b/gsf/ios/Runner/GoogleService-Info.plist
@@ -2,22 +2,18 @@
- CLIENT_ID
- 751933368781-0cgjotkpv6o238qrm9g9u1cgcq5pkf91.apps.googleusercontent.com
- REVERSED_CLIENT_ID
- com.googleusercontent.apps.751933368781-0cgjotkpv6o238qrm9g9u1cgcq5pkf91
API_KEY
- AIzaSyAEz8aya-EsS6ebSSVgDxc4X6vlU3Lh5EY
+ AIzaSyCSbLj_8QTuCyJlZ_e4jLSxTs-Qj-lG60k
GCM_SENDER_ID
- 751933368781
+ 385912853035
PLIST_VERSION
1
BUNDLE_ID
- com.getsetfit
+ com.getsetfit.OneSignalNotificationServiceExtension
PROJECT_ID
- gsf-live
+ getsetfit-629ab
STORAGE_BUCKET
- gsf-live.appspot.com
+ getsetfit-629ab.appspot.com
IS_ADS_ENABLED
IS_ANALYTICS_ENABLED
@@ -29,6 +25,6 @@
IS_SIGNIN_ENABLED
GOOGLE_APP_ID
- 1:751933368781:ios:1b07754b53887f3d0dfc84
+ 1:385912853035:ios:3c8d40e9b8cd8cc78d906e
\ No newline at end of file
diff --git a/gsf/lib/firebase_options.dart b/gsf/lib/firebase_options.dart
new file mode 100644
index 0000000..a0c8964
--- /dev/null
+++ b/gsf/lib/firebase_options.dart
@@ -0,0 +1,69 @@
+// File generated by FlutterFire CLI.
+// ignore_for_file: type=lint
+import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
+import 'package:flutter/foundation.dart'
+ show defaultTargetPlatform, kIsWeb, TargetPlatform;
+
+/// Default [FirebaseOptions] for use with your Firebase apps.
+///
+/// Example:
+/// ```dart
+/// import 'firebase_options.dart';
+/// // ...
+/// await Firebase.initializeApp(
+/// options: DefaultFirebaseOptions.currentPlatform,
+/// );
+/// ```
+class DefaultFirebaseOptions {
+ static FirebaseOptions get currentPlatform {
+ if (kIsWeb) {
+ throw UnsupportedError(
+ 'DefaultFirebaseOptions have not been configured for web - '
+ 'you can reconfigure this by running the FlutterFire CLI again.',
+ );
+ }
+ switch (defaultTargetPlatform) {
+ case TargetPlatform.android:
+ return android;
+ case TargetPlatform.iOS:
+ return ios;
+ case TargetPlatform.macOS:
+ throw UnsupportedError(
+ 'DefaultFirebaseOptions have not been configured for macos - '
+ 'you can reconfigure this by running the FlutterFire CLI again.',
+ );
+ case TargetPlatform.windows:
+ throw UnsupportedError(
+ 'DefaultFirebaseOptions have not been configured for windows - '
+ 'you can reconfigure this by running the FlutterFire CLI again.',
+ );
+ case TargetPlatform.linux:
+ throw UnsupportedError(
+ 'DefaultFirebaseOptions have not been configured for linux - '
+ 'you can reconfigure this by running the FlutterFire CLI again.',
+ );
+ default:
+ throw UnsupportedError(
+ 'DefaultFirebaseOptions are not supported for this platform.',
+ );
+ }
+ }
+
+ static const FirebaseOptions android = FirebaseOptions(
+ apiKey: 'AIzaSyDsuNF5SCgl9WbURv8FASws2d3dtBD-TIc',
+ appId: '1:385912853035:android:6aea48ea205d49ba8d906e',
+ messagingSenderId: '385912853035',
+ projectId: 'getsetfit-629ab',
+ storageBucket: 'getsetfit-629ab.appspot.com',
+ );
+
+ static const FirebaseOptions ios = FirebaseOptions(
+ apiKey: 'AIzaSyCSbLj_8QTuCyJlZ_e4jLSxTs-Qj-lG60k',
+ appId: '1:385912853035:ios:3c8d40e9b8cd8cc78d906e',
+ messagingSenderId: '385912853035',
+ projectId: 'getsetfit-629ab',
+ storageBucket: 'getsetfit-629ab.appspot.com',
+ iosBundleId: 'com.getsetfit.OneSignalNotificationServiceExtension',
+ );
+
+}
\ No newline at end of file
diff --git a/gsf/lib/views/pages/home/home_page.dart b/gsf/lib/views/pages/home/home_page.dart
index e962df3..6efb7e3 100644
--- a/gsf/lib/views/pages/home/home_page.dart
+++ b/gsf/lib/views/pages/home/home_page.dart
@@ -1,6 +1,7 @@
import 'dart:async';
import 'dart:math';
+import 'package:firebase_analytics/firebase_analytics.dart';
import 'package:flutter/material.dart';
import 'package:flutter_branch_sdk/flutter_branch_sdk.dart';
import 'package:get/get.dart';
@@ -37,39 +38,27 @@ class _HomePageState extends State {
StreamSubscription