HomePhabricator
Diffusion Comm d0f8d76402d5

Enable database initialization without starting JS on iOS

Description

Enable database initialization without starting JS on iOS

Summary: Initialize database before JS on iOS and create utility function that can be used in different callbacks whenever database access is needed - (didReceiveRemoteNotification in particular)

Test Plan: Build iOS app an real device, call this utility function from notification handling callback in every posssible app state: foreground, background and inactive. In each case examine logs to see that database is corectly initialized and accessible.

Reviewers: palys-swm, atul, ashoat

Reviewed By: palys-swm, ashoat

Subscribers: benschac, ashoat, Adrian, karol-bisztyga

Differential Revision: https://phabricator.ashoat.com/D3297

Details

Provenance
marcinAuthored on Feb 28 2022, 5:17 AM
Reviewer
tomek
Differential Revision
D3297: Enable database initialization without starting JS on iOS
Parents
rCOMM1981403e57ae: Move SQLiteQueryExecutor initialization to common place and implement it in a…
Branches
Unknown
Tags
Unknown