npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@c4uno/ionic-zendesk-support

v0.0.6

Published

Zendesk support client Wrapper

Downloads

3

Readme

ionic-zendesk-support

This plugin provides a wrapper for the native iOS and Android Zendesk SDKs for integrating help center and ticket management functionality into your Cordova app.

Usage

initialize

Initializes the Zendesk SDK for usage with your application. You will need the appId, clientId, and zendeskUrl obtained when registering your application through Zendesk Support. This method must be invoked before any other plugin methods can be used.

document.addEventListener("deviceready", function() {
  window.zendesk.initialize(appId, clientId, zendeskUrl);
});

setAnonymousIdentity

Sets the Zendesk SDK to use an anonymous identity. Name and email can optionally passed as identifying information to provide more context when submitting tickets. This method must be invoked after initialize and before any other plugin methods.

  • name - The name of the user for identification purposes (optional)
  • email - The email of the user for identification purposes (optional)
var name = "Don Filo";
var email = "[email protected]";

window.zendesk.setAnonymousIdentity(name, email);

setIdentity

Sets the Zendesk SDK to use a specific identity.

var token = "abcdef123456";

window.zendesk.setIdentity(token);

showHelpCenter

Presents a new view for browsing help center articles for the application. The articles displayed can be filtered by category, section, and labels.

  • groupType - Valid values are "category" and "section" (optional)
  • groupIds - An array of group category or section IDs to filter displayed articles with (optional)
  • labels - An array of label names to filter displayed articles with (optional)
var groupType = "category";
var groupIds = [1234, 5678];
var labels = ["mobile", "ios"];

window.zendesk.showHelpCenter(groupType, groupIds, labels);

showTicketRequest

Presents a new view for submitting a support ticket.

  • subject - The subject to assign to the new ticket (optional)
  • tags - An array of tags to assign to the new ticket (optional)
  • fields - An array of pipe-delimited ID/value pairs for custom fields to assign to the new ticket (ex: "123456|abcdef") (optional)
var subject = "Widget Error";
var tags = ["mobile", "widget"];

window.zendesk.showTicketRequest(subject, tags);

showUserTickets

Presents a new view listing a user's previously submitted tickets.

window.zendesk.showUserTickets();