Skip to content

Commit

Permalink
[fix] EncryptedSharedPreference 관련 오류사항 (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
2chang5 authored and pingu244 committed Sep 28, 2023
1 parent 32a34b9 commit 0859411
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import javax.inject.Singleton
@InstallIn(SingletonComponent::class)
object LocalPreferenceModule {
private const val TRIP_PREFERENCE_FILE_NAME = "TRIP_PREFERENCE"
private const val USER_IDENTIFY_INFO_PREFERENCE_FILE_NAME = "encryptedLoginInfoPreference"

@Provides
@Singleton
Expand All @@ -28,7 +29,7 @@ object LocalPreferenceModule {
.build()
return EncryptedSharedPreferences.create(
context,
"encryptedLoginInfoPreference",
USER_IDENTIFY_INFO_PREFERENCE_FILE_NAME,
masterKey,
EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV,
EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256_GCM,
Expand Down
5 changes: 1 addition & 4 deletions android/app/src/main/res/xml/backup_rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@
See https://developer.android.com/about/versions/12/backup-restore
-->
<full-backup-content>
<!--
<include domain="sharedpref" path="."/>
<exclude domain="sharedpref" path="device.xml"/>
-->
<exclude domain="sharedpref" path="."/>
</full-backup-content>

0 comments on commit 0859411

Please sign in to comment.