Jacob Rhoda10/12/2023, 4:29 PM
a type in my common code, and use
to make it a native type in my platform code. Specifically, I use it to make an iOS/Android library type into a common type. However, wherever I use this type in common code, the compiler is telling me that I need to opt-in with the
. However, it doesn’t appear that the
package is available in common code. How do I work around this?
mbonnin10/12/2023, 5:09 PM
Jacob Rhoda10/12/2023, 5:17 PM
mbonnin10/12/2023, 5:18 PM
Jacob Rhoda10/12/2023, 5:52 PM
implementation. For example, I wrote a wrapper around the AppAuth libraries to provide authentication on both platforms with a common API. They don’t really care the
implementation, it just needs to pass along a reference to the platform code.