The wrapper's android/build.gradle contains:
minSdkVersion Math.max((getExtOrDefault('minSdkVersion', 35) as Integer), 35)
The Math.max against a hardcoded 35 means the effective floor is always 35 regardless of what the host project declares or which AAR version is used.
This is relevant because the Moonshine AAR itself recently had its minSdk corrected from 35 to 26 (moonshine-ai/moonshine#197). The wrapper now sets a higher floor than the AAR it wraps.
A fix would be changing the default and the floor to 23 or 26, for example:
minSdkVersion Math.max((getExtOrDefault('minSdkVersion', 23) as Integer), 23)
Our use case is a React Native 0.73 app targeting API 23 and above. Happy to test a fix.
Cheers,
Alex
The wrapper's android/build.gradle contains:
minSdkVersion Math.max((getExtOrDefault('minSdkVersion', 35) as Integer), 35)
The Math.max against a hardcoded 35 means the effective floor is always 35 regardless of what the host project declares or which AAR version is used.
This is relevant because the Moonshine AAR itself recently had its minSdk corrected from 35 to 26 (moonshine-ai/moonshine#197). The wrapper now sets a higher floor than the AAR it wraps.
A fix would be changing the default and the floor to 23 or 26, for example:
minSdkVersion Math.max((getExtOrDefault('minSdkVersion', 23) as Integer), 23)
Our use case is a React Native 0.73 app targeting API 23 and above. Happy to test a fix.
Cheers,
Alex