Skip to content

Commit

Permalink
Merge branch 'develop' into feat/SAPHY-33-product-favlist
Browse files Browse the repository at this point in the history
  • Loading branch information
yummjin authored Oct 4, 2024
2 parents 2bd3ec7 + d71202c commit d34a270
Show file tree
Hide file tree
Showing 26 changed files with 1,022 additions and 771 deletions.
27 changes: 13 additions & 14 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,6 @@ package="com.inq.saphy">
<application
android:label="Saphy"
android:icon="@mipmap/ic_launcher">
<!-- 카카오 로그인 커스텀 URL 스킴 설정 -->
<activity
android:name="com.kakao.sdk.flutter.AuthCodeCustomTabsActivity"
android:exported="true">
<intent-filter android:label="flutter_web_auth">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<!-- "kakao${YOUR_NATIVE_APP_KEY}://oauth" 형식의 앱 실행 스킴 설정 -->
<!-- 카카오 로그인 Redirect URI -->
<data android:scheme="kakao${YOUR_NATIVE_APP_KEY}" android:host="oauth"/>
</intent-filter>
</activity>
<activity
android:name=".MainActivity"
android:exported="true"
Expand All @@ -36,6 +22,19 @@ package="com.inq.saphy">
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<!-- 카카오 로그인 커스텀 URL 스킴 설정 -->
<activity
android:name="com.kakao.sdk.flutter.AuthCodeCustomTabsActivity"
android:exported="true">
<intent-filter android:label="flutter_web_auth">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<!-- Redirect URI, "kakao${YOUR_NATIVE_APP_KEY}://oauth" 형식 -->
<data android:scheme="kakao${YOUR_NATIVE_APP_KEY}" android:host="oauth"/>
</intent-filter>
</activity>
<meta-data
android:name="flutterEmbedding"
android:value="2" />
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion firebase.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"flutter":{"platforms":{"android":{"default":{"projectId":"saphy-27f69","appId":"1:754445879555:android:a8dc2d555589872e04c136","fileOutput":"android/app/google-services.json"}},"ios":{"default":{"projectId":"saphy-27f69","appId":"1:754445879555:ios:8ad3553c76c38b9104c136","uploadDebugSymbols":false,"fileOutput":"ios/Runner/GoogleService-Info.plist"}},"macos":{"default":{"projectId":"saphy-27f69","appId":"1:754445879555:ios:8ad3553c76c38b9104c136","uploadDebugSymbols":false,"fileOutput":"macos/Runner/GoogleService-Info.plist"}},"dart":{"lib/firebase_options.dart":{"projectId":"saphy-27f69","configurations":{"android":"1:754445879555:android:a8dc2d555589872e04c136","ios":"1:754445879555:ios:8ad3553c76c38b9104c136","macos":"1:754445879555:ios:8ad3553c76c38b9104c136","web":"1:754445879555:web:cc2e656898a440c704c136","windows":"1:754445879555:web:c72a3706a7218a5b04c136"}}}}}}
{"flutter":{"platforms":{"android":{"default":{"projectId":"saphy-27f69","appId":"1:754445879555:android:a6b348ed20bee7aa04c136","fileOutput":"android/app/google-services.json"}},"ios":{"default":{"projectId":"saphy-27f69","appId":"1:754445879555:ios:32c64f4e933a9be504c136","uploadDebugSymbols":false,"fileOutput":"ios/Runner/GoogleService-Info.plist"}},"macos":{"default":{"projectId":"saphy-27f69","appId":"1:754445879555:ios:e10abf321d33a90604c136","uploadDebugSymbols":false,"fileOutput":"macos/Runner/GoogleService-Info.plist"}},"dart":{"lib/firebase_options.dart":{"projectId":"saphy-27f69","configurations":{"android":"1:754445879555:android:a6b348ed20bee7aa04c136","ios":"1:754445879555:ios:32c64f4e933a9be504c136","macos":"1:754445879555:ios:e10abf321d33a90604c136","web":"1:754445879555:web:cc2e656898a440c704c136","windows":"1:754445879555:web:c72a3706a7218a5b04c136"}}}}}}
2 changes: 1 addition & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
platform :ios, '12.0'
# platform :ios, '12.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
46 changes: 19 additions & 27 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
PODS:
- app_links (0.0.2):
- Flutter
- AppAuth (1.7.5):
- AppAuth/Core (= 1.7.5)
- AppAuth/ExternalUserAgent (= 1.7.5)
Expand Down Expand Up @@ -32,13 +34,6 @@ PODS:
- FirebaseCoreInternal (10.29.0):
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- Flutter (1.0.0)
- flutter_inappwebview_ios (0.0.1):
- Flutter
- flutter_inappwebview_ios/Core (= 0.0.1)
- OrderedSet (~> 6.0.3)
- flutter_inappwebview_ios/Core (0.0.1):
- Flutter
- OrderedSet (~> 6.0.3)
- flutter_native_splash (0.0.1):
- Flutter
- flutter_secure_storage (6.0.0):
Expand Down Expand Up @@ -83,10 +78,11 @@ PODS:
- GTMSessionFetcher/Core (3.5.0)
- GTMSessionFetcher/Full (3.5.0):
- GTMSessionFetcher/Core
- kakao_flutter_sdk_common (1.9.2):
- iamport_flutter (0.0.1):
- Flutter
- OrderedSet (6.0.3)
- os_info_plugin (0.0.1):
- iamport_webview_flutter (0.0.1):
- Flutter
- kakao_flutter_sdk_common (1.9.2):
- Flutter
- path_provider_foundation (0.0.1):
- Flutter
Expand All @@ -99,27 +95,25 @@ PODS:
- sqflite (0.0.3):
- Flutter
- FlutterMacOS
- tosspayments_webview_flutter (0.0.1):
- Flutter
- url_launcher_ios (0.0.1):
- Flutter
- webview_flutter_wkwebview (0.0.1):
- Flutter

DEPENDENCIES:
- app_links (from `.symlinks/plugins/app_links/ios`)
- firebase_auth (from `.symlinks/plugins/firebase_auth/ios`)
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
- Flutter (from `Flutter`)
- flutter_inappwebview_ios (from `.symlinks/plugins/flutter_inappwebview_ios/ios`)
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
- google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`)
- iamport_flutter (from `.symlinks/plugins/iamport_flutter/ios`)
- iamport_webview_flutter (from `.symlinks/plugins/iamport_webview_flutter/ios`)
- kakao_flutter_sdk_common (from `.symlinks/plugins/kakao_flutter_sdk_common/ios`)
- os_info_plugin (from `.symlinks/plugins/os_info_plugin/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- sqflite (from `.symlinks/plugins/sqflite/darwin`)
- tosspayments_webview_flutter (from `.symlinks/plugins/tosspayments_webview_flutter/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)

Expand All @@ -135,43 +129,43 @@ SPEC REPOS:
- GoogleUtilities
- GTMAppAuth
- GTMSessionFetcher
- OrderedSet
- PromisesObjC
- RecaptchaInterop

EXTERNAL SOURCES:
app_links:
:path: ".symlinks/plugins/app_links/ios"
firebase_auth:
:path: ".symlinks/plugins/firebase_auth/ios"
firebase_core:
:path: ".symlinks/plugins/firebase_core/ios"
Flutter:
:path: Flutter
flutter_inappwebview_ios:
:path: ".symlinks/plugins/flutter_inappwebview_ios/ios"
flutter_native_splash:
:path: ".symlinks/plugins/flutter_native_splash/ios"
flutter_secure_storage:
:path: ".symlinks/plugins/flutter_secure_storage/ios"
google_sign_in_ios:
:path: ".symlinks/plugins/google_sign_in_ios/darwin"
iamport_flutter:
:path: ".symlinks/plugins/iamport_flutter/ios"
iamport_webview_flutter:
:path: ".symlinks/plugins/iamport_webview_flutter/ios"
kakao_flutter_sdk_common:
:path: ".symlinks/plugins/kakao_flutter_sdk_common/ios"
os_info_plugin:
:path: ".symlinks/plugins/os_info_plugin/ios"
path_provider_foundation:
:path: ".symlinks/plugins/path_provider_foundation/darwin"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
sqflite:
:path: ".symlinks/plugins/sqflite/darwin"
tosspayments_webview_flutter:
:path: ".symlinks/plugins/tosspayments_webview_flutter/ios"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"
webview_flutter_wkwebview:
:path: ".symlinks/plugins/webview_flutter_wkwebview/ios"

SPEC CHECKSUMS:
app_links: e7a6750a915a9e161c58d91bc610e8cd1d4d0ad0
AppAuth: 501c04eda8a8d11f179dbe8637b7a91bb7e5d2fa
Firebase: 414ad272f8d02dfbf12662a9d43f4bba9bec2a06
firebase_auth: 8e9ec02991ca4659111cc671c84d0c010b6bfb26
Expand All @@ -181,26 +175,24 @@ SPEC CHECKSUMS:
FirebaseCore: 2322423314d92f946219c8791674d2f3345b598f
FirebaseCoreInternal: df84dd300b561c27d5571684f389bf60b0a5c934
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_inappwebview_ios: 6f63631e2c62a7c350263b13fa5427aedefe81d4
flutter_native_splash: edf599c81f74d093a4daf8e17bd7a018854bc778
flutter_secure_storage: d33dac7ae2ea08509be337e775f6b59f1ff45f12
google_sign_in_ios: 07375bfbf2620bc93a602c0e27160d6afc6ead38
GoogleSignIn: d4281ab6cf21542b1cfaff85c191f230b399d2db
GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15
GTMAppAuth: f69bd07d68cd3b766125f7e072c45d7340dea0de
GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6
iamport_flutter: f698983444b7c0f83e356407631cfeec77a776bf
iamport_webview_flutter: 70dbc31045e4cf7a0c829b76c6f8319dc94b299e
kakao_flutter_sdk_common: 049c9341e325da17ac75751a35646dbbcfa06891
OrderedSet: e539b66b644ff081c73a262d24ad552a69be3a94
os_info_plugin: d89ddf87e910a0d598fc4fc69d2b8f0f8239314f
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
RecaptchaInterop: 7d1a4a01a6b2cb1610a47ef3f85f0c411434cb21
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
tosspayments_webview_flutter: ceae304825a077de594d01ee39dd0ce2307adb4e
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
webview_flutter_wkwebview: b7e70ef1ddded7e69c796c7390ee74180182971f

PODFILE CHECKSUM: 7be2f5f74864d463a8ad433546ed1de7e0f29aef
PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796

COCOAPODS: 1.15.2
2 changes: 1 addition & 1 deletion ios/Runner/GoogleService-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.754445879555-aim3102ob65o26m3vm5clj7hkspsr4jf</string>
<key>ANDROID_CLIENT_ID</key>
<string>754445879555-2cf68o04seos49f93a81tnu8mr49ev7k.apps.googleusercontent.com</string>
<string>754445879555-95gt3epsg0eevl2rdt5rnaoquh5v635c.apps.googleusercontent.com</string>
<key>API_KEY</key>
<string>AIzaSyD5KcUUEsmJ4EUnEpYCtnsDUdlsIlaRvrY</string>
<key>GCM_SENDER_ID</key>
Expand Down
22 changes: 11 additions & 11 deletions lib/firebase_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,32 +50,32 @@ class DefaultFirebaseOptions {
);

static const FirebaseOptions android = FirebaseOptions(
apiKey: 'AIzaSyDvgHWxTCbZ8jlDktwOtfAnacs5JN2ZI9o',
appId: '1:754445879555:android:a8dc2d555589872e04c136',
apiKey: 'AIzaSyAXpfjBxnrqvdaH30upxsuHtuVFiA3JTFU',
appId: '1:754445879555:android:a6b348ed20bee7aa04c136',
messagingSenderId: '754445879555',
projectId: 'saphy-27f69',
storageBucket: 'saphy-27f69.appspot.com',
);

static const FirebaseOptions ios = FirebaseOptions(
apiKey: 'AIzaSyCtHWeObFJDgM4Why074HeusteeltZxCbw',
appId: '1:754445879555:ios:8ad3553c76c38b9104c136',
apiKey: 'AIzaSyD5KcUUEsmJ4EUnEpYCtnsDUdlsIlaRvrY',
appId: '1:754445879555:ios:32c64f4e933a9be504c136',
messagingSenderId: '754445879555',
projectId: 'saphy-27f69',
storageBucket: 'saphy-27f69.appspot.com',
androidClientId: '754445879555-2cf68o04seos49f93a81tnu8mr49ev7k.apps.googleusercontent.com',
iosClientId: '754445879555-r1fu6an4tqau05de9hc6vffif00r950b.apps.googleusercontent.com',
iosBundleId: 'com.example.saphy',
androidClientId: '754445879555-95gt3epsg0eevl2rdt5rnaoquh5v635c.apps.googleusercontent.com',
iosClientId: '754445879555-aim3102ob65o26m3vm5clj7hkspsr4jf.apps.googleusercontent.com',
iosBundleId: 'com.inq.saphy',
);

static const FirebaseOptions macos = FirebaseOptions(
apiKey: 'AIzaSyCtHWeObFJDgM4Why074HeusteeltZxCbw',
appId: '1:754445879555:ios:8ad3553c76c38b9104c136',
apiKey: 'AIzaSyD5KcUUEsmJ4EUnEpYCtnsDUdlsIlaRvrY',
appId: '1:754445879555:ios:e10abf321d33a90604c136',
messagingSenderId: '754445879555',
projectId: 'saphy-27f69',
storageBucket: 'saphy-27f69.appspot.com',
androidClientId: '754445879555-2cf68o04seos49f93a81tnu8mr49ev7k.apps.googleusercontent.com',
iosClientId: '754445879555-r1fu6an4tqau05de9hc6vffif00r950b.apps.googleusercontent.com',
androidClientId: '754445879555-95gt3epsg0eevl2rdt5rnaoquh5v635c.apps.googleusercontent.com',
iosClientId: '754445879555-dtu8qtal15i5ef8hpikfisduur4qnivb.apps.googleusercontent.com',
iosBundleId: 'com.example.saphy',
);

Expand Down
37 changes: 37 additions & 0 deletions lib/models/accountinfo.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
class AccountInfo {
String? loginId;
String? name;
String? nickName;
String? phoneNumber;
String? email;
String? socialType;

AccountInfo({
this.loginId,
this.name,
this.nickName,
this.phoneNumber,
this.email,
this.socialType,
});

AccountInfo.fromJson(Map<String, dynamic> json) {
loginId = json['loginId'];
name = json['name'];
nickName = json['nickName'];
phoneNumber = json['phoneNumber'];
email = json['email'];
socialType = json['socialType'];
}

Map<String, dynamic> toJson() {
final Map<String, dynamic> data = {};
data['loginId'] = loginId;
data['name'] = name;
data['nickName'] = nickName;
data['phoneNumber'] = phoneNumber;
data['email'] = email;
data['socialType'] = socialType;
return data;
}
}
57 changes: 57 additions & 0 deletions lib/models/memberinfo.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
class MemberInfo {
String? nickname;
String? profileImgUrl;
int? purchasePendingCount;
int? purchaseInProgressCount;
int? purchaseCompletedCount;
int? deliveryStartedCount;
int? deliveryGoingCount;
int? deliveryDeliveredCount;
int? salesPendingCount;
int? salesInProgressCount;
int? salesCompletedCount;

MemberInfo({
this.nickname,
this.profileImgUrl,
this.purchasePendingCount,
this.purchaseInProgressCount,
this.purchaseCompletedCount,
this.deliveryStartedCount,
this.deliveryGoingCount,
this.deliveryDeliveredCount,
this.salesPendingCount,
this.salesInProgressCount,
this.salesCompletedCount,
});

MemberInfo.fromJson(Map<String, dynamic> json) {
nickname = json['nickname'];
profileImgUrl = json['profileImgUrl'];
purchasePendingCount = json['purchasePendingCount'];
purchaseInProgressCount = json['purchaseInProgressCount'];
purchaseCompletedCount = json['purchaseCompletedCount'];
deliveryStartedCount = json['deliveryStartedCount'];
deliveryGoingCount = json['deliveryGoingCount'];
deliveryDeliveredCount = json['deliveryDeliveredCount'];
salesPendingCount = json['salesPendingCount'];
salesInProgressCount = json['salesInProgressCount'];
salesCompletedCount = json['salesCompletedCount'];
}

Map<String, dynamic> toJson() {
final Map<String, dynamic> data = {};
data['nickname'] = nickname;
data['profileImgUrl'] = profileImgUrl;
data['purchasePendingCount'] = purchasePendingCount;
data['purchaseInProgressCount'] = purchaseInProgressCount;
data['purchaseCompletedCount'] = purchaseCompletedCount;
data['deliveryStartedCount'] = deliveryStartedCount;
data['deliveryGoingCount'] = deliveryGoingCount;
data['deliveryDeliveredCount'] = deliveryDeliveredCount;
data['salesPendingCount'] = salesPendingCount;
data['salesInProgressCount'] = salesInProgressCount;
data['salesCompletedCount'] = salesCompletedCount;
return data;
}
}
Loading

0 comments on commit d34a270

Please sign in to comment.