Cordova 5.3.3 Android app crashes on calling 'registerDevice'

Answered

Comments

5 comments

  • Avatar
    menugastronomico

    Hi friend. I'm having the same issue. It's my first time using PushWoosh and i've seen a lot of questions about Push plugins and Facebook connect.

    I looked for your Fix but i can't find build-extras.gradle on my android folder.

    :/ I need help too.

    ================================

    Edit: I Googled about this :D i did the same trick that you did, and having same problem.

    +1

  • Avatar
    Shishir

    Hey. You need to create a new file called "build-extras.gradle" in the "platforms/android" folder, and add the fix.

  • Avatar
    menugastronomico

    Oh man, sorry. I didn't get the same error as you. I'm following the example on github but my pushwoosh is not updating with a new device. My app is opening and working fine but i can't send a push and pushwoosh is not recognizing my app.

    Maybe i'm having a problem with starting the plugin on my code i think. I will try again and if i get the same error as you i wiill reply.

  • Avatar
    Shishir

    I realised that the facebook connect plugin that I was using was using an outdated version of FB SDK. I switched to this one, and the problem was resolved: https://github.com/jeduan/cordova-plugin-facebook4

  • Avatar
    Mayur Loved

    Hello,

    I have done same.I have created new file and code still app crash.Can Please help me

Please sign in to leave a comment.