cordova-plugin-salesforce-snapins's People
cordova-plugin-salesforce-snapins's Issues
bug: clearPrechatFields method success callback is never invoked on Android
The problem seems that there is no callbackContext.success() invocation in clearPrechatFields method - see
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??
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.