0.0.7 • Published 2 years ago

capacitor-bugly v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

capacitor-bugly

npm

šŸ“± Bugly plugin for Capacitor

Install

npm install capacitor-bugly
npx cap sync

Setup

Edit your capacitor.config.json like below

// capacitor.config.json
{
	"appId": "**.***.**",
	"appName": "Name",
	"plugins": {
		"Bugly": {
			"androidAppId": "**",
      		"iOSAppId": "**",
			"debug": false
		}
	}
}

API

initCrashReport()

initCrashReport() => any

Manually initializing Bugly

Returns: any


setUserValue(...)

setUserValue(options: SetUserValueOptions) => any

Custom Map parameters can save some custom environment information when a crash occurs

ParamType
optionsSetUserValueOptions

Returns: any


setUserSceneTag(...)

setUserSceneTag(options: SetUserSceneTagOptions) => any

Custom tags are used to indicate a certain "scene" in the app. When a crash occurs, the "scene" where the crash occurs will be displayed, based on the last set label, and the label ID must be greater than 0

ParamType
optionsSetUserSceneTagOptions

Returns: any


Interfaces

SetUserValueOptions

PropType
keystring
valuestring

SetUserSceneTagOptions

PropType
tagnumber

Inspiration

0.0.3

2 years ago

0.0.2

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.1

2 years ago