question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nativescript integration

See original GitHub issue

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:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
farfromrefugcommented, Jan 28, 2020

@kamilogorek ok will try and fix it myself. Will make a PR

0reactions
kamilogorekcommented, Jul 2, 2021

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found