Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] 안드로이드 버전 추가 #299

Merged
merged 2 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ public record ClientVersionGetServiceResponse(
String title,
String content,
String iosVersion,
String iosForceVersion
String iosForceVersion,
String androidVersion,
String androidForceVersion
) {

public static ClientVersionGetServiceResponse of(ValueConfig valueConfig) {
Expand All @@ -19,6 +21,8 @@ public static ClientVersionGetServiceResponse of(ValueConfig valueConfig) {
.content(valueConfig.getCLIENT_VERSION_UPDATE_CONTENT())
.iosVersion(valueConfig.getCLIENT_VERSION_IOS_VERSION())
.iosForceVersion(valueConfig.getCLIENT_VERSION_IOS_FORCE_VERSION())
.androidVersion(valueConfig.getCLIENT_VERSION_ANDROID_VERSION())
.androidVersion(valueConfig.getCLIENT_VERSION_ANDROID_FORCE_VERSION())
.build();
}
}
5 changes: 4 additions & 1 deletion smeem-api/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ smeem:
ios:
app: 2.0.0
force: 2.0.0
android:
app: 2.0.0
force: 2.0.0
notification:
title: "오늘의 영어 훈련, 딱 5분 걸려요!"
body: "지금 눌러서 일기 쓰기 ✍️"
Expand All @@ -63,4 +66,4 @@ sentry:
dsn: ${SENTRY.DSN}
environment: dev
enable-tracing: true
exception-resolver-order: -2147483647
exception-resolver-order: -2147483647
5 changes: 4 additions & 1 deletion smeem-api/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ smeem:
ios:
app: 2.0.1
force: 2.0.0 # 심사 통과 후 3.0.0 업데이트 필요
android:
app: 2.0.0
force: 2.0.0
notification:
title: "오늘의 영어 훈련, 딱 5분 걸려요!"
body: "지금 눌러서 일기 쓰기 ✍️"
Expand All @@ -64,4 +67,4 @@ sentry:
dsn: ${SENTRY.DSN}
environment: prod
enable-tracing: true
exception-resolver-order: -2147483647
exception-resolver-order: -2147483647
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ public class ValueConfig {
@Value("${smeem.client.version.ios.force}")
private String CLIENT_VERSION_IOS_FORCE_VERSION;

@Value("${smeem.client.version.android.app}")
private String CLIENT_VERSION_ANDROID_VERSION;

@Value("${smeem.client.version.android.force}")
private String CLIENT_VERSION_ANDROID_FORCE_VERSION;

public static final String SIGN_IN_MESSAGE = "새로운 유저 %s 가 가입했습니다! ✍️ \n 현재 회원 수: %d 명";

public static final boolean DEFAULT_IS_PUBLIC_VALUE = true;
Expand Down
Loading