-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Offline Integration #1633
Comments
Do you have any updates? 😕 |
Any new with this feature? release date? |
Not really, sorry. It's not planned anytime soon. However, I can provide all the answers and guidance if anyone is willing to tackle this feature and send a PR :) |
Hey @kamilogorek : Is there any Doc on how to write an integration? We are looking for offline error tracking in our PWA. Thanks for your help. |
To handle errors occuring offline in JavaScript this integration saves them in a queue and processes these queued up errors when back online. As a storage API localForage (https://github.com/localForage/localForage) is used. A new function listens to the 'online' event to start draining the queue. I am missing correct error handling and tests. Also Im not sure about the correct way to include the interation to sdk.ts. Building .min and .es6 files is also not working with 'yarn build'. Minifing with uglyfy works. Thanks especially to @kamilogorek and @ seromenho Resolves: getsentry#1633 See also: getsentry#1665 getsentry#279
To handle errors occuring offline in JavaScript this integration saves them in a queue and processes these queued up errors when back online. As a storage API localForage (https://github.com/localForage/localForage) is used. A new function listens to the 'online' event to start draining the queue. I am missing correct error handling and tests. Also I am not sure about the correct way to include the interation to sdk.ts. Building .min and .es6 files is also not working with 'yarn build'. Minifing with uglify-js works. Thanks especially to @kamilogorek and @ seromenho Resolves: getsentry#1633 See also: getsentry#1665 getsentry#279
To handle errors occuring offline in JavaScript this integration saves them in a queue and processes these queued up errors when back online. As a storage API localForage (https://github.com/localForage/localForage) is used. A new function listens to the 'online' event to start draining the queue. I am missing correct error handling and tests. Also I am not sure about the correct way to include the interation to sdk.ts. Building .min and .es6 files is also not working with 'yarn build'. Minifing with uglify-js works. Thanks especially to @kamilogorek and @ seromenho Resolves: getsentry#1633 See also: getsentry#1665 getsentry#279
I got this integration implemented in JS based on LocalStorage. Nothing complicated, but it seems to work fine. Are you interested in it? I saw some development already made here, but I'm not sure about the progress. Also, my implementation is currently under the licence of my client, so I would need to sort that out. |
@radarfox If you find some time, we happily accept a PR for this. |
@radarfox I would definitely be interested in it. If you could share some pseudo-code at least that'd be a starting point for us and super helpful :) |
Ref: #1165
The text was updated successfully, but these errors were encountered: