Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to execute SystemSetting.switchAirplane() #110

Open
AlexanderFisenko opened this issue Apr 23, 2020 · 2 comments
Open

Fail to execute SystemSetting.switchAirplane() #110

AlexanderFisenko opened this issue Apr 23, 2020 · 2 comments

Comments

@AlexanderFisenko
Copy link

After trying to execute SystemSetting.switchAirplane() it redirects me to iphone Settings section, and I get the following error in Xcode logs:

flipper: FlipperClient::addPlugin Inspector
flipper: FlipperClient::addPlugin Preferences
flipper: FlipperClient::addPlugin React
flipper: FlipperClient::addPlugin Network
2020-04-23 18:40:37.804 [info][tid:main][RCTRootView.m:294] Running application Hui ({
    initialProps =     {
    };
    rootTag = 1;
})
2020-04-23 18:40:38.685034+0500 Hui[1788:571255] [] nw_socket_handle_socket_event [C3.1:1] Socket SO_ERROR [61: Connection refused]
2020-04-23 18:40:38.688454+0500 Hui[1788:571255] [] nw_socket_handle_socket_event [C3.2:1] Socket SO_ERROR [61: Connection refused]
2020-04-23 18:40:38.690065+0500 Hui[1788:571237] [] nw_connection_get_connected_socket [C3] Client called nw_connection_get_connected_socket on unconnected nw_connection
2020-04-23 18:40:38.690632+0500 Hui[1788:571237] TCP Conn 0x28367ba80 Failed : error 0:61 [61]
2020-04-23 18:40:40.613 [info][tid:com.facebook.react.JavaScript] Running "Hui" with {"rootTag":1,"initialProps":{}}
2020-04-23 18:40:41.561970+0500 Hui[1788:571242] [] nw_socket_handle_socket_event [C5:1] Socket SO_ERROR [61: Connection refused]
2020-04-23 18:40:41.562248+0500 Hui[1788:571240] [] nw_connection_get_connected_socket [C5] Client called nw_connection_get_connected_socket on unconnected nw_connection
2020-04-23 18:40:41.562420+0500 Hui[1788:571240] TCP Conn 0x28367d680 Failed : error 0:61 [61]
2020-04-23 18:40:42.319348+0500 Hui[1788:571112] Can't end BackgroundTask: no background task exists with identifier 1 (0x1), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.
@AlexanderFisenko
Copy link
Author

then I updated IOS from 13.3.1 to 13.4.1 and it keeps redirecting me to Settings but does not show any error.

Here is the log from the beginning of building process up to SystemSetting.switchAirplane call.

flipper: FlipperClient::addPlugin Inspector
flipper: FlipperClient::addPlugin Preferences
flipper: FlipperClient::addPlugin React
flipper: FlipperClient::addPlugin Network
2020-04-23 20:06:01.485 [info][tid:main][RCTRootView.m:294] Running application Hui ({
    initialProps =     {
    };
    rootTag = 1;
})
2020-04-23 20:06:01.614254+0500 Hui[383:13691] [] nw_socket_handle_socket_event [C3.1:1] Socket SO_ERROR [61: Connection refused]
2020-04-23 20:06:01.615409+0500 Hui[383:13691] [] nw_socket_handle_socket_event [C3.2:1] Socket SO_ERROR [61: Connection refused]
2020-04-23 20:06:01.615970+0500 Hui[383:13711] [] nw_connection_get_connected_socket [C3] Client called nw_connection_get_connected_socket on unconnected nw_connection
2020-04-23 20:06:01.616300+0500 Hui[383:13711] TCP Conn 0x283930b40 Failed : error 0:61 [61]
2020-04-23 20:06:14.175 [info][tid:com.facebook.react.JavaScript] Running "Hui" with {"rootTag":1,"initialProps":{}}
2020-04-23 20:06:14.907377+0500 Hui[383:13696] [] nw_socket_handle_socket_event [C5:1] Socket SO_ERROR [61: Connection refused]
2020-04-23 20:06:14.910019+0500 Hui[383:13692] [] nw_connection_get_connected_socket [C5] Client called nw_connection_get_connected_socket on unconnected nw_connection
2020-04-23 20:06:14.911124+0500 Hui[383:13692] TCP Conn 0x28393da40 Failed : error 0:61 [61]

@mmcasavant
Copy link

mmcasavant commented Oct 13, 2020

I am also observing this behavior. I can see that in xcode it says that the module for controlling radio features is deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants