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

#169 / [QA] 닉네임 뷰 오류사항 수정 및 센트리 연결 #170

Merged
merged 2 commits into from
Dec 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
17 changes: 17 additions & 0 deletions .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ plugins {
id 'com.google.gms.google-services'
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
id 'com.google.android.gms.oss-licenses-plugin'
id "io.sentry.android.gradle" version "4.0.0"
}

Properties properties = new Properties()
Expand Down
27 changes: 27 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,33 @@
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>

<!-- Required: set your sentry.io project identifier (DSN) -->
<meta-data
android:name="io.sentry.dsn"
android:value="https://321f5b5bad325cb7bcd5c9a0f9346fff@o4505393164124160.ingest.sentry.io/4506393051594752" />

<!-- enable automatic breadcrumbs for user interactions (clicks, swipes, scrolls) -->
<meta-data
android:name="io.sentry.traces.user-interaction.enable"
android:value="true" />
<!-- enable screenshot for crashes -->
<meta-data
android:name="io.sentry.attach-screenshot"
android:value="true" />
<!-- enable view hierarchy for crashes -->
<meta-data
android:name="io.sentry.attach-view-hierarchy"
android:value="true" />

<!-- enable the performance API by setting a sample-rate, adjust in production env -->
<meta-data
android:name="io.sentry.traces.sample-rate"
android:value="1.0" />
<!-- enable profiling when starting transactions, adjust in production env -->
<meta-data
android:name="io.sentry.traces.profiling.sample-rate"
android:value="1.0" />
</application>

</manifest>
6 changes: 5 additions & 1 deletion app/src/main/res/layout/activity_nickname.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

<import type="android.view.View" />

<variable
name="cons"
type="sopt.uni.presentation.common.content.ConstKt" />

<variable
name="viewModel"
type="sopt.uni.presentation.invite.NickNameViewModel" />
Expand Down Expand Up @@ -88,7 +92,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:text="@{viewModel.nickName.length() + ` / 10`}"
android:text="@{viewModel.nickName.length() + ` / ` + cons.MAX_LENGTH}"
android:textColor="@{viewModel.nickName.length() > 5 ? @color/Red_500 : @color/Gray_400}"
app:layout_constraintEnd_toEndOf="@id/et_nickname"
app:layout_constraintTop_toBottomOf="@id/et_nickname"
Expand Down
Loading