boyrobot 4 months ago
parent
commit
8eea0b0461

+ 76 - 7
android/app/google-services.json

@@ -1,26 +1,95 @@
 {
   "project_info": {
-    "project_number": "481444065193",
-    "project_id": "putrago-5b617",
-    "storage_bucket": "putrago-5b617.appspot.com"
+    "project_number": "788019391064",
+    "firebase_url": "https://flutter-zshop-default-rtdb.firebaseio.com",
+    "project_id": "flutter-zshop",
+    "storage_bucket": "flutter-zshop.appspot.com"
   },
   "client": [
     {
       "client_info": {
-        "mobilesdk_app_id": "1:481444065193:android:896ecdaa29ef31f2615eb8",
+        "mobilesdk_app_id": "1:788019391064:android:c17f707ddb9f52a383b82d",
         "android_client_info": {
           "package_name": "com.example.putra_go"
         }
       },
-      "oauth_client": [],
+      "oauth_client": [
+        {
+          "client_id": "788019391064-cptgq8et4klh832ap99iqiqekika5hrr.apps.googleusercontent.com",
+          "client_type": 3
+        }
+      ],
+      "api_key": [
+        {
+          "current_key": "AIzaSyDtGnAiB9i7hhKxC9nNBEh_h7rWoL6QSNs"
+        }
+      ],
+      "services": {
+        "appinvite_service": {
+          "other_platform_oauth_client": [
+            {
+              "client_id": "788019391064-cptgq8et4klh832ap99iqiqekika5hrr.apps.googleusercontent.com",
+              "client_type": 3
+            }
+          ]
+        }
+      }
+    },
+    {
+      "client_info": {
+        "mobilesdk_app_id": "1:788019391064:android:859685b184d2865e83b82d",
+        "android_client_info": {
+          "package_name": "com.leuke.app"
+        }
+      },
+      "oauth_client": [
+        {
+          "client_id": "788019391064-cptgq8et4klh832ap99iqiqekika5hrr.apps.googleusercontent.com",
+          "client_type": 3
+        }
+      ],
+      "api_key": [
+        {
+          "current_key": "AIzaSyDtGnAiB9i7hhKxC9nNBEh_h7rWoL6QSNs"
+        }
+      ],
+      "services": {
+        "appinvite_service": {
+          "other_platform_oauth_client": [
+            {
+              "client_id": "788019391064-cptgq8et4klh832ap99iqiqekika5hrr.apps.googleusercontent.com",
+              "client_type": 3
+            }
+          ]
+        }
+      }
+    },
+    {
+      "client_info": {
+        "mobilesdk_app_id": "1:788019391064:android:0501f39bf73ee08d83b82d",
+        "android_client_info": {
+          "package_name": "me.yoqi.flutter.zshop"
+        }
+      },
+      "oauth_client": [
+        {
+          "client_id": "788019391064-cptgq8et4klh832ap99iqiqekika5hrr.apps.googleusercontent.com",
+          "client_type": 3
+        }
+      ],
       "api_key": [
         {
-          "current_key": "AIzaSyA5sDFxCNtzODfaoirCKuHvz1d4CEJwcTQ"
+          "current_key": "AIzaSyDtGnAiB9i7hhKxC9nNBEh_h7rWoL6QSNs"
         }
       ],
       "services": {
         "appinvite_service": {
-          "other_platform_oauth_client": []
+          "other_platform_oauth_client": [
+            {
+              "client_id": "788019391064-cptgq8et4klh832ap99iqiqekika5hrr.apps.googleusercontent.com",
+              "client_type": 3
+            }
+          ]
         }
       }
     }

+ 32 - 0
ios/Runner/GoogleService-Info.plist

@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>API_KEY</key>
+	<string>AIzaSyCHQViBhtByFijfEB4vqaQQIQKoOMyKwng</string>
+	<key>GCM_SENDER_ID</key>
+	<string>788019391064</string>
+	<key>PLIST_VERSION</key>
+	<string>1</string>
+	<key>BUNDLE_ID</key>
+	<string>com.example.putraGo</string>
+	<key>PROJECT_ID</key>
+	<string>flutter-zshop</string>
+	<key>STORAGE_BUCKET</key>
+	<string>flutter-zshop.appspot.com</string>
+	<key>IS_ADS_ENABLED</key>
+	<false></false>
+	<key>IS_ANALYTICS_ENABLED</key>
+	<false></false>
+	<key>IS_APPINVITE_ENABLED</key>
+	<true></true>
+	<key>IS_GCM_ENABLED</key>
+	<true></true>
+	<key>IS_SIGNIN_ENABLED</key>
+	<true></true>
+	<key>GOOGLE_APP_ID</key>
+	<string>1:788019391064:ios:8b200edfacfaf84383b82d</string>
+	<key>DATABASE_URL</key>
+	<string>https://flutter-zshop-default-rtdb.firebaseio.com</string>
+</dict>
+</plist>

+ 7 - 0
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:788019391064:ios:8b200edfacfaf84383b82d",
+  "FIREBASE_PROJECT_ID": "flutter-zshop",
+  "GCM_SENDER_ID": "788019391064"
+}

+ 70 - 0
lib/firebase_options.dart

@@ -0,0 +1,70 @@
+// 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:
+        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: 'AIzaSyDtGnAiB9i7hhKxC9nNBEh_h7rWoL6QSNs',
+    appId: '1:788019391064:android:c17f707ddb9f52a383b82d',
+    messagingSenderId: '788019391064',
+    projectId: 'flutter-zshop',
+    databaseURL: 'https://flutter-zshop-default-rtdb.firebaseio.com',
+    storageBucket: 'flutter-zshop.appspot.com',
+  );
+
+  static const FirebaseOptions ios = FirebaseOptions(
+    apiKey: 'AIzaSyCHQViBhtByFijfEB4vqaQQIQKoOMyKwng',
+    appId: '1:788019391064:ios:8b200edfacfaf84383b82d',
+    messagingSenderId: '788019391064',
+    projectId: 'flutter-zshop',
+    databaseURL: 'https://flutter-zshop-default-rtdb.firebaseio.com',
+    storageBucket: 'flutter-zshop.appspot.com',
+    iosBundleId: 'com.example.putraGo',
+  );
+}