apache / cordova-plugin-network-information

Apache Cordova Network Information Plugin
https://cordova.apache.org/
Apache License 2.0
464 stars 321 forks source link

Adding this plugin breaks the build #162

Closed globules-io closed 6 months ago

globules-io commented 6 months ago

Bug Report

Problem

After adding this plugin, the app is broken. In my case it was failing and crashing other plugins and some other plugins (in my case firebasex) would run before device ready. Removing the plugin fixes the issues.

Information

  <plugin name="cordova-plugin-network-information" spec="^3.0.0" />

Solution

Downgrading to version 2.0.2 solves the issue and do not break other plugins

Environment, Platform, Device

cordova 12.0.0 (cordova-lib@12.0.1) cordova-android 12.0.1 Pixel 4a with Android 13 Target SDK 33

globules-io commented 6 months ago

Looks like a lot of plugins are breaking with android 12.0.1. Investigating more