diff --git a/ios/Runner/GoogleService-Info.plist b/ios/Runner/GoogleService-Info.plist
new file mode 100644
index 0000000..d81edc0
--- /dev/null
+++ b/ios/Runner/GoogleService-Info.plist
@@ -0,0 +1,34 @@
+
+
+
+
+ CLIENT_ID
+ 243168622483-j2n9iso4qa9lmioou32pik9u431kl49g.apps.googleusercontent.com
+ REVERSED_CLIENT_ID
+ com.googleusercontent.apps.243168622483-j2n9iso4qa9lmioou32pik9u431kl49g
+ API_KEY
+ AIzaSyDwUlZTdnWEo4SS6ovnm8DU9ISg5g8lK1k
+ GCM_SENDER_ID
+ 243168622483
+ PLIST_VERSION
+ 1
+ BUNDLE_ID
+ com.cyblogerz.nallagram
+ PROJECT_ID
+ nallagram-ac
+ STORAGE_BUCKET
+ nallagram-ac.appspot.com
+ IS_ADS_ENABLED
+
+ IS_ANALYTICS_ENABLED
+
+ IS_APPINVITE_ENABLED
+
+ IS_GCM_ENABLED
+
+ IS_SIGNIN_ENABLED
+
+ GOOGLE_APP_ID
+ 1:243168622483:ios:98911caf952c5700299a66
+
+
\ 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 0000000..ac7341f
--- /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:243168622483:ios:98911caf952c5700299a66",
+ "FIREBASE_PROJECT_ID": "nallagram-ac",
+ "GCM_SENDER_ID": "243168622483"
+}
\ No newline at end of file
diff --git a/lib/firebase_options.dart b/lib/firebase_options.dart
new file mode 100644
index 0000000..a6c09a9
--- /dev/null
+++ b/lib/firebase_options.dart
@@ -0,0 +1,69 @@
+// 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: 'AIzaSyAi1aYB6DP5z48KrldSk3TMPF7R-USVQ-o',
+ appId: '1:243168622483:android:babba9cf0993aa73299a66',
+ messagingSenderId: '243168622483',
+ projectId: 'nallagram-ac',
+ storageBucket: 'nallagram-ac.appspot.com',
+ );
+
+ static const FirebaseOptions ios = FirebaseOptions(
+ apiKey: 'AIzaSyDwUlZTdnWEo4SS6ovnm8DU9ISg5g8lK1k',
+ appId: '1:243168622483:ios:98911caf952c5700299a66',
+ messagingSenderId: '243168622483',
+ projectId: 'nallagram-ac',
+ storageBucket: 'nallagram-ac.appspot.com',
+ iosClientId: '243168622483-j2n9iso4qa9lmioou32pik9u431kl49g.apps.googleusercontent.com',
+ iosBundleId: 'com.cyblogerz.nallagram',
+ );
+}
diff --git a/lib/main.dart b/lib/main.dart
index 3418c49..ec4d24b 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
+import 'package:nallagram/firebase_options.dart';
import 'package:nallagram/nav.dart';
import 'package:nallagram/screens/Authenticate/login_screen.dart';
import 'package:nallagram/screens/Chat/calls_chat.dart';
@@ -15,7 +16,9 @@ final _auth = FirebaseAuth.instance;
Future main() async {
WidgetsFlutterBinding.ensureInitialized();
- await Firebase.initializeApp();
+ await Firebase.initializeApp(
+ options: DefaultFirebaseOptions.currentPlatform,
+ );
runApp(MyApp());
}
diff --git a/lib/models/user_model.dart b/lib/models/user_model.dart
new file mode 100644
index 0000000..363f4e8
--- /dev/null
+++ b/lib/models/user_model.dart
@@ -0,0 +1,17 @@
+class User {
+ final String name;
+ final String desc;
+ final String profileurl;
+ final int followers;
+ final int following;
+ final int posts;
+
+ User({
+ this.desc,
+ this.profileurl,
+ this.followers,
+ this.following,
+ this.posts,
+ this.name,
+ });
+}
diff --git a/lib/services/fetch_explore.dart b/lib/services/fetch_explore.dart
new file mode 100644
index 0000000..e69de29
diff --git a/lib/services/fetch_post.dart b/lib/services/fetch_post.dart
new file mode 100644
index 0000000..e69de29
diff --git a/lib/services/fetch_users.dart b/lib/services/fetch_users.dart
new file mode 100644
index 0000000..e69de29
diff --git a/pubspec.yaml b/pubspec.yaml
index 794ff51..e6996ec 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -30,7 +30,7 @@ dependencies:
emoji_picker_flutter: ^1.4.0
file_picker: ^5.2.0+1
firebase_auth: ^3.3.3
- firebase_core: ^1.10.5
+ firebase_core: ^1.24.0
firebase_messaging: ^11.2.3
firebase_storage: ^10.2.3
flutter: