@bugsnag/plugin-expo-app
Advanced tools
Comparing version 7.0.0-alpha.0 to 7.0.0-alpha.1
10
app.js
@@ -28,2 +28,8 @@ const Constants = require('expo-constants').default | ||
client.addOnSession(session => { | ||
if (Constants.manifest.revisionId) { | ||
session.app.codeBundleId = Constants.manifest.revisionId | ||
} | ||
}) | ||
client.addOnError(event => { | ||
@@ -38,5 +44,3 @@ const now = new Date() | ||
event.addMetadata('app', { nativeBundleVersion, nativeVersionCode }) | ||
if (!event.app.version && Constants.manifest.version) { | ||
event.app.version = Constants.manifest.version | ||
} | ||
if (Constants.manifest.revisionId) { | ||
@@ -43,0 +47,0 @@ event.app.codeBundleId = Constants.manifest.revisionId |
{ | ||
"name": "@bugsnag/plugin-expo-app", | ||
"version": "7.0.0-alpha.0", | ||
"version": "7.0.0-alpha.1", | ||
"main": "app.js", | ||
@@ -23,6 +23,5 @@ "description": "@bugsnag/js plugin to provide information about an Expo app", | ||
"devDependencies": { | ||
"@bugsnag/core": "^7.0.0-alpha.0", | ||
"@bugsnag/core": "^7.0.0-alpha.1", | ||
"jasmine": "3.1.0", | ||
"nyc": "^12.0.2", | ||
"proxyquire": "^2.1.0" | ||
"nyc": "^12.0.2" | ||
}, | ||
@@ -32,3 +31,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "44e41f2d9cce4a3aed93dd77e0c851119c2fe776" | ||
"gitHead": "55453140c2572284f8b34e3c2b8a8fec1e69c36e" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3534
3
42