Skip to content

Commit

Permalink
[hotfix] 누락된 약관 화면 및 잘못된 회원탈퇴 파라미터 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapeKim98 committed Aug 29, 2024
1 parent b0302df commit c4d7d7e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Projects/App/Resources/Pokit-info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
<string>$(AppleKeyID)</string>
<key>BGTaskSchedulerPermittedIdentifiers</key>
<string>com.pokitmons.pokit.taskidentifier</string>
<key>FirebaseAppDelegateProxyEnabled</key>
<false/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
Expand All @@ -19,7 +17,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<string>Pokit</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand All @@ -45,6 +43,8 @@
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>FirebaseAppDelegateProxyEnabled</key>
<false/>
<key>GIDClientID</key>
<string>$(GIDClientID)</string>
<key>ITSAppUsesNonExemptEncryption</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ extension AuthEndpoint: TargetType {
parameters: [
"client_id": "com.pokitmons.pokit",
"client_secret": requestModel.jwt,
"token": refreshToken
"token": refreshToken,
"token_type_hint": "refresh_token"
],
encoding: URLEncoding.default
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ public extension AgreeToTermsView {
}
}
}
.fullScreenCover(isPresented: $store.isWebViewPresented) {
PokitWebView(url: $store.webViewURL)
.ignoresSafeArea()
}
.ignoresSafeArea(edges: .bottom)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private extension PokitSettingFeature {
switch action {
case .회원탈퇴_네트워크:
return .run { send in
guard let refreshToken = keychain.read(.refreshToken) else {
guard keychain.read(.refreshToken) != nil else {
print("refresh가 없어서 벗어남")
return
}
Expand All @@ -228,7 +228,7 @@ private extension PokitSettingFeature {
await send(.async(.키_제거))

try await authClient.appleRevoke(
refreshToken,
serverRefreshToken,
AppleTokenRequest(
authCode: authCode,
jwt: jwt
Expand Down

0 comments on commit c4d7d7e

Please sign in to comment.