
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
nativescript-bugsee
Advanced tools
This plugin adds Bugsee support to your NativeScript application. Record the last 30 seconds of your app before it crashes. Allow people to submit bugs by shaking or screenshotting your app.
To install the plugin do:
tns plugin add nativescript-bugsee
Put this is your main application JS file:
// Replace this with your actual token
Bugsee.launchWithToken('0000000-0000-0000-0000-00000000000')
This is a little trickier as it needs to extend the main Application class.
Create this file at app/application.android.js:
(Replace yourApplicationName with your app name, and the token with your Android token)
/* global android com */
const superProto = android.app.Application.prototype
const Bugsee = com.bugsee.library.Bugsee
// the first parameter of the `extend` call defines the package and the name for the native *.JAVA file generated.
android.app.Application.extend('org.yourApplicationName.Application', {
onCreate: function () {
superProto.onCreate.call(this)
// At this point modules have already been initialized
Bugsee.launch(this, '0000000-0000-0000-0000-00000000000')
},
attachBaseContext: function (base) {
superProto.attachBaseContext.call(this, base)
}
})
In app/App_Resources/Android/src/AndroidManifest
change from this:
<application android:name="com.tns.NativeScriptApplication"
to this - to match the application name above:
<application android:name="org.yourApplicationName.Application"
Apache License Version 2.0, January 2004
FAQs
Very rough test of a NativeScript plugin
The npm package nativescript-bugsee receives a total of 1 weekly downloads. As such, nativescript-bugsee popularity was classified as not popular.
We found that nativescript-bugsee demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.