Implemented firebase and onesignal

This commit is contained in:
Abdullah Alassaf
2024-05-23 17:09:10 +03:00
parent f7db91f212
commit cda41ecf74
17 changed files with 312 additions and 64 deletions

View File

@ -1,5 +1,5 @@
// File generated by FlutterFire CLI.
// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members
// ignore_for_file: type=lint
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
import 'package:flutter/foundation.dart'
show defaultTargetPlatform, kIsWeb, TargetPlatform;
@ -17,10 +17,7 @@ import 'package:flutter/foundation.dart'
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.',
);
return web;
}
switch (defaultTargetPlatform) {
case TargetPlatform.android:
@ -50,30 +47,30 @@ class DefaultFirebaseOptions {
}
static const FirebaseOptions android = FirebaseOptions(
apiKey: '',
//'AIzaSyDXEMzUFunmu9RX9bbzwKldLDgxhPXyCyg',
appId: '',
//'1:922241269489:android:2b51e077ee59a8da5d7350',
messagingSenderId: '',
//'922241269489',
projectId: '',
// 'realkeyper-v3',
storageBucket: '', // 'realkeyper-v3.appspot.com',
apiKey: 'AIzaSyA5qOErxdm0zJmoHIB0TixfebYEsNRpwV0',
appId: '1:427332280600:android:bb6047adeeb80fb00c7e6d',
messagingSenderId: '427332280600',
projectId: 'test2-8a3d2',
storageBucket: 'test2-8a3d2.appspot.com',
);
static const FirebaseOptions ios = FirebaseOptions(
apiKey: '',
//'AIzaSyD2r7wkhuYKTRH-FM-6PVNfzqE865ASYys',
appId: '',
//'1:922241269489:ios:9a43e191466515c65d7350',
messagingSenderId: '',
//'922241269489',
projectId: '',
//'realkeyper-v3',
storageBucket: '',
//'realkeyper-v3.appspot.com',
iosClientId: '',
//'922241269489-01hod7jlea19gg983v0b1nfmp7ce6p0v.apps.googleusercontent.com',
iosBundleId: '', //'com.realkeyper.investorapp2',
apiKey: 'AIzaSyABnpH6yo2RRjtkp4PlvtK84hKwRm2DhBw',
appId: '1:427332280600:ios:373a65cce55a3af40c7e6d',
messagingSenderId: '427332280600',
projectId: 'test2-8a3d2',
storageBucket: 'test2-8a3d2.appspot.com',
iosBundleId: 'com.example.syncrowApp',
);
}
static const FirebaseOptions web = FirebaseOptions(
apiKey: 'AIzaSyCVEvKsJYzhWDFM-9Od68FE0nPpP933st0',
appId: '1:427332280600:web:ad50516a87a35a1a0c7e6d',
messagingSenderId: '427332280600',
projectId: 'test2-8a3d2',
authDomain: 'test2-8a3d2.firebaseapp.com',
storageBucket: 'test2-8a3d2.appspot.com',
measurementId: 'G-Z1RTTTV5H9',
);
}