-
Notifications
You must be signed in to change notification settings - Fork 18
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
Embed chat as a fragment feature #70
Comments
ah, found. <\fragment but what can use instead now? |
Hi there! Our tech team will get back to you on this as soon as possible. Thank you for your patience. :) |
Hi @baptistejamin , I replaced my own fragments with Intent crispIntent = new Intent(this, ChatActivity.class); and it works. |
Hello @picaro and thank your for your feedback. Indeed, the new Android native SDK was not intended to run in a fragment but we discussed of it internally as mentioned in #67 (comment) and it could come back in a future release, stay tuned :) |
Supporting SDK to be integrated as a fragment will require the hosting activity to be able to restart from
Unfortunately, this method seems to crash on Xiaomi devices :/ (see #99) |
Finally, this feature has been dropped in our roadmap as in the next release, Crisp will be displayed as BottomSheet instead. So closing this issue. |
E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1950)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7073)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
Caused by: java.lang.ClassNotFoundException: Didn't find class "im.crisp.sdk.ui.CrispFragment" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.workingbricks.rentitapp-EZi5GAFS0Id3MrQt2MujNg==/base.apk"],nativeLibraryDirectories=[/data/app/com.workingbricks.rentitapp-EZi5GAFS0Id3MrQt2MujNg==/lib/arm64, /data/app/com.workingbricks.rentitapp-EZi5GAFS0Id3MrQt2MujNg==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.Fragment.instantiate(Fragment.java:524)
The text was updated successfully, but these errors were encountered: