Android - Cordova 3.5.0 deviceready not firing after installing media plugin

前端 未结 5 923
孤街浪徒
孤街浪徒 2020-12-10 15:26

This is interesting and weird issue.

First I created Cordova project locally. I\'m not using Bd. using

cordova create test co

相关标签:
5条回答
  • 2020-12-10 16:01

    I had a similar issue. deviceReady event was not firing (ionic app on android). Worked after I removed the file plugin v1.2 and then added v1.1 instead.

    0 讨论(0)
  • 2020-12-10 16:04

    I ran into the same and resolved using apache official dev build File plugin:

    • https://github.com/apache/cordova-plugin-file/

    Funny enough cordova release 1.3.1-dev is more stable then official release 1.2.0 ...

    0 讨论(0)
  • 2020-12-10 16:09

    By now a newer version of the file plugin has been released. You should no longer experience the issue with the updated version (and there is thus no longer a need to downgrade).

    0 讨论(0)
  • 2020-12-10 16:11

    I ran into the same issue.

    What worked for me was using a different version of the File plugin found here: https://github.com/onflapp/cordova-plugin-file

    Related topic: Cordova File plugin never becomes ready in Android

    0 讨论(0)
  • 2020-12-10 16:16

    for me it got solved by adding cordova.js in index.html( though its not required in ripple)

    <script src="cordova.js"></script>
    
    0 讨论(0)
提交回复
热议问题