
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@capacitor-community/appcenter-crashes
Advanced tools
Capacitor plugin for Microsoft's App Center Crashes
@capacitor-community/appcenter-crashes
App Center Crashes will automatically generate a crash log every time your app crashes. The log is first written to the device's storage and when the user starts the app again, the crash report will be sent to App Center. Collecting crashes works for both beta and live apps, i.e. those submitted to the App Store. Crash logs contain valuable information for you to help fix the crash.
Maintainer | GitHub | Social |
---|---|---|
John Borges | johnborges | @johnborges |
npm install @capacitor-community/appcenter-crashes
npx cap sync
isEnabled()
setEnabled(...)
generateTestCrash()
hasReceivedMemoryWarningInLastSession()
hasCrashedInLastSession()
lastSessionCrashReport()
trackError(...)
isEnabled() => Promise<{ value: boolean; }>
Check if Crashes is enabled or not.
Returns: Promise<{ value: boolean; }>
Since: 0.1.0
setEnabled(options: { enable: boolean; }) => Promise<void>
You can enable and disable App Center Crashes at runtime. If you disable it, the SDK won't do any crash reporting for the app. The state is persisted in the device's storage across application launches.
Param | Type |
---|---|
options | { enable: boolean; } |
Since: 0.1.1
generateTestCrash() => Promise<void>
Generate a test crash for easy testing of the SDK. This API can only be used in test/beta apps and won't do anything in production apps.
Since: 0.2.0
hasReceivedMemoryWarningInLastSession() => Promise<{ value: boolean; }>
Check if app recieved memory warning in the last session.
Returns: Promise<{ value: boolean; }>
Since: 0.2.0
hasCrashedInLastSession() => Promise<{ value: boolean; }>
Check if the app has crashed in the last session.
Returns: Promise<{ value: boolean; }>
Since: 0.3.0
lastSessionCrashReport() => Promise<{ value: ErrorReport; }>
Provides details about the crash that occurred in the last app session.
Returns: Promise<{ value: ErrorReport; }>
Since: 0.3.0
trackError(errorModel: TrackableErrorModel) => Promise<{ value: string; }>
Track error
Param | Type |
---|---|
errorModel | TrackableErrorModel |
Returns: Promise<{ value: string; }>
Since: 0.6.0
Prop | Type | Description | Since |
---|---|---|---|
id | string | UUID for the crash report. | |
threadName | string | Thread name that triggered the crash | |
appErrorTime | string | number | Date and time the error occurred. | 0.7.3 |
appStartTime | string | number | Date and time the app started. | 0.7.3 |
exceptionName | string | Exception name that triggered the crash. | |
exceptionReason | string | Exception reason. | |
device | Device | Device information of the app when it crashed. | |
signal | string | Signal that caused the crash. | |
appProcessIdentifier | number | Identifier of the app process that crashed. | |
stackTrace | string | The stack trace of the crash |
Prop | Type | Description |
---|---|---|
sdkName | string | Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" |
sdkVersion | string | Version of the SDK in semver format, e.g. "1.2.0" or "0.12.3-alpha.1". |
model | string | Device model (example: iPad2,3). |
oemName | string | Device manufacturer (example: HTC). |
osName | string | OS name (example: iOS). |
osVersion | string | OS version (example: 9.3.0). |
osBuild | string | OS build code (example: LMY47X). |
osApiLevel | number | API level when applicable like in Android (example: 15). |
locale | string | Language code (example: en_US). |
timeZoneOffset | number | The offset in minutes from UTC for the device time zone, including daylight savings time. |
screenSize | string | Screen size of the device in pixels (example: 640x480). |
appVersion | string | Application version name, e.g. 1.1.0 |
carrierName | string | Carrier name (for mobile devices). |
carrierCountry | string | Carrier country code (for mobile devices). |
appBuild | string | The app's build number, e.g. 42. |
appNamespace | string | The bundle identifier, package identifier, or namespace, depending on what the individual plattforms use, .e.g com.microsoft.example. |
Prop | Type |
---|---|
error | ExceptionModelType |
properties | { [name: string]: string; } |
attachments | ErrorAttachmentLog[] |
Prop | Type | Description |
---|---|---|
wrapperSdkName | string | Name of the wrapper SDK. e.g 'appcenter.capacitor' |
type | string | Exception type, e.g 'TypeException' |
message | string | Exception message |
stackTrace | string | Exception stacktrace |
FAQs
Capacitor plugin for Microsoft's App Center Crashes
The npm package @capacitor-community/appcenter-crashes receives a total of 85 weekly downloads. As such, @capacitor-community/appcenter-crashes popularity was classified as not popular.
We found that @capacitor-community/appcenter-crashes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 42 open source maintainers 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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.