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 2022/06/14 08:13:31 UTC
[GitHub] [cordova-plugin-network-information] DavidWiesner commented on a diff in pull request #130: 5g feature
DavidWiesner commented on code in PR #130:
URL: https://github.com/apache/cordova-plugin-network-information/pull/130#discussion_r896513615
##########
src/ios/CDVConnection.m:
##########
@@ -82,6 +82,12 @@ - (NSString*)w3cConnectionTypeFor:(CDVReachability*)reachability
return @"3g";
} else if ([telephonyInfo.currentRadioAccessTechnology isEqualToString:CTRadioAccessTechnologyLTE]) {
return @"4g";
+ } else if (@available(iOS 14.0, *)) {
Review Comment:
There was an issue in the apple docs. `CTRadioAccessTechnologyNRNSA` and `CTRadioAccessTechnologyNR` are available in the minor release [14.1](https://developer.apple.com/documentation/coretelephony/ctradioaccesstechnologynrnsa)
```suggestion
} else if (@available(iOS 14.1, *)) {
```
--
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