Skip to content

Commit

Permalink
First Version
Browse files Browse the repository at this point in the history
  • Loading branch information
Anchit Makkar committed Jan 8, 2024
1 parent 64d3fac commit 3b71730
Show file tree
Hide file tree
Showing 34 changed files with 228 additions and 1,001 deletions.
2 changes: 1 addition & 1 deletion assets/language/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@
"customerRating": "تقييم العملاء",
"closeApp": "سيتم إغلاق طلبك خلال ثانيتين",
"noProducts": "لا توجد منتجات",
"pending": "قيد الانتظار",
"pending": "معلق",
"closed": "مغلق",
"paymentDetails": "بيانات الدفع",
"adjustedRefund": "استرداد المعدل",
Expand Down
11 changes: 10 additions & 1 deletion ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
import UIKit
import Flutter
import GoogleMaps
import Firebase

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
@objc class AppDelegate: FlutterAppDelegate, MessagingDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GMSServices.provideAPIKey("AIzaSyAHMKgHxLvPvRwmOaB8NHWcFwn6laFvwbM")
if #available(iOS 10.0, *) {
UNUserNotificationCenter.current().delegate = self
}
application.registerForRemoteNotifications()
Messaging.messaging().delegate = self

GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
Expand Down
19 changes: 13 additions & 6 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>NSCameraUsageDescription</key>
<string>For uploading profile image</string>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
Expand All @@ -28,8 +26,21 @@
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSCameraUsageDescription</key>
<string>For uploading profile image</string>
<key>NSMicrophoneUsageDescription</key>
<string>For recognise voice phrases to search products</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>For customer profile picture</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>We need access to the microphone for searching product.</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key>
<array>
<string>fetch</string>
<string>remote-notification</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen.storyboard</string>
<key>UIMainStoryboardFile</key>
Expand All @@ -47,9 +58,5 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>NSSpeechRecognitionUsageDescription</key>
<string>We need access to the microphone for searching product.</string>
<key>NSMicrophoneUsageDescription</key>
<string>For recognise voice phrases to search products</string>
</dict>
</plist>
2 changes: 2 additions & 0 deletions lib/data_model/sign_in_model/signin_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class Data {
this.group,
this.createdAt,
this.updatedAt,
this.imageUrl
});

String? id;
Expand All @@ -63,6 +64,7 @@ class Data {
String? dateOfBirth;
var phone;
Group? group;
String? imageUrl;
String? createdAt;
String? updatedAt;

Expand Down
145 changes: 0 additions & 145 deletions lib/data_model/sign_up_model/sign_up_seller_model.dart

This file was deleted.

Loading

0 comments on commit 3b71730

Please sign in to comment.