uniffi-rs icon indicating copy to clipboard operation
uniffi-rs copied to clipboard

Cleaner implementation still requiring Android API 33

Open rschulman opened this issue 1 year ago • 2 comments

Despite adding some API version checks in #1997, I'm still getting an API version lint error:

Error: Call requires API level 33 (current min is 24): java.lang.ref.Cleaner#create [NewApi]
      val cleaner = java.lang.ref.Cleaner.create()

(This is here in the templates).

I'm running uniffi-bindgen version 0.28.1 and have android_cleaner = false in my config.

rschulman avatar Aug 29 '24 22:08 rschulman