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

9.1.6版本仍然要杀死进程才能更新在线参数 #2

Open
liangdong9676 opened this issue Oct 2, 2020 · 1 comment
Open

Comments

@liangdong9676
Copy link

    // 友盟在线参数初始化,需在统计初始化之前调用!!!
    UMRemoteConfig.getInstance().setConfigSettings(new RemoteConfigSettings.Builder().setAutoUpdateModeEnabled(false).build());
    UMRemoteConfig.getInstance().setOnNewConfigfecthed(new OnConfigStatusChangedListener() {
        @Override
        public void onFetchComplete() {
            LogUtil.d(TAG, "友盟在线参数onFetchComplete");
            UMRemoteConfig.getInstance().activeFetchConfig();
        }

        @Override
        public void onActiveComplete() {
            LogUtil.d(TAG, "友盟在线参数onActiveComplete");
        }
    });
@liangdong9676 liangdong9676 changed the title 9.1.6版本仍然然要杀死进程才能更新在线参数 9.1.6版本仍然要杀死进程才能更新在线参数 Oct 2, 2020
@liangdong9676
Copy link
Author

破案了:https://developer.umeng.com/docs/119267/detail/168995

不及时更新的问题,SDK没问题,你们集成代码也没问题,关键在于你们没去友盟控制台,设置,发送策略,设置个90秒就行,因为最快只能间隔90秒,更新在线参数!!!

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

1 participant