Hi everyone, hope you're doing well I'm working on...
# multiplatform
m
Hi everyone, hope you're doing well I'm working on a Compose Multiplatform project targeting Android, iOS, and JS. I'm trying to integrate Sentry for logging, but I'm running into issues since Sentry doesn't currently support the JS target. I'd really appreciate any help or guidance 🙏 I’ve explained the full issue here: stack over flow
r
hi, you can disable autoInstall in the KMP plugin and do it manually:
Copy code
sentryKmp {
  commonMain.enabled = false
}

// install the deps directly
kotlin {
  sourceSets {
    val commonMain by getting {
      dependencies {
        implementation("io.sentry:sentry-kotlin-multiplatform:0.14.0")
      }
    }
    // Android target
    val androidMain by getting {
      dependsOn(commonMain)
    }
    // Apple targets:
    val iosMain by getting {
      dependsOn(commonMain)
    }
  }
}
👍 1
g
@Melika this is now fixed in 0.17.1
🙏 1