GithubHelp home page GithubHelp logo

chyiiiiiiiiiiii / flutter_zendesk_messaging Goto Github PK

View Code? Open in Web Editor NEW
25.0 4.0 41.0 6.36 MB

Zendesk-Messaging for Flutter developer

License: Apache License 2.0

Kotlin 26.38% Ruby 5.65% Swift 25.86% Objective-C 1.84% Dart 40.27%
flutter dart android ios zendesk messaging chat customer-service

flutter_zendesk_messaging's Introduction

I am Yii live in Taiwan. Keep making Chinese community of Flutter stronger.

Wish you have a good day!

More of me

Medium Linkedin Twitter instagram

Talks

Date Event Title Repo Video Slide
2024-03-26 Flutter Taipei Meetup #11 Have Fun in Global Gamers Challenge Link Video Slide
2024-01-30 Flutter Taipei Meetup #10 Flutter January 2024 Link Video Slide
2023-12-16 Google DevFest Taipei 2023 Develop Efficiently by Dart 3 Link Video Slide
2023-12-10 Google DevFest Shanghai 2023 Develop Efficiently by Dart 3 Link Video Slide
2023-12-10 Google DevFest Shanghai 2023 親子AI編程星際之旅(Flutter、Flame) Link Video Slide
2023-11-29 Flutter Taipei Meetup #8 Flutter 3.16 & Dart 3.2 Link Video Slide
2023-09-27 Flutter Taipei Meetup #6 幫助你熟悉 Dart 3,這些高效語法你需要知道 Link Video Slide
2023-07-01、08 Google IO Extended 2023 What's good in Flutter 3.10 and Dart 3? Link Video Slide

Apps I developed


chyiiiiiiiiiiii

flutter_zendesk_messaging's People

Contributors

chyiiiiiiiiiiii avatar douglasvalerio avatar gilsonjuniorpro avatar tspoke avatar victoruvarov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flutter_zendesk_messaging's Issues

uninitialize

It would be great to have an uninitialize function. I've ran into an issue where we have subrands in our zendesk and so they each need their own channel keys. In different sections of the app a certain subrand should open but whichever subrand/section has been initialized first will be the one that remains initialized regardless of where a use maybe in the app.

[ZendeskMessaging] - Login failure : HTTP 401 (No error message)

Currently i am using 2.7.4 version, when i got this token and pass to login function this error occurred. I've checked the #3 and read this reference, but i didn't found the solution and what i am missed from the payload. Here is the jwt format:

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImFwcF82NDc5OTYwOTIxNzc4NmYwOWZkeHh4eHgifQ.eyJzY29wZSI6InVzZXIiLCJuYW1lIjoiQWJkdXIgUm9obWFuIiwiZXh0ZXJuYWxfaWQiOiI0MTYxMDE1IiwiZXhwIjoxNzE3OTg2NDAwLCJpYXQiOjE2ODU5OTYxOTYsImp0aSI6IjQxNjEwMTUiLCJlbWFpbCI6Im1haWxAZ21haWwuY29tIn0.TTu_1s9hNB_fZcKyN8GUiFcTVw8w1G8sqEkKqiL0J2Y

image

When i was enabled the log and try to call the login with function and error occurred, there are no error message and given the error code only

W/AppActionProcessor( 6890): RealtimeConnectionStatusUpdate(connectionStatus=DISCONNECTED) cannot processed.
D/EffectMapper( 6890): Effect zendesk.conversationkit.android.internal.Effect$IncorrectAccessLevel@eec3b3b has no public counterpart, skipping.
E/AppActionProcessor( 6890): [UTC 2023-06-05T01:22:02Z] Failed to login
E/AppActionProcessor( 6890): retrofit2.HttpException: HTTP 401 
E/AppActionProcessor( 6890):    at retrofit2.KotlinExtensions$await$2$2.onResponse(KotlinExtensions.kt:53)
E/AppActionProcessor( 6890):    at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:161)
E/AppActionProcessor( 6890):    at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
E/AppActionProcessor( 6890):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
E/AppActionProcessor( 6890):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
E/AppActionProcessor( 6890):    at java.lang.Thread.run(Thread.java:1012)
D/EffectMapper( 6890): Effect LoginUserResult(conversationKitSettings=zendesk.conversationkit.android.ConversationKitSettings@b0a5a79, config=Config(app=App(id=642e3277be6a38011042d2f2, status=active, name=2322021, isMultiConvoEnabled=false), baseUrl=https://ajobthing-my.zendesk.com/sc/sdk, integration=Integration(id=6433b6d72c3e28010e7b5117, canUserCreateMoreConversations=true, canUserSeeConversationList=true), restRetryPolicy=RestRetryPolicy(regular=60, aggressive=15, timeUnit=SECONDS, backoffMultiplier=2, maxRetries=5)), result=Failure(cause=retrofit2.HttpException: HTTP 401 ), clientId=5f6b489b-4ec9-4966-88d9-7d33e688a1e6) has no public counterpart, skipping.
I/System.out( 6890): [ZendeskMessaging] - Login failure : HTTP 401 
I/System.out( 6890): retrofit2.HttpException: HTTP 401

Thanks

Problem in release Android

this package used to work form me, since I updated to zendesk_messaging: ^2.7.5 now I get the next error in release:
[ZendeskMessaging] - initialize failure - java.lang.AssertionError: Missing field in a9.b [ZendeskMessagingPlugin] - Messaging needs to be initialized first

it still works in debug, any idea how could I fix it?

iOS does not load the messages

I am having this problem just in iOS App, Android App works fine, does anyone have any idea how can I solve this?

Also, I am seeing this message on log

[ERROR:flutter/shell/common/shell.cc(1015)] The ‘zendesk_messaging’ channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.

Thank you

Simulator Screenshot - iPhone 15 Pro - 2023-12-14 at 12 14 06

[Feature Request] Zendesk Messaging Screen Widget

Issue

Currently, we have to use ZendeskMessaging.show() to show the messagingViewController on iOS and Messaging activity on Android. I would like to be able to have a Messaging Screen widget that I can have as a full-screen widget.

Use case

MessagingScreen as a screen in a TabView or BottomNavigationBar

Handle message on main threads

I get this error when calling a platform channel method. For example calling initialize()

The 'zendesk_messaging' channel sent a message from native to Flutter on a non-platform thread. 
Platform channel messages must be sent on the platform thread. 
Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.

Flutter recommends us to send the messages on the main thread
https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading

Conflict with FIDO2

Hi all.

I have such a problem, but I can’t figure out how to solve it.

I have in my application FIDO2 which works with U2F keys. After connecting the library there were no problems in debug mode, everything worked as it should, but when I compile the release version, for some reason FIDO2 it starts to give the wrong signature.

I tested a lot, just after connecting zendesk.messaging:messaging-android I get this error.

Maybe someone can help me understand what the plugin can change during the release of the build, I can’t find it.

ZendeskMessaging.getUnreadMessageCount shows IllegalStateException error on Android

Everytime when I call ZendeskMessaging.getUnreadMessageCount(), it will print the following message. Just wondering is this expected and safe?

E/MethodChannel#zendesk_messaging( 4308): Failed to handle method call
E/MethodChannel#zendesk_messaging( 4308): java.lang.IllegalStateException: Reply already submitted
E/MethodChannel#zendesk_messaging( 4308): 	at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:435)
E/MethodChannel#zendesk_messaging( 4308): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:272)
E/MethodChannel#zendesk_messaging( 4308): 	at com.chyiiiiiiiiiiiiii.zendesk_messaging.ZendeskMessagingPlugin.onMethodCall(ZendeskMessagingPlugin.kt:119)
E/MethodChannel#zendesk_messaging( 4308): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
E/MethodChannel#zendesk_messaging( 4308): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/MethodChannel#zendesk_messaging( 4308): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
E/MethodChannel#zendesk_messaging( 4308): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/MethodChannel#zendesk_messaging( 4308): 	at android.os.Handler.handleCallback(Handler.java:942)
E/MethodChannel#zendesk_messaging( 4308): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/MethodChannel#zendesk_messaging( 4308): 	at android.os.Looper.loopOnce(Looper.java:201)
E/MethodChannel#zendesk_messaging( 4308): 	at android.os.Looper.loop(Looper.java:288)
E/MethodChannel#zendesk_messaging( 4308): 	at android.app.ActivityThread.main(ActivityThread.java:7872)
E/MethodChannel#zendesk_messaging( 4308): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#zendesk_messaging( 4308): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/MethodChannel#zendesk_messaging( 4308): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

How to show MessageController without conversation history seen

I show MessageController by Code "ZendeskMessaging.show()"
But in the Message Controller, conversation history could been seen .

Is there any way to show the MessageController, without the conversation history, every MessageController I show is a new one.

Chat history

  • I'm getting the same chat history from Zendesk. for example, I've logged into my app with one user and did some chat with Zendesk then I logged off that user and invalidated Zendesk Now I, initialize Zendesk again and call the show method but in that, I'm still getting the chat history of previous user.

zendesk_messaging: 2.8.0 cannot be run on Android

When I first tried zendesk_messaging: 2.8.0, I got an error something like the following
"Unexpected end of ZLIB input stream",

(I forgot the exact but something along the line)

Since then, whenever I tried to run again, it will automatically close the application and show "Lost connection to device".

Now I'm using 2.7.7, it's working again.

email click crash

Click the mailbox on the chat page, crash, you need to determine whether there is a mailbox app:

E/AndroidRuntime(29563): FATAL EXCEPTION: main E/AndroidRuntime(29563): Process: com.planet.toobit, PID: 29563 E/AndroidRuntime(29563): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=mailto:[email protected] } E/AndroidRuntime(29563): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2076) E/AndroidRuntime(29563): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1720) E/AndroidRuntime(29563): at android.app.Activity.startActivityForResult(Activity.java:5258) E/AndroidRuntime(29563): at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:754) E/AndroidRuntime(29563): at android.app.Activity.startActivityForResult(Activity.java:5203) E/AndroidRuntime(29563): at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:735) E/AndroidRuntime(29563): at android.app.Activity.startActivity(Activity.java:5587) E/AndroidRuntime(29563): at android.app.Activity.startActivity(Activity.java:5555) E/AndroidRuntime(29563): at zendesk.messaging.android.internal.conversationscreen.ConversationActivity$uriHandler$1$1.invoke(ConversationActivity.kt:123) E/AndroidRuntime(29563): at zendesk.messaging.android.internal.conversationscreen.ConversationActivity$uriHandler$1$1.invoke(ConversationActivity.kt:116) E/AndroidRuntime(29563): at zendesk.messaging.android.internal.conversationscreen.ConversationScreenCoordinator$handleUri$1.invokeSuspend(ConversationScreenCoordinator.kt:343) E/AndroidRuntime(29563): at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) E/AndroidRuntime(29563): at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:367) E/AndroidRuntime(29563): at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:30) E/AndroidRuntime(29563): at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default(Cancellable.kt:25) E/AndroidRuntime(29563): at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:110) E/AndroidRuntime(29563): at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126) E/AndroidRuntime(29563): at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56) E/AndroidRuntime(29563): at kotlinx.coroutines.BuildersKt.launch(Unknown Source:1) E/AndroidRuntime(29563): at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47) E/AndroidRuntime(29563): at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source:1) E/AndroidRuntime(29563): at zendesk.messaging.android.internal.conversationscreen.ConversationScreenCoordinator.handleUri(ConversationScreenCoordinator.kt:340) E/AndroidRuntime(29563): at zendesk.messaging.android.internal.conversationscreen.ConversationActivity.uriHandler$lambda-0(ConversationActivity.kt:116) E/AndroidRuntime(29563): at zendesk.messaging.android.internal.conversationscreen.ConversationActivity.$r8$lambda$2v49gH_xjnkSIIupHcAc1iuCh9A(Unknown Source:0) E/AndroidRuntime(29563): at zendesk.messaging.android.internal.conversationscreen.ConversationActivity$$ExternalSyntheticLambda0.onUriClicked(Unknown Source:2) E/AndroidRuntime(29563): at zendesk.messaging.android.internal.conversationscreen.delegates.MessageContainerAdapterDelegate$ViewHolder$renderContent$view$8.invoke(MessageContainerAdapterDelegate.kt:365) E/AndroidRuntime(29563): at zendesk.messaging.android.internal.conversationscreen.delegates.MessageContainerAdapterDelegate$ViewHolder$renderContent$view$8.invoke(MessageContainerAdapterDelegate.kt:359) E/AndroidRuntime(29563): at zendesk.messaging.android.internal.conversationscreen.messagelog.MessageLogCellFactory$createTextCell$3$1$3.invoke(MessageLogCellFactory.kt:143) E/AndroidRuntime(29563): at zendesk.messaging.android.internal.conversationscreen.messagelog.MessageLogCellFactory$createTextCell$3$1$3.invoke(MessageLogCellFactory.kt:143) E/AndroidRuntime(29563): at zendesk.ui.android.conversation.textcell.TextCellView$prepareClickableElements$1$1.onClick(TextCellView.kt:218) E/AndroidRuntime(29563): at android.text.method.LinkMovementMethod.onTouchEvent(LinkMovementMethod.java:232) E/AndroidRuntime(29563): at android.widget.TextView.onTouchEvent(TextView.java:12020) E/AndroidRuntime(29563): at android.view.View.dispatchTouchEvent(View.java:14368) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3863) E/AndroidRuntime(29563): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3551) E/AndroidRuntime(29563): at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:770) E/AndroidRuntime(29563): at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1952) E/AndroidRuntime(29563): at android.app.Activity.dispatchTouchEvent(Activity.java:4038) E/AndroidRuntime(29563): at androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:70) E/AndroidRuntime(29563): at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:728) E/AndroidRuntime(29563): at android.view.View.dispatchPointerEvent(View.java:14636) E/AndroidRuntime(29563): at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6579) E/AndroidRuntime(29563): at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:6357) E/AndroidRuntime(29563): at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5793) E/AndroidRuntime(29563): at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5846) E/AndroidRuntime(29563): at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5812) E/AndroidRuntime(29563): at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5968) E/AndroidRuntime(29563): at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5820) E/AndroidRuntime(29563): at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:6025) E/AndroidRuntime(29563): at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5793) E/AndroidRuntime(29563): at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5846) E/AndroidRuntime(29563): at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5812) E/AndroidRuntime(29563): at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5820) E/AndroidRuntime(29563): at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5793) E/AndroidRuntime(29563): at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:9029) E/AndroidRuntime(29563): at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:8886) E/AndroidRuntime(29563): at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:8839) E/AndroidRuntime(29563): at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:9166) E/AndroidRuntime(29563): at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:194) E/AndroidRuntime(29563): at android.os.MessageQueue.nativePollOnce(Native Method) E/AndroidRuntime(29563): at android.os.MessageQueue.next(MessageQueue.java:336) E/AndroidRuntime(29563): at android.os.Looper.loop(Looper.java:197) E/AndroidRuntime(29563): at android.app.ActivityThread.main(ActivityThread.java:8167) E/AndroidRuntime(29563): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(29563): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496) E/AndroidRuntime(29563): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100) E/AndroidRuntime(29563): Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@82fbd0a, Dispatchers.Main.immediate] I/Process (29563): Sending signal. PID: 29563 SIG: 9

Android example crash when used camera

AndroidMainfest.xml need add follows

<uses-permission android:name="android.permission.CAMERA"/>

in messaging screen tap camera throws

E/AndroidRuntime(15064): Process: com.chyiiiiiiiiiiiiii.zendesk_messaging_example, PID: 15064
E/AndroidRuntime(15064): java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority com.chyiiiiiiiiiiiiii.zendesk_messaging_example.zendesk.messaging.provider
E/AndroidRuntime(15064): 	at androidx.core.content.FileProvider.getFileProviderPathsMetaData(FileProvider.java:664)
E/AndroidRuntime(15064): 	at androidx.core.content.FileProvider.parsePathStrategy(FileProvider.java:695)
E/AndroidRuntime(15064): 	at androidx.core.content.FileProvider.getPathStrategy(FileProvider.java:645)
E/AndroidRuntime(15064): 	at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:449)
E/AndroidRuntime(15064): 	at zendesk.messaging.android.internal.conversationscreen.permissions.RuntimePermission.getTempCapturedImageUri(RuntimePermission.kt:161)

Login failure : HTTP 401 Unauthorized

I/System.out(12879): [ZendeskMessaging] - Login failure : HTTP 401 Unauthorized
I/System.out(12879): retrofit2.HttpException: HTTP 401 Unauthorized

Android Error when updated to 2.8.0 version

  • What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
2 issues were found when checking AAR metadata:

   1.  Dependency 'androidx.core:core-ktx:1.12.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :app is currently compiled against android-33.

       Also, the maximum recommended compile SDK version for Android Gradle
       plugin 7.3.0 is 33.

       Recommended action: Update this project's version of the Android Gradle
       plugin to one that supports 34, then update this project to use
       compileSdkVerion of at least 34.

       Note that updating a library or application's compileSdkVersion (which
       allows newer APIs to be used) can be done separately from updating
       targetSdkVersion (which opts the app in to new runtime behavior) and
       minSdkVersion (which determines which devices the app can be installed
       on).

Error building android app with AGP 8

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':zendesk_messaging'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

     If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

Messages sended but empty response

Chat messages are sent, Zendesk receives them, but when sending the message back to the device, an error occurs and no response is obtained in the app.

Are there any fixes or additional configurations to do?

Error not thrown when chat fails to load

There should be a way to inform devs/users that the ZendeskMessaging.show() method failed to load up the messaging for a reason.
With the current implementation, an app with a loading state will stay in that state if the method fails because there is no way to inform the system about the next step to execute when the method fails.

Can't run on Android

Have someone this error: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes ?

Custom UI

Can i change the default ui of this package and create my won custom widget chat

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.