Skip to content

FragmentActivity 中 弹窗出现时候黑屏 #85

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

Open
petterEat opened this issue Mar 13, 2021 · 1 comment
Open

FragmentActivity 中 弹窗出现时候黑屏 #85

petterEat opened this issue Mar 13, 2021 · 1 comment

Comments

@petterEat
Copy link

UpdateConfig config = new UpdateConfig();
config.setCheckWifi(true);
config.setForce("0".equals(updateInfo.getUpdateType()));
config.setNotifyImgRes(R.mipmap.ic_launcher);

            UpdateAppUtils.getInstance().apkUrl(updateInfo.getUrl()).updateTitle(updateInfo.getTitle()).updateContent(updateInfo.getVersionDes()).updateConfig(config).update();

image

@HelloYu
Copy link

HelloYu commented Aug 2, 2021

传进去的context不太对,试试MainAcitvity或者Application

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

No branches or pull requests

2 participants