qiscus-multichannel-widget-android's People
qiscus-multichannel-widget-android's Issues
Crash when tried to implement FCM
Hi guys I notice you already fixed the exoplayer issue and thanks for it, but now we have another issue when we tried to implement FCM+qiscus in our application, we already following the documentation but somehow our application crash at runtime here is the logcat :
I thought its an issue from SDK because the stack trace says it is
some part that need to take a note is Lcom/google/firebase/iid/FirebaseInstanceId
we manage to fix it by implementing this
implementation("com.google.firebase:firebase-iid"){
because("qiscus SDK always crash without it")
}
and here is our logcat when the crash happens:
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:59)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceId;
at com.qiscus.sdk.chat.core.QiscusCore.configureFcmToken(QiscusCore.java:920)
at com.qiscus.sdk.chat.core.QiscusCore.lambda$setUserWithIdentityToken$3$QiscusCore(QiscusCore.java:724)
at com.qiscus.sdk.chat.core.-$$Lambda$QiscusCore$7suKjVqETWluUOaO1jRIGMtrS9c.call(Unknown Source:4)
at rx.internal.util.ActionObserver.onNext(ActionObserver.java:39)
at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onNext(OnSubscribeDoOnEach.java:96)
at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:77)
at retrofit2.adapter.rxjava.BodyOnSubscribe$BodySubscriber.onNext(BodyOnSubscribe.java:51)
at retrofit2.adapter.rxjava.BodyOnSubscribe$BodySubscriber.onNext(BodyOnSubscribe.java:39)
at retrofit2.adapter.rxjava.CallArbiter.deliverResponse(CallArbiter.java:118)
at retrofit2.adapter.rxjava.CallArbiter.emitResponse(CallArbiter.java:100)
at retrofit2.adapter.rxjava.CallExecuteOnSubscribe.call(CallExecuteOnSubscribe.java:46)
at retrofit2.adapter.rxjava.CallExecuteOnSubscribe.call(CallExecuteOnSubscribe.java:24)
at retrofit2.adapter.rxjava.BodyOnSubscribe.call(BodyOnSubscribe.java:36)
at retrofit2.adapter.rxjava.BodyOnSubscribe.call(BodyOnSubscribe.java:28)
at rx.Observable.unsafeSubscribe(Observable.java:10256)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.Observable.unsafeSubscribe(Observable.java:10256)
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)
at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)
at rx.Observable.unsafeSubscribe(Observable.java:10256)
at rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber.call(OperatorSubscribeOn.java:100)
at rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call(CachedThreadScheduler.java:230)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923) ```
Hope it helps qiscus team and others partner when integrating qiscus SDK
Image Upload
Request to Update multichannel-widget for Compatibility with Jetifier Disabled
Dear Qiscus Development Team,
I am currently using the multichannel-widget
version 2.2.1
in my Android project. I noticed that this library requires legacy support libraries, as indicated by the need for Jetifier to be enabled. This requirement increases our project's build time significantly.
In line with modern Android development practices and to enhance build performance, I kindly request that the multichannel-widget
library be updated to be compatible with AndroidX without the need for Jetifier.
This change would be greatly appreciated by many developers who strive for more efficient build times and modern library practices. Attached is a screenshot from my build's analysis that indicates the dependency on legacy support libraries.
Thank you for considering this request. I am looking forward to the improved version of the multichannel-widget
.
Best regards,
Ryan
Issue Duplicate class exoplayer
Hi guys I have an issue when I integrate qiscus, here is the stacktrace :
`* What went wrong:
Execution failed for task ':app:checkEvermosFreeDebugDuplicateClasses'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class com.google.android.exoplayer2.ui.package-info found in modules jetified-exoplayer-common-2.14.1-runtime (com.google.android.exoplayer:exoplayer-common:2.14.1) and jetified-exoplayer-ui-2.12.0-runtime (com.google.android.exoplayer:exoplayer-ui:2.12.0)`
here is a similar issue: https://translate.google.com/translate?sl=auto&tl=en&u=https://zhuanlan.zhihu.com/p/388052240
the exoplayer should be upgraded to 2.14.1
Custom Widget on Javascript Web
Hello Everyone!
I want to make Qisqus Mutichannel Widget with customized UI like https://github.com/qiscus/qiscus-chat-sdk-js-sample
anyone can tell how?
Thanks.
I am using this currently.
<script>
document.addEventListener('DOMContentLoaded', function() {
var s,t; s = document.createElement('script'); s.type = 'text/javascript';
s.src = 'https://s3-ap-southeast-1.amazonaws.com/qiscus-sdk/public/qismo/qismo-v4.js'; s.async = true;
s.onload = s.onreadystatechange = function() { new Qismo('qismokey', {
options: {
channel_id: channel_id,
extra_fields: [],
}
}); }
t = document.getElementsByTagName('script')[0]; t.parentNode.insertBefore(s, t);
});
</script>
Jcenter Issue
Hello guys, I have an issue when integrating qiscus widget, I think the problem is the dependency library to Jcenter, there is an error from some libraries that I think still get from Jcenter, because when I see the step to integrate is need Jcenter in build.gradle, but my project is not using Jcenter anymore because it's already shutting down the service.
Custom static title
I have an Issue in version 2.0.1, I already set the custom title:
.setRoomTitle("Custom Title")
but the title is still get from name in setUser function.
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.