You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2026. It is now read-only.
When building for Android, the build intermittently fails with a linker error because IAP's buildCMakeDebug[arm64-v8a] task runs before react-native-nitro-modules has finished producing libNitroModules.so.
This fixed it for me. Add to android/build.gradle in react-native-iap:
afterEvaluate {
tasks.configureEach { task ->
if (task.name.startsWith('buildCMake')) {
def nitroProject = rootProject.findProject(':react-native-nitro-modules')
if (nitroProject) {
def nitroTask = nitroProject.tasks.findByName(task.name)
if (nitroTask) {
task.dependsOn(nitroTask)
}
}
}
}
}
I have several nitro modules in my project. I am not sure why IAP is the only one with this issue.
When building for Android, the build intermittently fails with a linker error because IAP's
buildCMakeDebug[arm64-v8a]task runs beforereact-native-nitro-moduleshas finished producinglibNitroModules.so.This fixed it for me. Add to android/build.gradle in react-native-iap:
I have several nitro modules in my project. I am not sure why IAP is the only one with this issue.