Does anyone know how to solve this? I'm trying to use Firestore's IgnoreExtraProperties on KMP.
// Common
expect annotation class IgnoreExtraProperties()
// Android
actual typealias IgnoreExtraProperties = com.google.firebase.firestore.IgnoreExtraProperties
However, when I try to run it, I get a
This class does not have a constructor
. I also did
this but no luck. Maybe it's because the actual annotation is just an interface?
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface IgnoreExtraProperties {
}
Anyway, any help would be greatly appreciated!