GithubHelp home page GithubHelp logo

cordova-plugin-salesforce-snapins's People

Stargazers

 avatar

Watchers

 avatar  avatar

cordova-plugin-salesforce-snapins's Issues

Not able to implement this plugin in an Ionic v3 project.

I am trying to implement this plugin in my ionic v3 project but I am getting an error : Property cordova does not exist in on type window. Can anyone tell me that is it possible to implement this plugin in ionic v3 and if yes how??
contact ts โ€” chatTest 2019-04-02 11-26-15
Ionic App 2019-04-02 11-25-00

Any help would be appreciated.

Thanks and Regards.
Vishwajeet Singh.

Visitor Name property not available in plugin to set.

The SCSChatConfiguration object in the Salesforce SDK has a property to set the visitor name for the chat. The property is named "visitorName" that takes a string as an argument. This would allow for setting that property in the plugin and seeing the visitor name within the chat window. Without setting this property, it defaults to showing "Visitor" as the name.

v1.0.3 was not published to npm

The package.json was not bumped to v1.0.3 probably causing the publish to npm to do nothing because the code of the 1.0.3 is not on npm.

Currently installing via git like this:

npx cordova plugin add https://github.com/SonoIo/cordova-plugin-salesforce-snapins.git#1.0.3 --variable USESWIFTLANGUAGEVERSION="4"

I don't know why I had to add the variable, I'm a copy/paste master when it comes to cordova :(

Error on Android while calling SalesforceSnapIns.determineAvailability

Here is the stacktrace:

2021-04-19 13:52:40.039 14517-14653/com.my.app E/PluginManager: Uncaught exception from plugin
    java.lang.NullPointerException: Attempt to invoke virtual method 'com.salesforce.android.chat.core.ChatConfiguration$Builder com.salesforce.android.chat.core.ChatConfiguration$Builder.chatUserData(java.util.List)' on a null object reference
        at org.apache.cordova.salesforce.SalesforceSnapInsPlugin.buildLiveAgentChatConfig(SalesforceSnapInsPlugin.java:164)
        at org.apache.cordova.salesforce.SalesforceSnapInsPlugin.execute(SalesforceSnapInsPlugin.java:105)
        at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
        at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
        at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
        at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
        at android.os.MessageQueue.nativePollOnce(Native Method)
        at android.os.MessageQueue.next(MessageQueue.java:335)
        at android.os.Looper.loop(Looper.java:183)
        at android.os.HandlerThread.run(HandlerThread.java:67)

Could you help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.