How to use the instabug-reactnative.invoke function in instabug-reactnative

To help you get started, we’ve selected a few instabug-reactnative examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Instabug / Instabug-React-Native / InstabugSample / index.android.js View on Github external
onPress={() => {
                                console.log("invoke Button has been clicked");
                                Instabug.invoke()}}
                    title="Invoke Instabug"
github Instabug / Instabug-React-Native / InstabugSample / index.ios.js View on Github external
_pressRow(rowID: number) {
    if (rowID == 0) {
      Instabug.invoke();
    } else if (rowID == 1) {
      this._showInvocationModeActionSheet();
    } else if (rowID == 2) {
      this._showInvocationEventActionSheet();
    } else if (rowID == 3) {
      Instabug.showIntroMessage();
    } else if (rowID == 4) {
      Instabug.getUnreadMessagesCount(function (number) {
          Alert.alert(number.toString());
      });
    } else if (rowID == 5) {
      this._showLocaleActionSheet();
    } else if (rowID == 6) {
      this._showColorThemeActionSheet();
    } else if (rowID == 7) {
      this._showPrimaryColorActionSheet();