Initialize
Last updated
Last updated
FlowySDK works as the AppFlowy application Backend. It will be initialized before the application launch. Check out the initialization sequence diagram shown below.
FlowyRunner will get called when the entry point, the main
function, got called.
FlowyRunner call initialize
function on each task that registers as a LaunchTask one by one.
InitRustSDKTask
calls the init function and passes the working directory into FlowySDK.
The directory is different according to the IntegrationMode
, which means running AppFlowy on developing mode will not alter the data on release mode.
IntegrationMode.release
IntegrationMode.develop
IntegrationMode.test
InitAppWidgetTask
initialize the ApplicationWidget
and call runApp
function.
InitPlatformServiceTask
start the NetworkListener
.
typing...💬️