Android build was not respecting the SDK config of the root project, causing really weird build errors if the version I had configured was not 29. This PR adds code to use the target/compile version from the project using the lib.
The version of Kotlin that was configured did not work with my environment. This PR bumps the version to 1.4.0, and fixes a compile time error in android.
Test Plan
Majority of changes are to the build environment. Only code change is to fix a build-time "smart cast is impossible" error.
To test build an app that uses this library. Perform an upload.
Compatibility
OS
Implemented
iOS
Not Affected
Android
✅
Checklist
[x] I have tested this on a device and a simulator
Summary
This PR addresses 2 issues:
Android build was not respecting the SDK config of the root project, causing really weird build errors if the version I had configured was not 29. This PR adds code to use the target/compile version from the project using the lib.
The version of Kotlin that was configured did not work with my environment. This PR bumps the version to 1.4.0, and fixes a compile time error in android.
Test Plan
Majority of changes are to the build environment. Only code change is to fix a build-time "smart cast is impossible" error.
To test build an app that uses this library. Perform an upload.
Compatibility
Checklist