diff --git a/android/app/build.gradle b/android/app/build.gradle
index 2b5f1845..f7409263 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -27,6 +27,9 @@ if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
apply plugin: 'com.android.application'
+// START: FlutterFire Configuration
+apply plugin: 'com.google.gms.google-services'
+// END: FlutterFire Configuration
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
diff --git a/android/app/google-services.json b/android/app/google-services.json
new file mode 100644
index 00000000..5ed094a8
--- /dev/null
+++ b/android/app/google-services.json
@@ -0,0 +1,39 @@
+{
+ "project_info": {
+ "project_number": "372003342382",
+ "project_id": "hiddify-flutter",
+ "storage_bucket": "hiddify-flutter.appspot.com"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:372003342382:android:c33c6eb99da7ceb76fb7bf",
+ "android_client_info": {
+ "package_name": "app.hiddify.com"
+ }
+ },
+ "oauth_client": [
+ {
+ "client_id": "372003342382-hlkjtgug97q8melqpkvat5f9mi7nj3s8.apps.googleusercontent.com",
+ "client_type": 3
+ }
+ ],
+ "api_key": [
+ {
+ "current_key": "AIzaSyDhiPAfkcUkQKcNXCUUcKL51K5UqRd7WXA"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": [
+ {
+ "client_id": "372003342382-hlkjtgug97q8melqpkvat5f9mi7nj3s8.apps.googleusercontent.com",
+ "client_type": 3
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/android/build.gradle b/android/build.gradle
index 52648854..c613c3d5 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -7,6 +7,9 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
+ // START: FlutterFire Configuration
+ classpath 'com.google.gms:google-services:4.3.10'
+ // END: FlutterFire Configuration
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
diff --git a/ios/Runner/GoogleService-Info.plist b/ios/Runner/GoogleService-Info.plist
new file mode 100644
index 00000000..b69ac067
--- /dev/null
+++ b/ios/Runner/GoogleService-Info.plist
@@ -0,0 +1,30 @@
+
+
+
+
+ API_KEY
+ AIzaSyDs7pee9vjdKfUYFbJvHo8rDwqp36dkPRI
+ GCM_SENDER_ID
+ 372003342382
+ PLIST_VERSION
+ 1
+ BUNDLE_ID
+ com.hiddify.hiddify
+ PROJECT_ID
+ hiddify-flutter
+ STORAGE_BUCKET
+ hiddify-flutter.appspot.com
+ IS_ADS_ENABLED
+
+ IS_ANALYTICS_ENABLED
+
+ IS_APPINVITE_ENABLED
+
+ IS_GCM_ENABLED
+
+ IS_SIGNIN_ENABLED
+
+ GOOGLE_APP_ID
+ 1:372003342382:ios:a579c1abfc54046a6fb7bf
+
+
\ No newline at end of file
diff --git a/ios/firebase_app_id_file.json b/ios/firebase_app_id_file.json
new file mode 100644
index 00000000..777fcea3
--- /dev/null
+++ b/ios/firebase_app_id_file.json
@@ -0,0 +1,7 @@
+{
+ "file_generated_by": "FlutterFire CLI",
+ "purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory",
+ "GOOGLE_APP_ID": "1:372003342382:ios:a579c1abfc54046a6fb7bf",
+ "FIREBASE_PROJECT_ID": "hiddify-flutter",
+ "GCM_SENDER_ID": "372003342382"
+}
\ No newline at end of file
diff --git a/lib/firebase_options.dart b/lib/firebase_options.dart
new file mode 100644
index 00000000..ca9fb158
--- /dev/null
+++ b/lib/firebase_options.dart
@@ -0,0 +1,74 @@
+// File generated by FlutterFire CLI.
+// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members
+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:
+ return macos;
+ 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: 'AIzaSyDhiPAfkcUkQKcNXCUUcKL51K5UqRd7WXA',
+ appId: '1:372003342382:android:c33c6eb99da7ceb76fb7bf',
+ messagingSenderId: '372003342382',
+ projectId: 'hiddify-flutter',
+ storageBucket: 'hiddify-flutter.appspot.com',
+ );
+
+ static const FirebaseOptions ios = FirebaseOptions(
+ apiKey: 'AIzaSyDs7pee9vjdKfUYFbJvHo8rDwqp36dkPRI',
+ appId: '1:372003342382:ios:a579c1abfc54046a6fb7bf',
+ messagingSenderId: '372003342382',
+ projectId: 'hiddify-flutter',
+ storageBucket: 'hiddify-flutter.appspot.com',
+ iosBundleId: 'com.hiddify.hiddify',
+ );
+
+ static const FirebaseOptions macos = FirebaseOptions(
+ apiKey: 'AIzaSyDs7pee9vjdKfUYFbJvHo8rDwqp36dkPRI',
+ appId: '1:372003342382:ios:dd40035472392b346fb7bf',
+ messagingSenderId: '372003342382',
+ projectId: 'hiddify-flutter',
+ storageBucket: 'hiddify-flutter.appspot.com',
+ iosBundleId: 'com.hiddify.hiddify.RunnerTests',
+ );
+}
diff --git a/macos/Runner/GoogleService-Info.plist b/macos/Runner/GoogleService-Info.plist
new file mode 100644
index 00000000..d29f32df
--- /dev/null
+++ b/macos/Runner/GoogleService-Info.plist
@@ -0,0 +1,30 @@
+
+
+
+
+ API_KEY
+ AIzaSyDs7pee9vjdKfUYFbJvHo8rDwqp36dkPRI
+ GCM_SENDER_ID
+ 372003342382
+ PLIST_VERSION
+ 1
+ BUNDLE_ID
+ com.hiddify.hiddify.RunnerTests
+ PROJECT_ID
+ hiddify-flutter
+ STORAGE_BUCKET
+ hiddify-flutter.appspot.com
+ IS_ADS_ENABLED
+
+ IS_ANALYTICS_ENABLED
+
+ IS_APPINVITE_ENABLED
+
+ IS_GCM_ENABLED
+
+ IS_SIGNIN_ENABLED
+
+ GOOGLE_APP_ID
+ 1:372003342382:ios:dd40035472392b346fb7bf
+
+
\ No newline at end of file
diff --git a/macos/firebase_app_id_file.json b/macos/firebase_app_id_file.json
new file mode 100644
index 00000000..95ec1070
--- /dev/null
+++ b/macos/firebase_app_id_file.json
@@ -0,0 +1,7 @@
+{
+ "file_generated_by": "FlutterFire CLI",
+ "purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory",
+ "GOOGLE_APP_ID": "1:372003342382:ios:dd40035472392b346fb7bf",
+ "FIREBASE_PROJECT_ID": "hiddify-flutter",
+ "GCM_SENDER_ID": "372003342382"
+}
\ No newline at end of file