Skip to content

Commit 3b71730

Browse files
author
Anchit Makkar
committed
First Version
1 parent 64d3fac commit 3b71730

34 files changed

+228
-1001
lines changed

assets/language/ar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@
432432
"customerRating": "تقييم العملاء",
433433
"closeApp": "سيتم إغلاق طلبك خلال ثانيتين",
434434
"noProducts": "لا توجد منتجات",
435-
"pending": "قيد الانتظار",
435+
"pending": "معلق",
436436
"closed": "مغلق",
437437
"paymentDetails": "بيانات الدفع",
438438
"adjustedRefund": "استرداد المعدل",

ios/Runner/AppDelegate.swift

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
import UIKit
22
import Flutter
3+
import GoogleMaps
4+
import Firebase
35

46
@UIApplicationMain
5-
@objc class AppDelegate: FlutterAppDelegate {
7+
@objc class AppDelegate: FlutterAppDelegate, MessagingDelegate {
68
override func application(
79
_ application: UIApplication,
810
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
911
) -> Bool {
12+
GMSServices.provideAPIKey("AIzaSyAHMKgHxLvPvRwmOaB8NHWcFwn6laFvwbM")
13+
if #available(iOS 10.0, *) {
14+
UNUserNotificationCenter.current().delegate = self
15+
}
16+
application.registerForRemoteNotifications()
17+
Messaging.messaging().delegate = self
18+
1019
GeneratedPluginRegistrant.register(with: self)
1120
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
1221
}

ios/Runner/Info.plist

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
<dict>
55
<key>CADisableMinimumFrameDurationOnPhone</key>
66
<true/>
7-
<key>NSCameraUsageDescription</key>
8-
<string>For uploading profile image</string>
97
<key>CFBundleDevelopmentRegion</key>
108
<string>$(DEVELOPMENT_LANGUAGE)</string>
119
<key>CFBundleDisplayName</key>
@@ -28,8 +26,21 @@
2826
<string>$(FLUTTER_BUILD_NUMBER)</string>
2927
<key>LSRequiresIPhoneOS</key>
3028
<true/>
29+
<key>NSCameraUsageDescription</key>
30+
<string>For uploading profile image</string>
31+
<key>NSMicrophoneUsageDescription</key>
32+
<string>For recognise voice phrases to search products</string>
33+
<key>NSPhotoLibraryUsageDescription</key>
34+
<string>For customer profile picture</string>
35+
<key>NSSpeechRecognitionUsageDescription</key>
36+
<string>We need access to the microphone for searching product.</string>
3137
<key>UIApplicationSupportsIndirectInputEvents</key>
3238
<true/>
39+
<key>UIBackgroundModes</key>
40+
<array>
41+
<string>fetch</string>
42+
<string>remote-notification</string>
43+
</array>
3344
<key>UILaunchStoryboardName</key>
3445
<string>LaunchScreen.storyboard</string>
3546
<key>UIMainStoryboardFile</key>
@@ -47,9 +58,5 @@
4758
</array>
4859
<key>UIViewControllerBasedStatusBarAppearance</key>
4960
<false/>
50-
<key>NSSpeechRecognitionUsageDescription</key>
51-
<string>We need access to the microphone for searching product.</string>
52-
<key>NSMicrophoneUsageDescription</key>
53-
<string>For recognise voice phrases to search products</string>
5461
</dict>
5562
</plist>

lib/data_model/sign_in_model/signin_model.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class Data {
5252
this.group,
5353
this.createdAt,
5454
this.updatedAt,
55+
this.imageUrl
5556
});
5657

5758
String? id;
@@ -63,6 +64,7 @@ class Data {
6364
String? dateOfBirth;
6465
var phone;
6566
Group? group;
67+
String? imageUrl;
6668
String? createdAt;
6769
String? updatedAt;
6870

lib/data_model/sign_up_model/sign_up_seller_model.dart

Lines changed: 0 additions & 145 deletions
This file was deleted.

0 commit comments

Comments
 (0)