ionic5集成极光消息推送时出现无响应问题

问题遇到的现象和发生背景

运行环境
node:v12.0.0
npm:6.9.0
ionic:5.4.16
cordova:10.0.0
jdk:1.8.0_271
gradle:6.7.1

已经正确设置极光推送appkey

问题
集成极光推送代码时无响应

问题相关代码,请勿粘贴截图
import { JPush } from '@jiguang-ionic/jpush/ngx';

@Component({
  selector: 'app-root',
  templateUrl: 'app.component.html',
  styleUrls: ['app.component.scss'],
})
export class AppComponent {

  private sequence: number = 1;
  private retryCount: number = 3; // 重试次数

  constructor( private platform: Platform,
               private jpush:JPush) {
               this.initializeApp();
               this.initJPush();
               }
  initializeApp() {
        this.platform.ready().then(() => {
        this.statusBar.styleDefault();
        this.splashScreen.hide();
      });
    }
  initJPush() {   // 初始化极光服务
          console.log('初始化极光推送');
          this.jpush.setDebugMode(true);
          this.jpush.init();
          console.log('初始化结束');
      }
 // 获取当前所有Tag标签
      getTags(retry: number = 1){
          this.jpush.getAllTags(this.getTagOptions()).then(res=>{
              console.log("获取TAG列表:", res.tags);
          }).catch(err=>{
              if(retry <= this.retryCount) {
                  console.log(`获取TAG列表失败,重试中(${retry}/${this.retryCount})...`);
                  this.getTags(retry+1);
              } else console.error("获取TAG列表失败!");
          });
      }
clickBtn() {
           // sequence:目前用不上这个属性,给一个自增变量就够了
           // tags: 标签名称,这里需要注意用[]将它封装为数组才能用
           console.log('点击button');
           this.getTags(3);
    }

}
安卓真机运行结果及报错内容

/main.js:90 初始化极光推送
/main.js:93 初始化结束
/vendor.js:93342 Angular is running in development mode. Call enableProdMode() to enable production mode.
cordova.js:1237 deviceready has not fired after 5 seconds.
cordova.js:1230 Channel not fired: onCordovaInfoReady
/vendor.js:262 Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.
(anonymous) @ /vendor.js:262
/vendor.js:22958 Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.
(anonymous) @ /vendor.js:22958
DevTools failed to load SourceMap: Could not load content for http://localhost/styles.css.map:

我的解答思路和尝试过的方法

点击clickBtn只返回 点击button提示 似乎没有执行gettags

返回提示:main.js:224 点击button

我想要达到的结果

能够收到极光推送发来的消息

看看这篇,https://www.likecs.com/show-306717429.html,跟你的很像,但是clickBtn触发的事件有点不同,直接把它代码扣过来进行测试