You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are getting carsh report on @capacitor/network plugin, below is the exception
This issue has been seen on following Android Version: Android(14), Android13,
Type: java.lang.NullPointerException
Exception java.lang.NullPointerException: Attempt to invoke interface method 'void.com.capacitorjs.plugins.network.Network$NetworkStatuschangeListener'
at com.capacitorjs.plugins.network.Network$ConnectivityCallback.onCapabilitiesChanged (Network.java:37)
at android.net ConnectivityManager$CallbackHandler;handleMessage (ConnectivityManager.java:4354)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:205)
at anroid.os.Looper.loop (Looper.java:294)
at android.os.handlerThread.run (HandlerThread.java:67)
Expected Behavior
Code Reproduction
Other Technical Details
Additional Context
The text was updated successfully, but these errors were encountered:
This issue needs more information before it can be addressed.
In particular, the reporter needs to provide a minimal sample app that demonstrates the issue.
If no sample app is provided within 15 days, the issue will be closed.
this App is created with capacitor 5, with following packages
"@capacitor/android": "^5.0.0",
"@capacitor/camera": "^5.0.0",
"@capacitor/core": "^5.0.0",
"@capacitor/network": "^5.0.0",
"@capacitor/splash-screen": "5.0.0"
To run the App please use following command
npm run build
npx cap sync
Please do let me know if anything else is required.
Bug Report
Plugin(s)
@capacitor/network: 5.0.0
Capacitor Version
@capacitor/Core: 5.0.0
Platform(s)
Android
Current Behavior
We are getting carsh report on @capacitor/network plugin, below is the exception
This issue has been seen on following Android Version: Android(14), Android13,
Type: java.lang.NullPointerException
Exception java.lang.NullPointerException: Attempt to invoke interface method 'void.com.capacitorjs.plugins.network.Network$NetworkStatuschangeListener'
at com.capacitorjs.plugins.network.Network$ConnectivityCallback.onCapabilitiesChanged (Network.java:37)
at android.net ConnectivityManager$CallbackHandler;handleMessage (ConnectivityManager.java:4354)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:205)
at anroid.os.Looper.loop (Looper.java:294)
at android.os.handlerThread.run (HandlerThread.java:67)
Expected Behavior
Code Reproduction
Other Technical Details
Additional Context
The text was updated successfully, but these errors were encountered: