react-native 获取不到registrationId
componentDidMount() {
JPushModule.addGetRegistrationIdListener((registrationId) => {
alert(registrationId);
});
}
完全没反应 不过xcode日志上可以获取registrationId
componentDidMount() {
JPushModule.addGetRegistrationIdListener((registrationId) => {
alert(registrationId);
});
}
完全没反应 不过xcode日志上可以获取registrationId