(salt)
| 59 | |
| 60 | export default { |
| 61 | init(salt) { |
| 62 | instance = new SecureKeychain(salt); |
| 63 | |
| 64 | if (Device.isAndroid && Keychain.SECURITY_LEVEL?.SECURE_HARDWARE) |
| 65 | MetaMetrics.getInstance().trackEvent( |
| 66 | MetaMetricsEvents.ANDROID_HARDWARE_KEYSTORE, |
| 67 | ); |
| 68 | |
| 69 | Object.freeze(instance); |
| 70 | return instance; |
| 71 | }, |
| 72 | |
| 73 | getInstance() { |
| 74 | return instance; |
nothing calls this directly
no test coverage detected