-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
Don't use NSInvoke to get task attributes. #16
Conversation
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Matthieu Boutier.
|
Done. |
This comment was marked as abuse.
This comment was marked as abuse.
1. Actually I don't know. I thought that accessing these fields was related to the nativescript version.
2. It's not my editor but some git commit hook. Only changed files are reformated and I thought it was intentional. Maybe some configuration file is missing in the repository (and not defined globally)?
(I'm not with my computer this week-end and so will not be able to recommit before Monday.)
|
I've experimented, on iOS 14.0.1, that `invocation.getReturnValue(ret)` raises: [NSInvocation getArgument:atIndex:]: NULL address argument However, using invocations seems no more needed since the properties we're fetching are directly available from the task object.
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla. |
(That said, I didn't see any good reasons why these invocations are not working anymore and I'd be happy if anyone teach me.)
|
Any updates? |
Curious to know if there is an official fix planned, would prefer to avoid going down the manual patch route. |
@benediktveith, @Exigency, we're quite stuck here:
So to move forwards, here are the options I see:
|
@boutier thank you for this pull request. We're confirming a few things on older devices to know for sure and will get this merged and published by end of this week. |
Published in |
Thanks @NathanWalker, @NathanaelA and all the Nativescript Team for your great job! Hoping to contribute more! :-) |
I've experimented, on iOS 14.0.1, that
invocation.getReturnValue(ret)
raises:However, using invocations seems no more needed since the properties we're
fetching are directly available from the task object.