Open ZumelzuR opened 3 years ago
How do we get pull requests to get merged in master branch?
Any news about when to release this fix
Thank, these days are a little problematic for me but I will check and resolve all as soon as possible
Sorry was impossible to me to do this changes before. I update all as you requested and tested in my local. If you have more feedback or changes to me add let me know
You are right. Sorry I didn't realized about the changes on the package-lock.json. I will do the revert now
what about this?
@ZumelzuR On my iPhone 13 Pro networkInfo.currentRadioAccessTechnology
is always nil. Strange enough another phone (with the same os version) this pointer is not nil. I found networkInfo.currentRadioAccessTechnology
is deprecated and can be nil on ios >= 14.2. I`ve found this fix https://github.com/Tencent/Hippy/pull/1597/files. May you can try this and add this to your PR.
Edit: May you will use a more reactive form (with a nil check):
static NSString *radioAccessNameIn(CTTelephonyNetworkInfo *networkInfo) {
if (@available(iOS 13.0, *)) {
if (networkInfo.currentRadioAccessTechnology == nil && networkInfo.dataServiceIdentifier) {
return [networkInfo.serviceCurrentRadioAccessTechnology objectForKey:networkInfo.dataServiceIdentifier];
}
}
return networkInfo.currentRadioAccessTechnology;
}
@ZumelzuR On my iPhone 13 Pro
networkInfo.currentRadioAccessTechnology
is always nil. Strange enough another phone (with the same os version) this pointer is not nil. I foundnetworkInfo.currentRadioAccessTechnology
is deprecated and can be nil on ios >= 14.2. I`ve found this fix https://github.com/Tencent/Hippy/pull/1597/files. May you can try this and add this to your PR.Edit: May you will use a more reactive form (with a nil check):
static NSString *radioAccessNameIn(CTTelephonyNetworkInfo *networkInfo) { if (@available(iOS 13.0, *)) { if (networkInfo.currentRadioAccessTechnology == nil && networkInfo.dataServiceIdentifier) { return [networkInfo.serviceCurrentRadioAccessTechnology objectForKey:networkInfo.dataServiceIdentifier]; } } return networkInfo.currentRadioAccessTechnology; }
Thank you, ok yes I will do some testing on my devices and come back with the fix and an update.
I got an error
network-information/CDVConnection.m:63:94: expected ';' at end of declaration
I got an error
network-information/CDVConnection.m:63:94: expected ';' at end of declaration
Sorry I forgot this, I added in the plugins folder but not here, I already add the fix commit.
@ZumelzuR I see IOS Test suites are failing for this PR
For fix this I should try to simulate a 5g connection in a ios12 device and check if is working?
@breautek I review the commits and add the changes of @erisu
thanks
some update on this?
Can somebody run the test or merge finally this? @erisu @breautek
closed/re-opened the PR as the test results expired and wasn't available. Assuming that the tests passes I'll do one last row call and I'll merge if there are no objections in the next ~24 hours.
Platforms affected
Motivation and Context
closes #125
Description
Testing
Checklist
(platform)
if this change only applies to one platform (e.g.(android)
)