- 
                Notifications
    You must be signed in to change notification settings 
- Fork 12
Open
liveview-native/liveview-client-jetpack
#493Description
Currently, the LVN Client Jetpack library relies on Core Jetpack and it's working fine on Android devices.
However, to run unit tests (particularly the Screen Shot tests)of the LVN Client Jetpack, it's necessary to have a version of the Core Jetpack compiled to host architectures like Windows, Linux, and Mac OS.
At the moment, what I did was:
- added the "darwin-aarch64" target (because I'm using a M1 Macbook);
- ran the command ./gradlew assembleReleaseto generated the*.dylibfile;
- copied the binary to the liveview-android/src/test/jniLibsdirectory in the LVN Client Jetpack project.
The ideal solution would be to release a dependency just for unit tests and declare it in the dependencies section like:
testImplementation "com.github.liveview-native:liveview-native-core-jetpack-host:<version>"
Metadata
Metadata
Assignees
Labels
No labels