Git Product home page Git Product logo

engage-digital-messaging-android's Introduction

engage-digital-messaging-android's People

Contributors

cylix avatar drisstm avatar nel avatar waelba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

engage-digital-messaging-android's Issues

Crash caused by a conflict with the Picasso lib

Hi, we recently introduced the Picasso lib in version 2.71828 to our dependencies, and since then the Dimelo sdk crashes every time a user tries to use the file upload feature of Dimelo.

Here is the stack trace:
Fatal Exception: java.lang.NoSuchMethodError: No static method with(Landroid/content/Context;)Lcom/squareup/picasso/Picasso; in class Lcom/squareup/picasso/Picasso; or its super classes (declaration of 'com.squareup.picasso.Picasso' appears in base.apk)
at com.dimelo.dimelosdk.utilities.GalleryCursorAdapter.onBindViewHolder(GalleryCursorAdapter.java:81)
at com.dimelo.dimelosdk.utilities.GalleryCursorAdapter.onBindViewHolder(GalleryCursorAdapter.java:17)
at com.dimelo.dimelosdk.utilities.CursorRecyclerViewAdapter.onBindViewHolder(CursorRecyclerViewAdapter.java:79)
...

The issue seems to be caused by a breaking change in Picasso, as seen on https://stackoverflow.com/questions/47844478/cannot-find-symbol-method-with-using-picasso-library-android.

Apparently the Dimelo sdk version 1.7.1 depends on Picasso version 2.4.0 which was released in 2014... We cannot downgrade the version of Picasso we use, because we need some of the new features. Could you please update this dependency ? Thanks in advance.

Push Notifications Issue

Hi Dimelo Team

We have an issue concerning push notifications functionality, we followed the steps described briefly here but we were unable to receive notifications.

  1. we couldn't understand the meaning of SenderID in the first step (GoogleCloudMessaging.register(SenderID))

  2. are we supposed to set SenderID=GCM_API_KEY from BuildConfig.java ??

  3. GCM_API_KEY: is it supposed to be set to the default GOOGLE CLOUD MESSAGING API KEY ?? or does it only work by creating our own GCM account??
    image

Thanks in advance

Date format Android

Hi,

It is possible with the iOS SDK to set a custom date formatter. However, I didn't find anything to do it with the Android SDK.
Is it possible ? If not, will it be added in a new release ?

Thanks

Map location is not attached

Steps to reproduce:

  1. Open chat
  2. Tap the attachment icon, then tap on map picker icon
  3. Choose the location, tap "Sélectionner cette position", then tap "Sélectionner"
  4. Tap the OK narrow
    Issue: location is not attached

This reproduces on Android versions from 4.4 to 7 (we do not use lower versions)
The SDK version is 1.6.1

Chat can not attach photo directly from camera

This issue can be related to #20

Steps to reproduce:

  1. Open chat
  2. Tap the attachment icon, then tap on photo icon
  3. Take a photo, tap the OK narrow
    Issue: photo was not attached, gallery sheet doesn't display the recent photo. Close attachment bar, then open it again – new photo is displayed.

Unread messages counter is not received until push

I execute the following steps

  1. dimelo.setUserIdentifier(identifier);
    dimelo.setUserName(name);
    dimelo.setAuthenticationInfo(authInfo);
  2. Obtain jwt and set it.
    Dimelo.getInstance().setJwt(jwt);
  3. Then I try to fetch unread count and set listener, but these callbacks don't trigger until I receive push notification.
    Dimelo.getInstance().fetchUnreadCount()
    Dimelo.getInstance().setUnreadCountChangedListener()

Crash on setApiSecret

Hello,

I'm facing a crash when calling setApiSecret :
Fatal Exception: java.lang.NullPointerExceptionAttempt to invoke virtual method 'com.dimelo.dimelosdk.Models.UserDatas com.dimelo.dimelosdk.main.DataManager.getUserDatas()' on a null object reference

Here is the code :

Dimelo.setup(context);
Dimelo dimelo = Dimelo.getInstance();
dimelo.setApiSecret(secret);

And secret is not null.

Can you help me ?

Crash

Hi,

The crash with this message is faced:

Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'androidx.fragment.app.FragmentManager androidx.fragment.app.FragmentActivity.getSupportFragmentManager()' on a null object reference

All relevant error stack is:

com.dimelo.dimelosdk.main.Chat.updateWebViewDialogHeight (Chat.java:2358)
com.dimelo.dimelosdk.main.Chat.access$2600 (Chat.java:85)
com.dimelo.dimelosdk.main.Chat$25.run (Chat.java:1606) 

It is not possible to reproduce. It looks like inner library bug

Could you please check? Version 2.5.1

Dimelo gcm device registration on UIThread

Hello,

Not an issue, but not documented behavior neither pertinent for the client.
Registering using Dimelo.setDeviceToken() in background thread throws an exception.

Cheers

custom font for Dimelo SDK

We are not able to apply custom font for Dimelo Activity toolbar title.

Please provide method to apply the custom font

Dimelo initialization crashes the app

Version 1.6.9
when initializing Dimelo with initWithApiSecret I'm having this exception:

Caused by java.lang.IllegalArgumentException: Dimelo: Invalid domainName
at com.dimelo.dimelosdk.main.Dimelo.setDomainName(Dimelo.java:850)
at com.dimelo.dimelosdk.main.Dimelo.initWithApiSecret(Dimelo.java:487)
at com.brenco.citylockerapp.view.MainActivity.setupDimelo(MainActivity.kt:242)
at com.brenco.citylockerapp.view.MainActivity.onCreate(MainActivity.kt:117)
at android.app.Activity.performCreate(Activity.java:6942)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2880)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988)
at android.app.ActivityThread.-wrap14(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6682)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)

Error inflating class com.dimelo.dimelosdk.utilities.DetectKeyboardCoordinatorLayout

Hi,

I have an error when I try to use the version 1.1 of the SDK. The app crashes on launch everytime with the error Error inflating class com.dimelo.dimelosdk.utilities.DetectKeyboardCoordinatorLayout.
Here is the stacktrace :

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pictime.electrodepot/com.pictime.electrodepot.activity.ActivityContact}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class com.dimelo.dimelosdk.utilities.DetectKeyboardCoordinatorLayout
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2426)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490)
    at android.app.ActivityThread.-wrap11(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5443)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
Caused by: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class com.dimelo.dimelosdk.utilities.DetectKeyboardCoordinatorLayout
    at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
    at com.dimelo.dimelosdk.main.Chat.onCreateView(Chat.java:524)
    at android.support.v4.app.Fragment.performCreateView(Fragment.java:1974)
    at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
    at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
    at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)
    at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
    at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:339)
    at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:602)
    at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1260)
    at android.app.Activity.performStart(Activity.java:6261)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2389)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490) 
    at android.app.ActivityThread.-wrap11(ActivityThread.java) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 
    at android.os.Handler.dispatchMessage(Handler.java:102) 
    at android.os.Looper.loop(Looper.java:148) 
    at android.app.ActivityThread.main(ActivityThread.java:5443) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 

I did add

        renderscriptTargetApi 23
        renderscriptSupportModeEnabled true

to my gradle file.

I managed to make it work with the version 1.0 but is there a way to make it work with the 1.1 ?

Thanks

Incident étrange

Bonjour, ci-dessous la description d'un problème observé par deux personnes différentes.
1 - Mobile Huawei P9 Lite VNS-L31
Android 7.0
IMEI 860921032896389
HACK preprod
Depuis le mobile, j'ai envoyé une photo à Dimelo le 30/05/2018.
Le temps passe, plusieurs messages textes sont échangés entre Dimelo et moi.
Quand j'ouvre l'application, et que je me rends dans l'écran Dimelo : celui-ci est calé sur le message contenant la photo, plutôt que sur le message le plus récent que je viens de recevoir.
Pour voir le message le plus récent, je dois scroller.

2 - Et oui c’est un peu étrange ce comportement, je l’avais reproduit et je le reproduit encore en effet sur un Galaxy S9+ de cette façon :

  •   Connexion en Hackwifi avec le numéro 57101019 
    
  •   Cliquer sur icône dimelo : Dimelo s’ouvre et se cale bien sur le dernier message envoyé
    
  •   Cliquer sur la fléche Retour en haut à gauche
    
  •   Et revenir dans Dimelo en cliquant sur l’icône : cette fois et toutes les fois suivantes, Dimelo s’ouvre et se cale sur la Photo, il faut scroller vers le bas pour arriver au dernier message.
    
    En résumé :
  •   Ouverture de Dimelo la 1ère fois : OK, j’arrive sur le dernier message
    
  •   Ouverture de Dimelo la 2ème fois et les fois suivantes : J’arrive sur la photo et je dois scroller
    

Dimelo notifications are not handled

Hi,
I execute following steps

  1. Setup Dimelo with setup and setApiKey methods.
  2. Set the push token with setDeviceToken method in order to receive push notifications.
  3. Set the user identifier and other user-specific data, then generate the jwt.
  4. Set the jwt with setJwt method to receive notifications about count of unread messages before the chat opens.
    After that I can receive push notifications and call consumeReceivedRemoteNotification method to handle it, but notifications are not displayed.
    What could be the reason?

java.lang.NullPointerException: Attempt to invoke virtual method 'int android.support.v7.widget.LinearLayoutManager.findLastCompletelyVisibleItemPosition()' on a null object reference

Hi,

I'm getting this error in my Firebase Crash Reporting dashboard, it's causing a Fatal error.

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'int android.support.v7.widget.LinearLayoutManager.findLastCompletelyVisibleItemPosition()' on a null object reference
com.dimelo.dimelosdk.main.Chat.onSaveInstanceState (Chat.java:726)
android.support.v4.app.Fragment.performSaveInstanceState (Fragment.java:2418)
android.support.v4.app.FragmentManagerImpl.saveFragmentBasicState (FragmentManager.java:2661)
android.support.v4.app.FragmentManagerImpl.saveAllState (FragmentManager.java:2732)
android.support.v4.app.Fragment.performSaveInstanceState (Fragment.java:2420)
android.support.v4.app.FragmentManagerImpl.saveFragmentBasicState (FragmentManager.java:2661)
android.support.v4.app.FragmentManagerImpl.saveAllState (FragmentManager.java:2732)
android.support.v4.app.FragmentController.saveAllState (FragmentController.java:125)
android.support.v4.app.FragmentActivity.onSaveInstanceState (FragmentActivity.java:571)
android.support.v7.app.AppCompatActivity.onSaveInstanceState (AppCompatActivity.java:509)
android.app.Activity.performSaveInstanceState (Activity.java:1502)
android.app.Instrumentation.callActivityOnSaveInstanceState (Instrumentation.java:1308)
android.app.ActivityThread.callCallActivityOnSaveInstanceState (ActivityThread.java:4964)
android.app.ActivityThread.performStopActivityInner (ActivityThread.java:4242)
android.app.ActivityThread.handleStopActivity (ActivityThread.java:4301)
android.app.ActivityThread.-wrap28 (ActivityThread.java)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1663)
android.os.Handler.dispatchMessage (Handler.java:102)
android.os.Looper.loop (Looper.java:154)
android.app.ActivityThread.main (ActivityThread.java:6692)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1468)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1358)

Android version :

  • 7.0
  • 6.0
  • 6.0.1

I'm using your sdk v1.6.3

Thanks for your help.

Send button colors inverted

Hello,
I am using v1.4.3
The send button has by default two colors for enabled( very light grey) and disabled( black).
Those colors seems to be inverted as grey should be the disabled color and black the enabled one.
Anyway, we can change the send button disabled color with: customization. setSendButtonDisabledColor(int color)
but unfortunately there is no equivalent for the enabled color.

Cheers

Dimelo SDK image selection issue

When we select any image for attachment we are getting below error

Error:
java.lang.OutOfMemoryError: Failed to allocate a 48771084 byte allocation with 16777216 free bytes and 41MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.BitmapFactory.nativeDecodeByteArray(Native Method)
at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:613)
at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:636)
at com.dimelo.dimelosdk.helpers.Image.ImageCompressor.compress(ImageCompressor.java:22)
at com.dimelo.dimelosdk.main.StartAndValidateAttachmentProvider$1.onClick(StartAndValidateAttachmentProvider.java:217)
at android.view.View.performClick(View.java:6308)
at android.view.View$PerformClick.run(View.java:23969)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6823)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1563)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1451)

Crash when clicking on camera

Hi, we detected a crash (Galaxy Note 9 Android 8.1) or a black screen (Pixel 3 android 10, Samsung Galaxy S9 android 10, Pixel 2 XL android 10) when clicking on camera icon to send a picture.
It works fine on Samsung Galaxy S6 android 6.0.1 et Samsung Galaxy S3 4.4.4.

Is there any known issue in 1.9 SDK ?

No pushes received

I initialize Dimelo using the methods Dimelo.setup() and Dimelo.setApiKey().
After that I set device token and user identifier, but I can't receive any pushes until I open the chat and close it.

SDK version is 1.6.1

Release 1.6.9/1.7.0 issue

Hi,

It seems like release 1.6.9 was erased by release 1.7.0 :

  • gradle doesn't find release 1.7.0
  • when I set dimelo 1.6.9 on my project, i get errors regarding deprecated methods that should occur only with release 1.7.0

Regards,
Erwann

Deprecated API

Is there any way to get rid of onRequestPermissionsResult and onActivityResult without breaking the functionality of dimelo since they are deprecated?

The number of unread messages is not set to zero

I'm using Dimelo SDK v.1.4.4. I'm displaying the chat as fragment. The problem is that when I receive message from support side, the number of unread messages is increased but never set to zero, even after repeated opening the chat. The method "getUnreadCount" and UnreadCountChangedCallback always return non-zero value. What could be the reason?

No method called sendMessage

Hello,

When reading the doc of the sdk I found a method called sendMessage that takes a string as a param, it allows us to send a message programaticaly but when working I can't find it it's on the Dimelo class.

Thanks for answering.
Greetings

IndexOutOfBoundsException from ChatActivity

Description

I use Dimelo SDK in my project, it works properly except sometimes which causes crashes on some devices (often Samsung) with this error

Fatal Exception: java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{1cad317 position=23 id=-1, oldPos=22, pLpos:22 scrap [attachedScrap] tmpDetached no parent} android.support.v7.widget.RecyclerView{ab4b22 VFED.V... ......ID 0,0-1080,687 #7f0902c4 app:id/message_list}, adapter:com.dimelo.dimelosdk.main.DimeloChatAdapter@81f89b3, layout:android.support.v7.widget.LinearLayoutManager@4d45b70, context:com.dimelo.dimelosdk.main.ChatActivity@ea5398f at android.support.v7.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition + 5610(RecyclerView.java:5610) at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline + 5792(RecyclerView.java:5792) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition + 5752(RecyclerView.java:5752) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition + 5748(RecyclerView.java:5748)

I display dimelo into the activity provided by the SDK:

Dimelo.getInstance().openChatActivity(context, intent)

Additional Information

SDK version: 1.7.2
OS version: android 6 to 9

Push notifications and dimelo component as a fragment.

Hi,

We are using your component as a fragment.
The problem is that in that case, when a user receive a Dimelo notification and tap on it, it does not open the component.

It works correctly as an activity but not as a fragment.

Can you allow the tap on a push notif to open the fragment the same way it does with an activity.

Thanks

Photo from camera is not attached

I can't attach photo from camera.
I open the chat, open the camera from attach panel, do photo and click the button to attach. Then the chat opens without any attachment, and galery is not updated.

Resource string id "app_name" conflicts

Hello,

Resource string id "app_name" is used in values-fr and values. As almost every app has this string id by default to name their app. It is not a big issue but if you don't have any resources in values-fr, your app will be named "Live Chat" in a french config device. Might be handful to change this id on your side than let the client do it.

Cheers

404 Api request

Hello,

I note randomly bug on SDK and Dimelo API.
When user receive push notification, and he click on it, the chat history unload. In the application logs, Dimelo SDK throw a 404 request with the message {"error":"Unknown API key","localizedError":"Une erreur est survenue, veuillez réessayer plus tard."}".
We use the last version of the SDK.
We test on android 5.0, 6.0.1 and 7.0.

Can you help us?

Thanks.

When the Detroy method is called in Chat.java, a nullpointerException appears with version 1.5.2

I have a NullpointerException when the destroy method id called :

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setAdapter(android.support.v7.widget.RecyclerView$Adapter)' on a null object reference at com.dimelo.dimelosdk.main.Chat.onDestroyView(Chat.java:1479)

In onDestroyView() in Chat.java, you do this :
this.mGalleryRecyclerView.setAdapter((Adapter)null);

But if you don't use GalleryRecyclerView, this object remains at Null. And when i pressing back button, the crash appears.

App Crashing when setting userIdenifier

i'm getting the below log when i try to use setUserIdentifier

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
                                                                         at com.dimelo.dimelosdk.Models.SourceInfo.updateWelcomeMessage(SourceInfo.java:50)
                                                                         at com.dimelo.dimelosdk.Models.SourceInfo.updateFromJson(SourceInfo.java:27)
                                                                         at com.dimelo.dimelosdk.main.DimeloConnection.consumeSourceInfo(DimeloConnection.java:455)
                                                                         at com.dimelo.dimelosdk.main.DimeloConnection.consumeResponse(DimeloConnection.java:439)
                                                                         at com.dimelo.dimelosdk.main.DimeloConnection.access$800(DimeloConnection.java:44)
                                                                         at com.dimelo.dimelosdk.main.DimeloConnection$6.onResponse(DimeloConnection.java:411)
                                                                         at com.dimelo.dimelosdk.main.DimeloConnection$6.onResponse(DimeloConnection.java:406)
                                                                         at com.dimelo.dimelosdk.helpers.requests.JsonDimeloRequest.deliverResponse(JsonDimeloRequest.java:43)
                                                                         at com.dimelo.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99)
                                                                         at android.os.Handler.handleCallback(Handler.java:751)
                                                                         at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                         at android.os.Looper.loop(Looper.java:154)
                                                                         at android.app.ActivityThread.main(ActivityThread.java:6077)
                                                                         at java.lang.reflect.Method.invoke(Native Method)
                                                                         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
                                                                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

Could not send the message

When I send a message, a red exclamation mark appears. Click the red exclamation mark to pop up the "Could not send the message" pop-up window. Why?

After migrating to FCM we don't receive notifications

After I migrated to FCM, I'm not receiving notifications and new messagees are not displayed on the chat fragment until I refresh it.
When I test to push a notification from Firebase console to the app it worked. but messages from dimelo platform are not.

With Android P on Pixel 2 and Pixel 3, Dimelo initialization fails and the app crahes

Hello,
I use Dimelo Android SDK v1.6.9 in my app.
I recently tried to run the app on a Pixel 2 and a Pixel 3, with Android P and I realized that the app crashes at launch (and it does not with an Oreo device).

This is the stack trace:

java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
    at com.dimelo.volley.toolbox.HurlStack.performRequest(HurlStack.java:108)
    at com.dimelo.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:96)
    at com.dimelo.volley.NetworkDispatcher.run(NetworkDispatcher.java:112)

It seems that the org.apache.http package (deprecated for years) finally disappeared on Android P.

I tried with SDK v1.7.0, and I got the same error.

Regards
Régis

Chat$24.run

Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'androidx.fragment.app.FragmentManager androidx.fragment.app.FragmentActivity.getSupportFragmentManager()' on a null object reference
com.dimelo.dimelosdk.main.Chat$24.run (Chat.java:1592)
android.os.Handler.handleCallback (Handler.java:942)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loopOnce (Looper.java:226)
android.os.Looper.loop (Looper.java:313)
android.app.ActivityThread.main (ActivityThread.java:8757)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)

is occuring after upgrading to 2.5.2. There were no such issue is crashlytics before 2.5.2

Push Notification icon

Hello,

I currently customize the push notification icon trough manifest for standard notification.
However, the sdk 2.0 use the app icon as a notification icon. Is there a way to change it without implementing Dimelo.NotificationDisplayer ?

thanks for your help,

Giovanni

Localization

Hello, i tried to change the dimelo_toolbar_title by setting it into the res string files, both in arabic and english strings, it worked on the english string res file and not on the arabic one.

I suggest you add another string res file and set the dimelo_toolbar_title there, or you can set it programatically when the language change listener gets triggered and set it whatever the user's language.

Regards;

ConnectionChangeReceiver crash

Hey,

Your com.dimelo.dimelosdk.main.ConnectionChangeReceiver crashes if the state of the network is changed and Dimelo isn't initialized at start of the Application.

java.lang.RuntimeException: Unable to start receiver com.dimelo.dimelosdk.main.ConnectionChangeReceiver: java.lang.IllegalStateException: "Dimelo.getInstance()" cannot be called before "Dimelo.setup()" (Dimelo must be initialized) at android.app.ActivityThread.handleReceiver(ActivityThread.java:3000) at android.app.ActivityThread.access$1800(ActivityThread.java:177) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1525) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5942) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195) Caused by: java.lang.IllegalStateException: "Dimelo.getInstance()" cannot be called before "Dimelo.setup()" (Dimelo must be initialized) at com.dimelo.dimelosdk.main.Dimelo.getInstance(Dimelo.java:273) at com.dimelo.dimelosdk.helpers.DimeLog.d(DimeLog.java:17) at com.dimelo.dimelosdk.helpers.DimeLog.d(DimeLog.java:13) at com.dimelo.dimelosdk.main.ConnectionChangeReceiver.onReceive(ConnectionChangeReceiver.java:27) at android.app.ActivityThread.handleReceiver(ActivityThread.java:2993) at android.app.ActivityThread.access$1800(ActivityThread.java:177)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1525)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:145)  at android.app.ActivityThread.main(ActivityThread.java:5942)  at java.lang.reflect.Method.invoke(Native Method)  at java.lang.reflect.Method.invoke(Method.java:372)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195) 

Greetings

Last release breaks build of previous versions

In release 2.0.2 artifact "com.dimelo:picasso:1.0.0" was removed from the repository, that breaks build of all previous versions, that rely on your Picasso artifact.

When I try to build my application with
./gradlew build --refresh-dependencies
I get the following error

Could not resolve all artifacts for configuration ':app:commonDebugCompileClasspath'.
   Could not find com.dimelo:picasso:1.0.0.
     Required by:
         project :app > com.dimelo.dimelosdk:dimelosdk:2.0.1

Tested on versions 2.0.1 and 1.7.2.

Hope it's not done on purpose to force an update to the latest version :)
Thank you!

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.