[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.
- Created malformed db (e.g. simulate bug described in ENG-1910)
- Open the app - should be terminated (on emulator it's not visible, app will start again immediately, but it can be proved via logs)
- 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