Commit Graph

20 Commits

Author SHA1 Message Date
Simon MacDonald 379b35debb CB-11734: Network Plugin uses Android Log class and not Cordova LOG class 2016-08-22 15:36:58 -04:00
Alexander Sorokin d29f28f6c4 CB-11300: (android) Recognize "2G", "3G" and "4G" network connection subtype names 2016-08-04 12:53:45 +03:00
NickyYo eaea5fd255 Update NetworkManager.java
Broken if.
2016-07-05 11:07:31 +01:00
Simon MacDonald 257e8ada4f Merge branch 'patch-1' of https://github.com/dankito/cordova-plugin-network-information
This closes #44
2016-07-04 09:34:17 -04:00
Rob Close da7e85ec92 CB-11384 android: Does not pass sonarqube scan
The problem is "Empty Catch Block", which sonarqube considers a blocker. Added
a log message to the empty block.
2016-06-29 14:06:04 -07:00
dankito 7a8971c2f9 Detection of Ethernet Network Type on Android
On an Android device with Ethernet interface we have to support NetworkInfo's typeName equals 'eth', therefore NetworkManager cannot determine Network Type (and returns 'UNKNOWN').
2016-06-28 09:06:49 +02:00
Joe Bowser d018f7ead9 CB-10160: Fixed the case mismatch issue 2015-12-17 11:23:33 -08:00
VinuL a34791c6ec Update NetworkManager.java
Removed String ETHERNET.
2015-08-28 08:51:20 +01:00
VinuL 82fed3f0b5 Update NetworkManager.java
I tried to use Ethernet link to my Android tablet using this cable

http://www.amazon.co.uk/Smays-Micro-USB-Ethernet-Computer-Notebook/dp/B009XU6N54

I noticed my app returned Network = None.

So I added this little patch so the app now works over Ethernet link.
2015-08-27 13:04:32 +01:00
Sid Ferreira 6550b937d0 Performance-related fix
Move all conversions to line 236, saving ~14 tests
2015-07-28 16:55:07 -03:00
Can Tecim c40e579c5a Solved toLowerCase issue with Locale.US 2015-07-26 21:11:52 +03:00
Andrew Grieve 165b4f0120 CB-7976 Android: Use webView's context rather than Activity's context for intent receiver 2014-11-06 16:21:52 -05:00
Joe Bowser 37c0e3ff75 CB-7595: Android L changes the type from Mobile to Cellular, I'm pretty sure this isn't documented 2014-09-22 10:27:10 -07:00
Ian Clelland a5e9631258 CB-6907: android: Don't crash on startup if no networks available 2014-06-10 09:51:11 -04:00
Max Woghiren 1cec040b30 Cached extra info to better detect changes. 2014-06-03 17:08:32 -04:00
Andrew Grieve 9b762951d4 [CB-4417] Move cordova-plugin-network-information to its own Java package. 2013-08-14 15:51:03 -07:00
Andrew Grieve 7abafdf621 [CB-4038] - Remove o.a.c.api namespace 2013-07-10 09:31:32 -04:00
Fil Maj 8f551d6e63 Fixed Network plugin: bad ref in plugin.xml. Added connection constants + additional global to attach to. networks JS now registers its own channel and attaches itself to deviceready as a requirement before firing deviceready. 2013-06-17 13:17:59 -07:00
hermwong 26f6c22049 updated path to apache core package 2013-05-15 16:04:29 -07:00
hermwong 012af5b8c5 added intial classes & files for network information plugin 2013-05-15 15:14:00 -07:00