react-native 获取不到registrationId

zhuhai
2018-05-24 07:09 3.4k 0
componentDidMount() {
        JPushModule.addGetRegistrationIdListener((registrationId) => {
            alert(registrationId);
        });
    }

完全没反应 不过xcode日志上可以获取registrationId

2个回答

热门排序