Nativescript integration
See original GitHub issue- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Package + Version
- [ 5.11.1]
@sentry/browser
Description
I am writing a plugin to integrate Sentry in Nativescript. It is a direct of of the react-native plugin.
However i have an issue with the sensy plugin
isNodeEnv returnns false because in Nativescript processs is an object so it returns object
But the we dont have window
not self
. Though we have a global
object.
The issue is that the logger will crash because getGlobalObject will return the fallback object which has no console
So i need a way for isNodeEnv
to return true.
Do you see any way to do this?
THanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Introduction | NativeScript
Provide a screenshot preview to be used in a future NativeScript Marketplace integration under tools/assets/marketplace.png in your app template folder ...
Read more >NativeScript Documentation
NativeScript is an open-source framework for cross-platform development of native apps with 100% native API access for JavaScript, TypeScript, Angular and ...
Read more >Plugins - NativeScript Docs
Migrate your plugin workspace in 2 seconds - NativeScript 8 + webpack5 + configuration updates. Creating NativeScript Plugins and Enhancing Behavior #. Part...
Read more >NativeScript Marketplace
Bottom sheets integrate with the app to display supporting content or present deep-linked content from other apps. nativescript-sqlite.
Read more >Environment Setup - NativeScript Docs
To integrate your existing WatchOS application into your NativeScript project, execute the following steps: Create Single View App from Xcode.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kamilogorek ok will try and fix it myself. Will make a PR
Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated. Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it. Cheers!