Socket
Socket
Sign inDemoInstall

instabug-cordova

Package Overview
Dependencies
0
Maintainers
5
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 11.3.0 to 11.7.0

96

CHANGELOG.md

@@ -0,10 +1,36 @@

## 11.7.0 (2023-02-02)
* Bumps Instabug Android SDK to `v11.8.0`
* Bumps Instabug iOS SDK to `v11.7.0`
* Adds new APIs:
1. `BugReporting.setDisclaimerText`
2. `BugReporting.setCommentMinimumCharacterCount`
* Adds support for more locales:
1. Czech
2. Finnish
3. Hungarian
4. Indonesian (iOS)
5. Norwegian
6. PortuguesePortugal
7. Romanian
8. Slovak
* Adds new string keys:
1. insufficientContentMessage
2. insufficientContentTitle (iOS)
3. screenRecording
* Adds missing mapping for the below string keys on Android:
1. audio
2. image
3. messagesNotificationAndOthers
4. okButtonTitle
## 11.3.0 (2022-10-05)
* Bumps Instabug Android SDK to v11.5.1
* Bumps Instabug iOS SDK to v11.3.0
* Bumps Instabug Android SDK to `v11.5.1`
* Bumps Instabug iOS SDK to `v11.3.0`
## 11.2.0 (2022-09-25)
* Bumps Instabug Android SDK to v11.4.1
* Bumps Instabug iOS SDK to v11.2.0
* Bumps Instabug Android SDK to `v11.4.1`
* Bumps Instabug iOS SDK to `v11.2.0`
* Adds TypeScript support

@@ -15,56 +41,60 @@

* Fixes ArgsRegistry import on iOS
* Fixes a typo in Instabug.setPrimaryColor causing the API not to work
* Fixes a typo in `Instabug.setPrimaryColor` causing the API not to work
## v11.0.0 (2022-07-07)
* Bumps Instabug native SDKs to v11
* Adds the ability to initialize the Android SDK from JavaScript. Check the migration guide referenced in our docs
* Improves Instabug modules import usage. Check the migration guide referenced in our docs
* Bumps Instabug native SDKs to `v11`
* Adds the ability to initialize the Android SDK from JavaScript. Check the [migration guide][migration-guide-v11] for further info
* Improves Instabug modules import usage. Check the [migration guide][migration-guide-v11] for further info
* Migrates Instabug iOS SDK to be installed through CocoaPods
* Moves Instabug.setVideoRecordingFloatingButtonPosition to the BugReporting module
* Adds Instabug.setString API to allow for SDK text customizations
* Replaces Instabug.setShakingThreshold with BugReporting.setShakingThresholdForAndroid
* Adds new API BugReporting.setShakingThresholdForiPhone
* Adds new API BugReporting.setShakingThresholdForiPad
* Adds new API Instabug.setWelcomeMessageMode
* Adds new API Instabug.setColorTheme
* Adds new API Instabug.setSessionProfilerEnabled
* Adds new API BugReporting.setFloatingButtonEdge
* Adds new APIs:
1. `Instabug.setString` to allow for SDK text customizations
2. `Instabug.setWelcomeMessageMode`
3. `Instabug.setColorTheme`
4. `Instabug.setSessionProfilerEnabled`
5. `BugReporting.setShakingThresholdForiPhone`
6. `BugReporting.setShakingThresholdForiPad`
7. `BugReporting.setFloatingButtonEdge`
* Replaces `Instabug.setShakingThreshold` with `BugReporting.setShakingThresholdForAndroid`
* Moves `Instabug.setVideoRecordingFloatingButtonPosition` to the `BugReporting` module
* Fixes an issue with uploading attachments in URL form on iOS
* Fixes an issue with BugReporting.setEnabledAttachmentTypes not working on Android
* Removes the deprecated APIs. Check the migration guide referenced in our docs
* Fixes an issue with `BugReporting.setEnabledAttachmentTypes` not working on Android
* Removes the deprecated APIs. Check the [migration guide][migration-guide-v11] for further info
* Removes the Android multidex dependency
* Removes Instabug.setAutoScreenRecordingMaxDuration
* Removes Surveys.setThresholdForReshowingSurveyAfterDismiss
* Removes BugReporting.invocationModes enum
* Removes the APIs:
1. `Instabug.setAutoScreenRecordingMaxDuration`
2. `Surveys.setThresholdForReshowingSurveyAfterDismiss`
* Removes `BugReporting.invocationModes` enum
[migration-guide-v11]: https://docs.instabug.com/docs/cordova-migration-guide
## v9.1.7 (2021-05-11)
* Bumps iOS SDK to `v9.1.7`
* Bumps Android SDK to `v9.1.8`
* Adds support for Azerbaijani and Danish locales
* Removes the use of `android:requestLegacyExternalStorage` attribute on Android
* Bumps iOS SDK to v9.1.7
* Bumps Android SDK to v9.1.8
## v9.1.6 (2020-07-20)
* Bump native SDKs to v9.1.6
* Bumps native SDKs to `v9.1.6`
* Fixes an issue with crashing UI calls running on background thread
* Fixes an issue where setLocale does not work on Android
* Fixes an issue where `setLocale` does not work on Android
## v9.1.0 (2020-03-19)
* Bump native SDKs to v9.1
* Bumps native SDKs to `v9.1`
## v9.0.0 (2020-03-10)
* Bump native SDKs to v9
* Bumps native SDKs to `v9`
## v8.6.5 (2019-09-06)
* Fixes various android issues
* Fixes various Android issues
## v8.6.4 (2019-09-06)
* Fixes missing imports in android.
* Fixes floatingButtonEdge & floatingButtonOffset on android.
* Fixes missing imports on Android
* Fixes `floatingButtonEdge` & `floatingButtonOffset` on Android
* Adds script to automatically add our maven repo to the project level `build.gradle`

@@ -74,3 +104,3 @@

* Adds initializing android sdk from JS side using `cordova.plugins.instabug.activate`
* Updates native SDK to v8.6.2
* Adds initializing Android SDK from JS side using `cordova.plugins.instabug.activate`
* Updates native SDKs to v8.6.2
{
"name": "instabug-cordova",
"description": "Cordova plugin for integrating the Instabug SDK.",
"version": "11.3.0",
"version": "11.7.0",
"author": "Instabug (https://instabug.com)",

@@ -6,0 +6,0 @@ "repository": "github:Instabug/Instabug-Cordova",

@@ -59,4 +59,4 @@ namespace ArgsRegistry {

audio = "audio",
video = "video",
image = "image",
screenRecording = "screenRecording",
team = "team",

@@ -94,2 +94,4 @@ messagesNotification = "messagesNotification",

reproStepsListItemTitle = "reproStepsListItemTitle",
insufficientContentMessage = "insufficientContentMessage",
insufficientContentTitle = "insufficientContentTitle",
}

@@ -108,19 +110,26 @@

chineseTraditional = "chineseTraditional",
czech = "czech",
danish = "danish",
dutch = "dutch",
english = "english",
finnish = "finnish",
french = "french",
german = "german",
hungarian = "hungarian",
indonesian = "indonesian",
italian = "italian",
japanese = "japanese",
korean = "korean",
norwegian = "norwegian",
polish = "polish",
portugueseBrazil = "portugueseBrazil",
portuguesePortugal = "portuguesePortugal",
romanian = "romanian",
russian = "russian",
slovak = "slovak",
spanish = "spanish",
swedish = "swedish",
turkish = "turkish",
czech = "czech",
}
}
export = ArgsRegistry;

@@ -289,3 +289,33 @@ /*

};
/**
* Adds a disclaimer text within the bug reporting form, which can include hyperlinked text.
* @param text a String of the disclaimer text.
* @param success callback on function success.
* @param error callback on function error.
*/
export const setDisclaimerText = (
text: string,
success?: () => void,
error?: (err: any) => void
) => {
exec("IBGPlugin", "setDisclaimerText", [text], success, error);
};
/**
* Sets a minimum number of characters as a requirement for the comments field in the different report types.
* @param limit an integer number of characters.
* @param reportTypes an optional an array of reportType. If it's not passed, the limit will apply to all report types.
* @param success callback on function success.
* @param error callback on function error.
*/
export const setCommentMinimumCharacterCount = (
limit: number,
reportTypes?: reportType[],
success?: () => void,
error?: (err: any) => void
) => {
exec("IBGPlugin", "setCommentMinimumCharacterCount", [limit, reportTypes], success, error);
};
}
export = BugReporting;

@@ -55,4 +55,4 @@ declare namespace ArgsRegistry {

audio = "audio",
video = "video",
image = "image",
screenRecording = "screenRecording",
team = "team",

@@ -89,3 +89,5 @@ messagesNotification = "messagesNotification",

reproStepsListEmptyStateDescription = "reproStepsListEmptyStateDescription",
reproStepsListItemTitle = "reproStepsListItemTitle"
reproStepsListItemTitle = "reproStepsListItemTitle",
insufficientContentMessage = "insufficientContentMessage",
insufficientContentTitle = "insufficientContentTitle"
}

@@ -102,19 +104,26 @@ enum reproStepsMode {

chineseTraditional = "chineseTraditional",
czech = "czech",
danish = "danish",
dutch = "dutch",
english = "english",
finnish = "finnish",
french = "french",
german = "german",
hungarian = "hungarian",
indonesian = "indonesian",
italian = "italian",
japanese = "japanese",
korean = "korean",
norwegian = "norwegian",
polish = "polish",
portugueseBrazil = "portugueseBrazil",
portuguesePortugal = "portuguesePortugal",
romanian = "romanian",
russian = "russian",
slovak = "slovak",
spanish = "spanish",
swedish = "swedish",
turkish = "turkish",
czech = "czech"
turkish = "turkish"
}
}
export = ArgsRegistry;

@@ -62,4 +62,4 @@ "use strict";

strings["audio"] = "audio";
strings["video"] = "video";
strings["image"] = "image";
strings["screenRecording"] = "screenRecording";
strings["team"] = "team";

@@ -97,2 +97,4 @@ strings["messagesNotification"] = "messagesNotification";

strings["reproStepsListItemTitle"] = "reproStepsListItemTitle";
strings["insufficientContentMessage"] = "insufficientContentMessage";
strings["insufficientContentTitle"] = "insufficientContentTitle";
})(strings = ArgsRegistry.strings || (ArgsRegistry.strings = {}));

@@ -111,19 +113,26 @@ var reproStepsMode;

locale["chineseTraditional"] = "chineseTraditional";
locale["czech"] = "czech";
locale["danish"] = "danish";
locale["dutch"] = "dutch";
locale["english"] = "english";
locale["finnish"] = "finnish";
locale["french"] = "french";
locale["german"] = "german";
locale["hungarian"] = "hungarian";
locale["indonesian"] = "indonesian";
locale["italian"] = "italian";
locale["japanese"] = "japanese";
locale["korean"] = "korean";
locale["norwegian"] = "norwegian";
locale["polish"] = "polish";
locale["portugueseBrazil"] = "portugueseBrazil";
locale["portuguesePortugal"] = "portuguesePortugal";
locale["romanian"] = "romanian";
locale["russian"] = "russian";
locale["slovak"] = "slovak";
locale["spanish"] = "spanish";
locale["swedish"] = "swedish";
locale["turkish"] = "turkish";
locale["czech"] = "czech";
})(locale = ArgsRegistry.locale || (ArgsRegistry.locale = {}));
})(ArgsRegistry || (ArgsRegistry = {}));
module.exports = ArgsRegistry;

@@ -145,3 +145,18 @@ import registry from "./ArgsRegistry";

const setVideoRecordingFloatingButtonPosition: (position: registry.position, success?: () => void, error?: ((err: any) => void) | undefined) => void;
/**
* Adds a disclaimer text within the bug reporting form, which can include hyperlinked text.
* @param text a String of the disclaimer text.
* @param success callback on function success.
* @param error callback on function error.
*/
const setDisclaimerText: (text: string, success?: () => void, error?: ((err: any) => void) | undefined) => void;
/**
* Sets a minimum number of characters as a requirement for the comments field in the different report types.
* @param limit an integer number of characters.
* @param reportTypes an optional an array of reportType. If it's not passed, the limit will apply to all report types.
* @param success callback on function success.
* @param error callback on function error.
*/
const setCommentMinimumCharacterCount: (limit: number, reportTypes?: reportType[], success?: () => void, error?: ((err: any) => void) | undefined) => void;
}
export = BugReporting;

@@ -183,3 +183,22 @@ "use strict";

};
/**
* Adds a disclaimer text within the bug reporting form, which can include hyperlinked text.
* @param text a String of the disclaimer text.
* @param success callback on function success.
* @param error callback on function error.
*/
BugReporting.setDisclaimerText = function (text, success, error) {
(0, IBGCordova_1.exec)("IBGPlugin", "setDisclaimerText", [text], success, error);
};
/**
* Sets a minimum number of characters as a requirement for the comments field in the different report types.
* @param limit an integer number of characters.
* @param reportTypes an optional an array of reportType. If it's not passed, the limit will apply to all report types.
* @param success callback on function success.
* @param error callback on function error.
*/
BugReporting.setCommentMinimumCharacterCount = function (limit, reportTypes, success, error) {
(0, IBGCordova_1.exec)("IBGPlugin", "setCommentMinimumCharacterCount", [limit, reportTypes], success, error);
};
})(BugReporting || (BugReporting = {}));
module.exports = BugReporting;

@@ -234,3 +234,3 @@ import registry from "./ArgsRegistry";

*/
const setLocale: (locale: registry.locale | "arabic" | "azerbaijani" | "chineseSimplified" | "chineseTraditional" | "danish" | "dutch" | "english" | "french" | "german" | "italian" | "japanese" | "korean" | "polish" | "portugueseBrazil" | "russian" | "spanish" | "swedish" | "turkish" | "czech", success?: () => void, error?: ((err: any) => void) | undefined) => void;
const setLocale: (locale: registry.locale | "arabic" | "azerbaijani" | "chineseSimplified" | "chineseTraditional" | "czech" | "danish" | "dutch" | "english" | "finnish" | "french" | "german" | "hungarian" | "indonesian" | "italian" | "japanese" | "korean" | "norwegian" | "polish" | "portugueseBrazil" | "portuguesePortugal" | "romanian" | "russian" | "slovak" | "spanish" | "swedish" | "turkish", success?: () => void, error?: ((err: any) => void) | undefined) => void;
/**

@@ -237,0 +237,0 @@ * Sets SDK color theme.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc