feat: support RN app migration #561
5 new alerts
New alerts in code changed by this pull request
- 5 warnings
See annotations below for details.
Annotations
Check warning on line 1043 in app/src/main/java/to/bitkit/services/MigrationService.kt
Code scanning / detekt
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled. Warning
Check warning on line 176 in app/src/main/java/to/bitkit/services/RNBackupClient.kt
Code scanning / detekt
The loop contains more than one break or continue statement. The code should be refactored to increase readability. Warning
Check warning on line 305 in app/src/main/java/to/bitkit/services/RNBackupClient.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 306 in app/src/main/java/to/bitkit/services/RNBackupClient.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 187 in app/src/main/java/to/bitkit/viewmodels/WalletViewModel.kt
Code scanning / detekt
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled. Warning