v.1.3.0 #23
1 changed files with 32 additions and 36 deletions
|
|
@ -11,7 +11,7 @@ import 'package:flutter/foundation.dart'
|
||||||
/// import 'firebase_options.dart';
|
/// import 'firebase_options.dart';
|
||||||
/// // ...
|
/// // ...
|
||||||
/// await Firebase.initializeApp(
|
/// await Firebase.initializeApp(
|
||||||
/// options: DefaultFirebaseOptions.currentPlatform,
|
/// options: DefaultFirebaseOptions.currentPlatform,
|
||||||
/// );
|
/// );
|
||||||
/// ```
|
/// ```
|
||||||
class DefaultFirebaseOptions {
|
class DefaultFirebaseOptions {
|
||||||
|
|
@ -30,10 +30,6 @@ class DefaultFirebaseOptions {
|
||||||
return windows;
|
return windows;
|
||||||
case TargetPlatform.linux:
|
case TargetPlatform.linux:
|
||||||
return web;
|
return web;
|
||||||
// throw UnsupportedError(
|
|
||||||
// 'DefaultFirebaseOptions have not been configured for linux - '
|
|
||||||
// 'you can reconfigure this by running the FlutterFire CLI again.',
|
|
||||||
// );
|
|
||||||
default:
|
default:
|
||||||
throw UnsupportedError(
|
throw UnsupportedError(
|
||||||
'DefaultFirebaseOptions are not supported for this platform.',
|
'DefaultFirebaseOptions are not supported for this platform.',
|
||||||
|
|
@ -42,48 +38,48 @@ class DefaultFirebaseOptions {
|
||||||
}
|
}
|
||||||
|
|
||||||
static const FirebaseOptions web = FirebaseOptions(
|
static const FirebaseOptions web = FirebaseOptions(
|
||||||
apiKey: 'AIzaSyDN-f4sJ4n_fyvrLR193_IIkTsccRVUQxw',
|
apiKey: 'YOUR_WEB_API_KEY',
|
||||||
appId: '1:33677883408:web:47b8021df7fcacd2223295',
|
appId: 'YOUR_WEB_APP_ID',
|
||||||
messagingSenderId: '33677883408',
|
messagingSenderId: 'YOUR_MESSAGING_SENDER_ID',
|
||||||
projectId: 'mzansi-innovation-hub',
|
projectId: 'YOUR_PROJECT_ID',
|
||||||
authDomain: 'mzansi-innovation-hub.firebaseapp.com',
|
authDomain: 'YOUR_AUTH_DOMAIN',
|
||||||
storageBucket: 'mzansi-innovation-hub.firebasestorage.app',
|
storageBucket: 'YOUR_STORAGE_BUCKET',
|
||||||
measurementId: 'G-Y3B5E3HCJY',
|
measurementId: 'YOUR_MEASUREMENT_ID',
|
||||||
);
|
);
|
||||||
|
|
||||||
static const FirebaseOptions android = FirebaseOptions(
|
static const FirebaseOptions android = FirebaseOptions(
|
||||||
apiKey: 'AIzaSyBUkjWdu9YcgiF-e9TC5hoiEoCjPyjA5hU',
|
apiKey: 'YOUR_ANDROID_API_KEY',
|
||||||
appId: '1:33677883408:android:ebd8565991c56257223295',
|
appId: 'YOUR_ANDROID_APP_ID',
|
||||||
messagingSenderId: '33677883408',
|
messagingSenderId: 'YOUR_MESSAGING_SENDER_ID',
|
||||||
projectId: 'mzansi-innovation-hub',
|
projectId: 'YOUR_PROJECT_ID',
|
||||||
storageBucket: 'mzansi-innovation-hub.firebasestorage.app',
|
storageBucket: 'YOUR_STORAGE_BUCKET',
|
||||||
);
|
);
|
||||||
|
|
||||||
static const FirebaseOptions ios = FirebaseOptions(
|
static const FirebaseOptions ios = FirebaseOptions(
|
||||||
apiKey: 'AIzaSyDRqY5I5CXjEtWkUX1YUfKT8IUlln9PUuY',
|
apiKey: 'YOUR_IOS_API_KEY',
|
||||||
appId: '1:33677883408:ios:2048dac086428716223295',
|
appId: 'YOUR_IOS_APP_ID',
|
||||||
messagingSenderId: '33677883408',
|
messagingSenderId: 'YOUR_MESSAGING_SENDER_ID',
|
||||||
projectId: 'mzansi-innovation-hub',
|
projectId: 'YOUR_PROJECT_ID',
|
||||||
storageBucket: 'mzansi-innovation-hub.firebasestorage.app',
|
storageBucket: 'YOUR_STORAGE_BUCKET',
|
||||||
iosBundleId: 'za.co.mzansiinnovationhub.mih',
|
iosBundleId: 'YOUR_IOS_BUNDLE_ID',
|
||||||
);
|
);
|
||||||
|
|
||||||
static const FirebaseOptions macos = FirebaseOptions(
|
static const FirebaseOptions macos = FirebaseOptions(
|
||||||
apiKey: 'AIzaSyDRqY5I5CXjEtWkUX1YUfKT8IUlln9PUuY',
|
apiKey: 'YOUR_MACOS_API_KEY',
|
||||||
appId: '1:33677883408:ios:e2db11a42fc3452e223295',
|
appId: 'YOUR_MACOS_APP_ID',
|
||||||
messagingSenderId: '33677883408',
|
messagingSenderId: 'YOUR_MESSAGING_SENDER_ID',
|
||||||
projectId: 'mzansi-innovation-hub',
|
projectId: 'YOUR_PROJECT_ID',
|
||||||
storageBucket: 'mzansi-innovation-hub.firebasestorage.app',
|
storageBucket: 'YOUR_STORAGE_BUCKET',
|
||||||
iosBundleId: 'com.example.patientManager',
|
iosBundleId: 'YOUR_MACOS_BUNDLE_ID',
|
||||||
);
|
);
|
||||||
|
|
||||||
static const FirebaseOptions windows = FirebaseOptions(
|
static const FirebaseOptions windows = FirebaseOptions(
|
||||||
apiKey: 'AIzaSyDN-f4sJ4n_fyvrLR193_IIkTsccRVUQxw',
|
apiKey: 'YOUR_WINDOWS_API_KEY',
|
||||||
appId: '1:33677883408:web:e08becaef3261c59223295',
|
appId: 'YOUR_WINDOWS_APP_ID',
|
||||||
messagingSenderId: '33677883408',
|
messagingSenderId: 'YOUR_MESSAGING_SENDER_ID',
|
||||||
projectId: 'mzansi-innovation-hub',
|
projectId: 'YOUR_PROJECT_ID',
|
||||||
authDomain: 'mzansi-innovation-hub.firebaseapp.com',
|
authDomain: 'YOUR_AUTH_DOMAIN',
|
||||||
storageBucket: 'mzansi-innovation-hub.firebasestorage.app',
|
storageBucket: 'YOUR_STORAGE_BUCKET',
|
||||||
measurementId: 'G-FKKENBX8TT',
|
measurementId: 'YOUR_MEASUREMENT_ID',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue