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

Manage support operation #6

Merged
merged 9 commits into from
Nov 24, 2021
Merged

Manage support operation #6

merged 9 commits into from
Nov 24, 2021

Conversation

debiff
Copy link

@debiff debiff commented Nov 24, 2021

Short description

This PR adds the interface and the implementation of 2 functions that exploit the Zendesk support package instead of the unified package.

List of changes proposed in this pull request

  • Added the method openTicket that allow a user to open a ticket
  • Added the method showTickets that allow a user to see the list of his ticket.
  • Upgraded the version to 0.3.7
openTicket showTickets

How to test

Install the library and call the to methods with:

import ZendDesk from "io-react-native-zendesk";

<ButtonDefaultOpacity
        onPress={() => ZendDesk.openTicket()}
>...</ButtonDefaultOpacity>

<ButtonDefaultOpacity
        onPress={() => ZendDesk.showTickets()}
>...</ButtonDefaultOpacity>

@debiff debiff requested a review from Undermaken November 24, 2021 13:56

List<CustomField> customFields = new ArrayList<>();
// Custom Field for the category
customFields.add(new CustomField(1900002821093L, "Cashback"));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@debiff should we also increase the version of the package?

Copy link
Author

@debiff debiff Nov 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed?

No, it's a test I forgot to remove. Removed in 37c5205

should we also increase the version of the package?

Sorry, I commit it locally without pushing. Upgraded in 07d58ff

@debiff debiff requested a review from Undermaken November 24, 2021 16:05
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