You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/08/19 16:10:58 UTC

[GitHub] [cordova-plugin-device] breautek commented on issue #118: Channel not fired: onCordovaInfoReady after installing cordova-plugin-device

breautek commented on issue #118:
URL: https://github.com/apache/cordova-plugin-device/issues/118#issuecomment-902042428


   > What could be the reason so we can fork the project and create a pull request?
   
   With the information provided thus far, it's impossible to know the cause. I do know this plugin works in my apps just fine, and we are also running cordova-android@10.1.0 on one of them.
   
   I'd encourage trying to open the Android Studio (Project file located at <cordovaProject/platforms/android> so that you have access to the native logs. This may provide better insights on why the plugin isn't being initialized.
   
   You could also attempt rebuilding the project from scratch by reinstalling all node modules, plugins and the platform, **note** that if you have any custom modifications to your platforms or plugins folder they'll be lost:
   
   ```
   rm -rf node_modules
   rm package-lock.json
   rm -rf platforms
   rm -rf plugins
   npm install
   cordova platform add android@10
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org