HomePhabricator
Diffusion Comm 082d3e630a68

[native/Android] initialize database on app start

Description

[native/Android] initialize database on app start

Summary:
This code will initialize db on Android.
Context in ENG-2071

Test Plan:
Tested on emulator and physical device.

  1. Created malformed db (e.g. simulate bug described in ENG-1910)
  2. Open the app - should be terminated (on emulator it's not visible, app will start again immediately, but it can be proved via logs)
  3. Open again - app should delete database and perform soft-logout and continue running with proper structure

Reviewers: marcin, bartek, tomek

Reviewed By: marcin, bartek, tomek

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D6210

Details

Provenance
kamilAuthored on Jan 10 2023, 7:22 AM
Reviewer
marcin
Differential Revision
D6210: [native/Android] initialize database on app start
Parents
rCOMM4e11a2611ec4: [native/iOS] initialize database on app start
Branches
Unknown
Tags
Unknown