Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@capacitor-community/appcenter-analytics
Advanced tools
Readme
@capacitor-community/appcenter-analytics
App Center Analytics helps you understand user behavior and customer engagement to improve your app. The SDK automatically captures session count and device properties like model, OS version, etc. You can define your own custom events to measure things that matter to you. All the information captured is available in the App Center portal for you to analyze the data.
Maintainer | GitHub | Social |
---|---|---|
John Borges | johnborges | @johnborges |
npm install @capacitor-community/appcenter-analytics
npx cap sync
Once you add App Center Analytics to your app and the SDK is started, it will automatically track sessions and device properties like OS Version, model, etc. You don’t need to write any additional code.
setEnabled(...)
isEnabled()
pause()
resume()
trackEvent(...)
enableManualSessionTracker()
startSession()
setEnabled(options: { enable: boolean; }) => Promise<void>
You can enable and disable App Center Analytics at runtime. If you disable it, the SDK won't collect any more analytics information for the app.
Param | Type |
---|---|
options | { enable: boolean; } |
Since: 0.3.0
isEnabled() => Promise<{ value: boolean; }>
Check if Analytics is enabled or not.
Returns: Promise<{ value: boolean; }>
Since: 0.0.1
pause() => Promise<void>
Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk.
Since: 0.1.0
resume() => Promise<void>
Resume transmission of Analytics logs. Any Analytics logs that accumulated on disk while paused are sent to the server.
Since: 0.1.0
trackEvent(options: AnalyticsEvent) => Promise<void>
Track an event with optional custom properties to know what's happening in your app, understand user actions, and see the aggregates in the App Center portal.
Param | Type |
---|---|
options | AnalyticsEvent |
Since: 0.1.0
enableManualSessionTracker() => Promise<void>
Enable manual session tracker. Call this method before Analytics starts.
Since: 2.0.0
startSession() => Promise<void>
Start a new session if manual session tracker is enabled, otherwise do nothing.
Since: 2.0.0
Prop | Type | Description |
---|---|---|
name | string | 256 character limit |
properties | { [key: string]: string; } | Only 20 properties allowed per event |
flag | 'normal' | 'critical' |
FAQs
Capacitor plugin for AppCenter Analytics
The npm package @capacitor-community/appcenter-analytics receives a total of 239 weekly downloads. As such, @capacitor-community/appcenter-analytics popularity was classified as not popular.
We found that @capacitor-community/appcenter-analytics demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.