Skip to content

Commit

Permalink
fix: improve error handling for realm key data decryption
Browse files Browse the repository at this point in the history
  • Loading branch information
N3TC4T committed Oct 9, 2024
1 parent d1547b2 commit 9e1c346
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ class Application {
if (message) {
if (
message.indexOf('Realm file decryption failed') > -1 ||
message.indexOf('Could not decrypt data') > -1 ||
message.indexOf('Could not decrypt bytes') > -1
) {
Alert.alert('Error', ErrorMessages.storageDecryptionFailed, [
Expand Down

0 comments on commit 9e1c346

Please sign in to comment.