Skip to content

[DRAFT] Add stubs/no-op support for unsupported targets #426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 51 commits into
base: main
Choose a base branch
from

Conversation

buenaflor
Copy link
Contributor

@buenaflor buenaflor commented Jul 17, 2025

📜 Description

Users have bad devex if they use targets that we don't support.
Currently the SDK won't compile and the user would have to shift their sourceSet architecture which is unrealistic.

💡 Motivation and Context

Adds no-op support for js and wasmJs so users can freely use Sentry in the official supported targets and no-op targets.

Closes #328
Closes #327

💚 How did you test it?

📝 Checklist

You have to check all boxes before merging:

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.

🔮 Next steps

Copy link
Contributor

github-actions bot commented Jul 17, 2025

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- [DRAFT] Add stubs/no-op support for `js` and `wasmJs` target ([#426](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/426))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against 17f5398

@buenaflor buenaflor changed the title [DRAFT] Add stubs/no-op support for JS target [DRAFT] Add stubs/no-op support for js and wasmJs target Jul 17, 2025
Base automatically changed from deps/upgrade-kotlin to main July 18, 2025 10:50
@buenaflor buenaflor changed the title [DRAFT] Add stubs/no-op support for js and wasmJs target [DRAFT] Add stubs/no-op support for unsupported targets Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement no-op implementation for WASM Implement no-op implementation for JS
2 participants