Join Push Notification - Icon and Smallicons

222 views
Skip to first unread message

Mathieu F.

unread,
Feb 16, 2020, 4:31:42 AM2/16/20
to Tasker
Hello,
I have been using Join Push Notification from Tasker for a while now, and I have noticed it's only possible to configure a "smallicon" (see image below) :

Screenshot_20200216-102318.jpg


However, in Home Assistant (https://www.home-assistant.io/integrations/joaoapps_join/), the Join Notify service allows for the creation of both a "smallicon" and an "icon" (similar to a contact profile image in a whatsapp notification) :

Screenshot_20200216-102354.jpg

The Join component in HomeAssistant does not seem to be an official one from JoaoApps, but I can't see a reason why this "icon" feature wouldn't be available in Tasker too ?




João Dias

unread,
Feb 17, 2020, 8:30:33 AM2/17/20
to tas...@googlegroups.com
Just because no one ever asked for it :D

Added it here: can you please try this version? https://drive.google.com/file/d/18V276YwSlfc3voV1s-SUxdCfoP9fCerp/view?usp=sharing

Thank you for your contact.

Ā  Ā Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
Ā  Ā Tasker: customize/automate anything on your phone!
Ā  Ā AutoApps: add advanced functionality to Tasker via plugins

Ā  Ā Ā Ā 

João Dias


Mathieu F.

unread,
Feb 17, 2020, 5:20:24 PM2/17/20
to Tasker
Thank you !
It works fine on Android devices (at least with the most recent versions)
Chrome notification and Window 10 App will only display the "icon".
In your official release, you should update the description of "icon" and "small icon", as they are currently identical and most users may not know what the difference is.

One suggestion: why not giving the ability to send a join push message to oneself ? I use it in one of my automation to launch an app that isn't available via the 'load app' action (I had to create the task on another device and then copy it to the final device). This feature could also be useful for quick debugging/testing.
Cheers!
Mat

Mathieu F.

unread,
Feb 17, 2020, 5:25:43 PM2/17/20
to Tasker
I talked too soon : Join crashed a few times while testing notifications from Tasker

Here is the error message :

Join - java.lang.RuntimeException: Unable to start activity ComponentInfo{com.joaomgcd.join/com.joaomgcd.join.tasker.activity.ActivityConfigSendPush}: java.lang.IllegalStateException: ListPreference requires an entries array and an entryValues array.

com.joaomgcd.join version 2.2

Source com.google.android.packageinstaller
OS Build ONEPLUS A5000_23_180129
OS Code 26
Device ONEPLUS A5000
Manufacturer OnePlus
Product OnePlus5

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.joaomgcd.join/com.joaomgcd.join.tasker.activity.ActivityConfigSendPush}: java.lang.IllegalStateException: ListPreference requires an entries array and an entryValues array.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2946)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3046)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4958)
at android.app.ActivityThread.-wrap18(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1694)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6809)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Caused by: java.lang.IllegalStateException: ListPreference requires an entries array and an entryValues array.
at android.preference.ListPreference.onPrepareDialogBuilder(ListPreference.java:249)
at android.preference.DialogPreference.showDialog(DialogPreference.java:306)
at android.preference.DialogPreference.onRestoreInstanceState(DialogPreference.java:453)
at android.preference.ListPreference.onRestoreInstanceState(ListPreference.java:315)
at android.preference.Preference.dispatchRestoreInstanceState(Preference.java:2034)
at android.preference.PreferenceGroup.dispatchRestoreInstanceState(PreferenceGroup.java:329)
at android.preference.PreferenceGroup.dispatchRestoreInstanceState(PreferenceGroup.java:329)
at android.preference.Preference.restoreHierarchyState(Preference.java:2016)
at android.preference.PreferenceActivity.onRestoreInstanceState(PreferenceActivity.java:1041)
at android.app.Activity.performRestoreInstanceState(Activity.java:1070)
at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1280)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2919)
... 10 more

João Dias

unread,
Feb 18, 2020, 4:50:52 AM2/18/20
to tas...@googlegroups.com
About sending pushes to yourself I wouldn't think that makes much sense because you can do anything you want with Tasker directly :) Which app can't you load with the Load App action?
About that crash, I think that's unrelated with the update I sent you. When exactly did that happen for you?

Mathieu F.

unread,
Feb 18, 2020, 7:42:17 AM2/18/20
to Tasker
In the specific case of the Nvidia Shield device, most apps aren't shown in the "select app" selection window (most likely because most of them are sideloaded). That's the reason why I use a Join Push message to myself to load the app.
Regarding the crash, it happened while i was configuring the 'join send push' action in Tasker. A toast with 'join crashed' or 'join closed' appeared, and I found the error log my notifications. I tried to reproduce it today, but I can't make it crash again ^^

João Dias

unread,
Feb 18, 2020, 8:39:09 AM2/18/20
to tas...@googlegroups.com
Ok, to launch those apps you should click the little arrow button that appears in the Launch AppĀ action next to the app's icon. There you can write any app name or package name manually :)
Message has been deleted

Mathieu F.

unread,
Feb 18, 2020, 8:53:35 AM2/18/20
to Tasker
šŸ¤¦ā€ā™‚ļø
Great tip! I thought it was not possible to write an app name manually!
Two problems solved very efficiently in this thread! Thank you so much for your quick support João

João Dias

unread,
Feb 19, 2020, 11:16:50 AM2/19/20
to tas...@googlegroups.com
Glad to help! :)
Reply all
Reply to author
Forward
0 new messages