Network type on iOS is only 3G or Wifi |
||||||||
Issue descriptionContext thread: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/YJyPFQd9Mbw https://cs.chromium.org/chromium/src/net/base/network_change_notifier_mac.cc?q=src/net/base/network_change_notifier_mac.cc+package:%5Echromium$&l=29 The method CalculateConnectionType only returns 3G or WIFI if it is iOS, which means 4G or 2G couldn't be shown.
,
May 30 2017
,
May 30 2017
,
May 31 2017
Any ideas for APIs that provide more info?
Perhaps we can do something like the stackoverflow solution:
CTTelephonyNetworkInfo *telephonyInfo = [CTTelephonyNetworkInfo new];
if ([telephonyInfo.currentRadioAccessTechnology isEqualToString:CTRadioAccessTechnologyLTE]) {
return CONNECTION_4G;
We should probably convert the currentRadioAccessTechnology into the correct NetworkChangeNotifier::ConnectionSubType.
,
Jun 5 2017
,
Jun 5 2017
,
Jul 20
,
Jul 23
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by eugene...@chromium.org
, May 30 2017