Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MOB-11550] Introduce New Enums #914

Merged
merged 7 commits into from
Feb 15, 2023
Merged

[MOB-11550] Introduce New Enums #914

merged 7 commits into from
Feb 15, 2023

Conversation

TheBuggedYRN
Copy link
Contributor

@TheBuggedYRN TheBuggedYRN commented Feb 13, 2023

Description of the change

Introduce new standalone Enums that can be imported Directly from Instabug as follows:

import Instabug, { InvocationEvent, LogLevel } from 'instabug-reactnative';
Old (Deprecated) New
Instabug.sdkDebugLogsLevel LogLevel
Instabug.invocationEvent InvocationEvent
Instabug.colorTheme ColorTheme
Instabug.IBGPosition RecordingButtonPosition
Instabug.welcomeMessageMode WelcomeMessageMode
Instabug.dismissType DismissType
Instabug.extendedBugReportMode ExtendedBugReportMode
Instabug.reproStepsMode ReproStepsMode
Instabug.locale Locale
Instabug.strings StringKey
APM.logLevel LogLevel
BugReporting.reportType ReportType
BugReporting.option InvocationOption
BugReporting.floatingButtonEdge FloatingButtonPosition
BugReporting.position RecordingButtonPosition
FeatureRequests.actionTypes ActionType

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Issue links go here

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests

Code review

  • This pull request has a descriptive title and information useful to a reviewer
  • Issue from task tracker has a link to this pull request

@TheBuggedYRN TheBuggedYRN self-assigned this Feb 15, 2023
@TheBuggedYRN TheBuggedYRN marked this pull request as ready for review February 15, 2023 12:08
@TheBuggedYRN TheBuggedYRN changed the title Introduce New Enums [MOB-11550] Introduce New Enums Feb 15, 2023
@TheBuggedYRN TheBuggedYRN merged commit 44a329a into dev Feb 15, 2023
@TheBuggedYRN TheBuggedYRN deleted the refactor/enums branch February 15, 2023 13:03
ymabdallah pushed a commit that referenced this pull request Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants