|
| 1 | +<p align="center"> |
| 2 | + <a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank"> |
| 3 | + <img src="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" alt="Sentry" width="280" height="84"> |
| 4 | + </a> |
| 5 | +</p> |
| 6 | + |
| 7 | +_Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us [<kbd>**Check out our open positions**</kbd>](https://sentry.io/careers/)_ |
| 8 | + |
| 9 | +# Sentry SDK for Lynx |
| 10 | + |
| 11 | +The Sentry SDK for [Lynx](https://lynxjs.org/) is a crash reporting and error monitoring solution specifically designed for Lynx applications. This SDK is currently under active development and has not been officially released yet. Stay tuned for the official release. In the meantime, you can follow the development progress and contribute to the project on GitHub. |
| 12 | + |
| 13 | +## 🚧 Features (in-development) |
| 14 | + |
| 15 | +- Automatic JS Error Tracking (using [@sentry/browser](https://github.com/getsentry/sentry-javascript)) |
| 16 | +- Automatic Native Crash Error Tracking (using [sentry-cocoa](https://github.com/getsentry/sentry-cocoa) & [sentry-android](https://github.com/getsentry/sentry-java) under the hood) |
| 17 | +- Offline storage of events |
| 18 | +- On Device symbolication for JS (in Debug) |
| 19 | + |
| 20 | +## 🚧 Installation and Usage (in-development) |
| 21 | + |
| 22 | +To install the package and setup your project: |
| 23 | + |
| 24 | +```sh |
| 25 | +npm install --save @sentry/lynx |
| 26 | +``` |
| 27 | + |
| 28 | +How to use it: |
| 29 | + |
| 30 | +```javascript |
| 31 | +import * as Sentry from "@sentry/lynx"; |
| 32 | + |
| 33 | +Sentry.init({ |
| 34 | + dsn: "__DSN__", |
| 35 | +}); |
| 36 | + |
| 37 | +Sentry.setTag("myTag", "tag-value"); |
| 38 | +Sentry.setExtra("myExtra", "extra-value"); |
| 39 | +Sentry.addBreadcrumb({ message: "test" }); |
| 40 | + |
| 41 | +Sentry.captureMessage("Hello Sentry!"); |
| 42 | +``` |
| 43 | + |
| 44 | +## Resources |
| 45 | + |
| 46 | +- 🚧 [](https://docs.sentry.io/platforms/lynx/) |
| 47 | +- [](https://github.com/getsentry/sentry-lynx/discussions) |
| 48 | +- [](https://discord.gg/PXa5Apfe7K) |
| 49 | +- [](http://stackoverflow.com/questions/tagged/sentry) |
| 50 | +- [](https://github.com/getsentry/.github/blob/main/CODE_OF_CONDUCT.md) |
| 51 | +- [](https://twitter.com/intent/follow?screen_name=getsentry) |
0 commit comments