Skip to content

Commit 3119417

Browse files
Add initial readme
1 parent 3274d40 commit 3119417

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+
- 🚧 [![Documentation](https://img.shields.io/badge/documentation-sentry.io-green.svg)](https://docs.sentry.io/platforms/lynx/)
47+
- [![Discussions](https://img.shields.io/github/discussions/getsentry/sentry-react-native.svg)](https://github.com/getsentry/sentry-lynx/discussions)
48+
- [![Discord Chat](https://img.shields.io/discord/621778831602221064?logo=discord&logoColor=ffffff&color=7389D8)](https://discord.gg/PXa5Apfe7K)
49+
- [![Stack Overflow](https://img.shields.io/badge/stack%20overflow-sentry-green.svg)](http://stackoverflow.com/questions/tagged/sentry)
50+
- [![Code of Conduct](https://img.shields.io/badge/code%20of%20conduct-sentry-green.svg)](https://github.com/getsentry/.github/blob/main/CODE_OF_CONDUCT.md)
51+
- [![Twitter Follow](https://img.shields.io/twitter/follow/getsentry?label=getsentry&style=social)](https://twitter.com/intent/follow?screen_name=getsentry)

0 commit comments

Comments
 (0)