Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-process support #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Reone
Copy link

@Reone Reone commented Feb 14, 2023

在多进程项目中使用,发现androidx.startup并不能很好的在另一个进程中初始化。
参照MMKV的初始化方式,将AppInitializer内的代码抽出,提供Longan.initialize方法,用于在新进程初始化。
如果项目只有一个进程,引用者不需要任何改动。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant