Fix #15: PCI-DSS compliance - remove persistent CVV storage from Flutter apps
This commit is contained in:
@@ -252,6 +252,9 @@ void main() {
|
||||
await initFirebaseIfNeeded();
|
||||
await WakelockPlus.enable();
|
||||
await GetStorage.init();
|
||||
// Purge any previously stored CVV (PCI-DSS compliance)
|
||||
await storage.delete(key: BoxName.cvvCode);
|
||||
await storage.delete(key: BoxName.cvvCodeDriver);
|
||||
await initializeDateFormatting();
|
||||
await SystemChrome.setPreferredOrientations(
|
||||
[DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]);
|
||||
|
||||
Reference in New Issue
Block a user