Code Monkey home page Code Monkey logo

cordova-plugin-xiaomi-push's People

Contributors

waitaction avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

czq96

cordova-plugin-xiaomi-push's Issues

Cannot register: Meet exception when call Method 'getImei'

Hello,

I meet this error when I use this plugin on my app (using Cordova android 10.1.2).

2023-02-17 13:27:18.236 8719-8864/com.app.mobile I/XMPush-8719: [Tid:63] sdk_version = 3_8_5
2023-02-17 13:27:18.237 8719-8744/com.app.mobile D/OpenGLRenderer: endAllActiveAnimators on 0xb400007b28897000 (RippleDrawable) with handle 0xb400007b5701cc00
2023-02-17 13:27:18.239 8719-8864/com.app.mobile I/XMPush-8719: [Tid:63] register invalid, aid=true;atn=true;rid=false;rse=false;did=false
2023-02-17 13:27:18.255 8719-8864/com.app.mobile I/XMPush-8719: [Tid:63] register invalid, aid=true;atn=true;rid=false;rse=false;did=false
2023-02-17 13:27:18.255 8719-8864/com.app.mobile V/XMPush-8719: [Tid:63] Don't send message before initialization succeeded!
2023-02-17 13:27:18.266 8719-8864/com.app.mobile V/XMPush-8719: [Tid:63] get region from system, region = CN
2023-02-17 13:27:18.267 8719-8864/com.app.mobile V/XMPush-8719: [Tid:63] get region from system, region = CN
2023-02-17 13:27:18.275 8719-8864/com.app.mobile W/JavaCalls: Meet exception when call Method 'getImei' in android.telephony.TelephonyManager@8c4d8a7, java.lang.reflect.InvocationTargetException
2023-02-17 13:27:18.277 8719-8864/com.app.mobile I/XMPush-8719: [Tid:63] register invalid, aid=true;atn=true;rid=false;rse=false;did=false
2023-02-17 13:27:18.277 8719-8864/com.app.mobile V/XMPush-8719: [Tid:63] Don't send message before initialization succeeded!
2023-02-17 13:27:18.281 8719-8864/com.app.mobile I/XMPush-8719: [Tid:63] register invalid, aid=true;atn=true;rid=false;rse=false;did=false
2023-02-17 13:27:18.281 8719-8864/com.app.mobile V/XMPush-8719: [Tid:63] Don't send message before initialization succeeded!
2023-02-17 13:27:18.853 8719-8871/com.app.mobile V/XMPush-8719: [Tid:68] receive an intent from server, action=com.xiaomi.mipush.RECEIVE_MESSAGE
2023-02-17 13:27:18.856 8719-8871/com.app.mobile I/XMPush-8719: [Tid:68] register invalid, aid=true;atn=true;rid=false;rse=false;did=false
2023-02-17 13:27:18.857 8719-8871/com.app.mobile I/XMPush-8719: [Tid:68] register invalid, aid=true;atn=true;rid=false;rse=false;did=false
2023-02-17 13:27:18.858 8719-8871/com.app.mobile V/XMPush-8719: [Tid:68] processing a message, action=Registration
2023-02-17 13:27:18.858 8719-8871/com.app.mobile I/XMPush-8719: [Tid:68] begin execute onCommandResult, command=register, resultCode=22022, reason=Invalid package name:com.app.mobile
2023-02-17 13:27:18.859 8719-8871/com.app.mobile V/XiaomiPushTag: onCommandResult is called. command={register}, resultCode={22022}, reason={Invalid package name:com.app.mobile}, category={null}, commandArguments={null}

My project information:

Ionic:

   Ionic CLI                     : 6.20.1 (/opt/homebrew/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 6.4.1
   @angular-devkit/build-angular : 13.2.6
   @angular-devkit/schematics    : 13.3.3
   @angular/cli                  : 13.2.6
   @ionic/angular-toolkit        : 6.1.0

Cordova:

   Cordova CLI       : 11.0.0
   Cordova Platforms : android 10.1.2
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 22 other plugins)

Utility:

   cordova-res                          : 0.15.4
   native-run (update available: 1.7.1) : 1.6.0

System:

   ios-deploy : 1.12.1
   NodeJS     : v18.14.0 (/usr/local/bin/node)
   npm        : 8.15.0
   OS         : macOS
   Xcode      : Xcode 14.2 Build version 14C18

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.