Closed kekland closed 1 week ago
@liamappelbe Does the referenced version of package:objective_c
require ARC?
Yep, package:objective_c and ffigen now use ARC. I haven't released that version yet.
@liamappelbe So are your clients required to switch to using ARC?
Yeah. It's my understanding that this will become a requirement for all flutter plugin writers soon. It has something to do with flutter using the swift package manager.
OK, I guess its time for me to try to get delegates to work in Dart again ;-)
Hi!
I'm using objective_c (and ffigen) at 87e8f92. It seems like at that version doing anything from objective_c (even just creating an NSString) when cupertino_http is also installed instantly crashes the app with a segmentation fault.
I'm not exactly sure what the issue is. Version 1.1.0 (which is in pub) works fine. From the changelog:
My guess is that it's due to ARC. Here's an example project where the issue can be reproduced: https://github.com/kekland/cupertino_http_objc_issue
cc @liamappelbe (not sure whether it's relevant to you, but tagging just in case)