@bugsnag/plugin-expo-app
Advanced tools
Comparing version 7.2.0-alpha.0 to 7.2.0-rc.0
@@ -37,7 +37,10 @@ const Constants = require('expo-constants').default | ||
const inForeground = AppState.currentState === 'active' | ||
event.app.inForeground = inForeground | ||
event.app.duration = now - appStart | ||
if (inForeground) { | ||
event.app.durationInForeground = now - lastEnteredForeground | ||
} | ||
event.addMetadata('app', { nativeBundleVersion, nativeVersionCode }) | ||
@@ -44,0 +47,0 @@ |
{ | ||
"name": "@bugsnag/plugin-expo-app", | ||
"version": "7.2.0-alpha.0", | ||
"version": "7.2.0-rc.0", | ||
"main": "app.js", | ||
@@ -23,3 +23,3 @@ "description": "@bugsnag/js plugin to provide information about an Expo app", | ||
"devDependencies": { | ||
"@bugsnag/core": "^7.2.0-alpha.0", | ||
"@bugsnag/core": "^7.2.0-rc.0", | ||
"jasmine": "3.1.0", | ||
@@ -31,3 +31,3 @@ "nyc": "^12.0.2" | ||
}, | ||
"gitHead": "55ac20cf50e91cbd7ba6aec40a79a6f4dbfdda1e" | ||
"gitHead": "03c7bf6972eab56722f1e6f6e1dddcfdd7ecebbc" | ||
} |
3531