Closed nolife08021 closed 2 years ago
Description Error 907122047 push server error.
Expected behavior subscribe successful
Current behavior Error when try to subscribe topic
Screenshots
Environment
Code
let HMSPush = require('@hmscore/react-native-hms-push'); let HMSAvail = require('@hmscore/react-native-hms-availability'); HMSAvail.default.isHuaweiMobileServicesAvailable() .then((res) => { if(res === 0) { HMSPush.HmsPushMessaging.subscribe(topic) .then((result) => { console.log("subscribe", result); }) .catch((err) => { alert("[subscribe] Error/Exception: " + JSON.stringify(err)); }); } }) .catch((err) => console.log(err));
Description Error 907122047 push server error.
Expected behavior subscribe successful
Current behavior Error when try to subscribe topic
Screenshots
Environment
Code