Closed tbozhikov closed 5 years ago
After iOS runtime 5.3 was released some of the properties of the event arguments returned by the plugin are undefined/unset/incorrect values. Such is the responseCode property as described in https://github.com/NativeScript/nativescript-background-http/issues/214
responseCode
The iOS Runtime bug related to this is: https://github.com/NativeScript/ios-runtime/issues/1149
With this PR, some of the native iOS properties that were unable to be read after iOS Runtime v5.3 are now read in different ways:
NativePropertyReader
<native-iOS-instance>.performSelector("<property-name>")
What is the current behavior?
After iOS runtime 5.3 was released some of the properties of the event arguments returned by the plugin are undefined/unset/incorrect values. Such is the
responseCode
property as described in https://github.com/NativeScript/nativescript-background-http/issues/214The iOS Runtime bug related to this is: https://github.com/NativeScript/ios-runtime/issues/1149
What is the new behavior?
With this PR, some of the native iOS properties that were unable to be read after iOS Runtime v5.3 are now read in different ways:
NativePropertyReader
class and its usage<native-iOS-instance>.performSelector("<property-name>")