Skip to content

Tbozhikov/fix response code ios #222

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

Merged
merged 5 commits into from
Jun 4, 2019
Merged

Conversation

tbozhikov
Copy link
Contributor

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 #214

The iOS Runtime bug related to this is:
NativeScript/ios-jsc#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:

  • using the NativePropertyReader class and its usage
  • using <native-iOS-instance>.performSelector("<property-name>")

@tbozhikov tbozhikov merged commit 8c6da98 into master Jun 4, 2019
@tbozhikov tbozhikov deleted the tbozhikov/fix-response-code-ios branch June 4, 2019 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants