5.1.2 • Published 2 days ago

react-native-bugsee v5.1.2

Weekly downloads
424
License
Commercial
Repository
-
Last release
2 days ago

react-native-bugsee

NPM version

Bugsee is free crash and bug reporting with video, network and logs. Sign up for a service at https://www.bugsee.com. This Native Module allows for an easy integration of the Bugsee SDK with React Native based application on iOS and Android.

Installation of react-native-bugsee module allows for a richer integration and brings the ability to further control Bugsee from within your Javascript code.

Supported SDK Versions

  • iOS : 5.0.2
  • Android : 5.0.3

Installation

For installation instructions, please refer to the documentation.

Usage

First, import Bugsee module into your javascript code:

import Bugsee from "react-native-bugsee";

User events

User events can be attached to the report, events are identified by a string and can have an optional dictionary of parameters that will be stored and passed along with the report.

// Without any additional parameters
Bugsee.event("payment_processed");

// ...our with additional custom parameters
Bugsee.event("payment_processed", {
  amount: 125,
  currency: "USD",
});

User traces

User traces can be attached to the report, this may be useful when you want to trace how a specific variable or state changes over time right before the problem happens.

// Manually set value of 15 to property named "credit_balance"
// any time it changes
Bugsee.trace("credit_balance", 15);

Logging

You can use Bugsee logging interface directly, we provide two API functions for send a message to a log:

// With default log level (normal)
Bugsee.log("Some log message");

// Set the log level explicitly
// Levels are Bugsee.LogLevel.Error, Bugsee.LogLevel.Warning, Bugsee.LogLevel.Debug, Bugsee.LogLevel.Info, Bugsee.LogLevel.Verbose,
Bugsee.log("Some log message", Bugsee.LogLevel.Info);

Manual invocation

Trigger Report

In addition to detection of shake gesture or screenshot issue report view can be triggered programmatically from within your Cordova application:

Bugsee.showReportDialog();

Optionally you can pre-fill some fields (summary, description, severity, user will be able to modify them later.

// Bugsee.showReportDialog(summary, description, severity)
Bugsee.showReportDialog(
  "Problem summary",
  "Further description",
  Bugsee.Severity.Medium
);

Upload from code

User doesn't have to be involved, you can also generate and upload a report automatically from your code.

// Bugsee.assert(summary, description, severity)
Bugsee.upload(
  "Problem summary",
  "Further description",
  Bugsee.Severity.Blocker
);

Bugsee can be further customized. For a complete SDK documentation covering additional options and API's visit https://docs.bugsee.com

5.1.2

2 days ago

5.1.1

18 days ago

5.1.0

18 days ago

5.0.4

22 days ago

5.0.3

29 days ago

5.0.2

1 month ago

5.0.1

2 months ago

5.0.0

5 months ago

4.0.0

7 months ago

4.1.0

5 months ago

3.2.0

8 months ago

3.1.3

9 months ago

3.1.2

10 months ago

3.1.1

11 months ago

3.1.0

11 months ago

3.0.10

1 year ago

3.0.8

1 year ago

3.0.7

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

3.0.9

1 year ago

3.0.4

1 year ago

3.0.3

1 year ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

3.0.0-beta.2

2 years ago

3.0.0-beta.1

2 years ago

3.0.0-beta.0

2 years ago

2.10.3

2 years ago

2.10.1

2 years ago

2.10.2

2 years ago

2.9.1

2 years ago

2.10.0

2 years ago

2.9.0

2 years ago

2.8.0

2 years ago

2.7.0

2 years ago

2.6.1

2 years ago

2.6.0

3 years ago

2.5.1

3 years ago

2.5.0

3 years ago

2.4.5

3 years ago

2.4.6

3 years ago

2.4.3

3 years ago

2.4.4

3 years ago

2.4.1

3 years ago

2.4.2

3 years ago

2.4.0

3 years ago

2.3.8

3 years ago

2.3.7

3 years ago

2.3.6

4 years ago

2.3.5

4 years ago

2.3.4

4 years ago

2.3.3

4 years ago

2.3.2

4 years ago

2.3.1

4 years ago

2.2.2

4 years ago

2.3.0

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.0.15

5 years ago

2.0.14

5 years ago

2.0.13

5 years ago

2.0.12

5 years ago

2.0.10

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago