EAP version 1.37.0-dev

Forum to discuss everything related to the current development build of Automagic.

Moderator: Martin

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

EAP version 1.37.0-dev

Post by Martin » 21 Dec 2018 13:00

This forum is used to give interested users access to the next version of Automagic currently in development.
The early access version is only lightly tested and might still contain serious bugs. The quality of EAP versions can at times be even way below usual beta standards.

:arrow: Use at your own risk!
:arrow: Ensure to create a backup before you install an EAP version.

Important:
  • The EAP version will replace the Google Play version of Automagic on your device. Flows opened, saved and created with the EAP version will usually not be compatible with old versions of Automagic so it is highly recommended to create a backup of your flows, widgets and variables before you start using the EAP version (create a backup of the folder /<sdcard>/Automagic)
  • Unknown sources needs to be enabled in the settings of Android to install the EAP version.
  • Please report bugs and problems found in the EAP version in the EAP forum or by mail to info@automagic4android.com
  • :!: Don't share flows created using the EAP version in the regular flow sharing area since users of the released Automagic version will not be able to use the new triggers, conditions and actions. Feel free to share flows in the EAP forum.
  • The EAP version only works for about 2 weeks. Please install a new EAP version when the old one expires or install the released version available in Google Play.
Changes
1.37.0-dev (2019-01-04)
  • new action Modify Notification Channel (Android 8+)
  • new action Show Control UI Infos (Android 4.1+)
  • new action Show Control UI Gesture Recorder (Android 7+)
  • added option to set the notification channel in action Notification on Statusbar (Android 8+)
  • added option to set the notification channel in trigger Notification on Statusbar Selected (Android 8+)
  • added new variable notification_channel_id in action Init Variable Notifications on Statusbar, condition Notifications on Statusbar Displayed and triggers Variable Notification on Statusbar Displayed/Removed
  • new option in maintenance screen to hide unused notification channels
  • internal changes to improve support of Android 8 and Android 9
  • use widget size by default in action Show Custom Widget Overlay when no size is explicitly defined in the action
  • added settings to disable features Store as file and Send/Share Intent Received
  • extended condition Execution Count to show the current count and with button to reset the count
  • added configuration to trigger WiFi Connected whether it should trigger on BSSID changes or not
  • improved support to replace variables in JSON configurations of plugins
  • Info/Gesture/Close button in overlay control of action Control UI can be dragged now
  • text of toggle widgets is not forced to be uppercase anymore
  • minor changes & bug fixes
* This function is not officially supported by Android and might not work on all devices.
** This function requires root access, is not officially supported by Android and might not work on all devices.

:!: Ensure to create a backup before you install an EAP version.

Download: Automagic.apk (2019-01-04)

Regards,
Martin

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: EAP version 1.37.0-dev

Post by Martin » 21 Dec 2018 13:04

Please note that this version of Automagic targets Android API level 28 (P) so new behaviors, limitations and bugs might manifest even in features that have not been modified.
Please let me know in the forum or by mail at info@automagic4android.com if you encounter anything that's not working properly anymore.

Due to targeting API level 28 Automagic must use notification channels on Android 8+. Changing settings like sound, vibrate etc. can not be changed when a notification is posted to an already existing notification channel. Use the settings UI of the device to change notification channel settings or use the new action Modify Notification Channel to change settings of a channel. The action Modify Notification Channel is marked as 'unofficial' since it's not the intent of Google in general that apps can modify notification channels so the method used to change the channel settings will likely be removed or restricted in future Android updates. I highly recommend to use the new action sparingly and to build your flows in a way that notification channel settings don't have to be modified on a regular basis.

Thanks & Regards
Martin

anuraag
Posts: 371
Joined: 24 Jan 2015 02:06

Re: EAP version 1.37.0-dev

Post by anuraag » 22 Dec 2018 05:08

Martin wrote:new action Modify Notification Channel (Android 8+)
Crashing when searching for channel id.
Edit: need to pair device before using. So no more crashes.
Martin wrote:new option in maintenance screen to hide unused notification channels
channels created from action script using java functions not showing in maintenance screen.
Edit: need to add prefix "NOS_" to show it in maintenance screen. So no issues here also.

colabi
Posts: 134
Joined: 06 Jan 2013 22:33

Re: EAP version 1.37.0-dev

Post by colabi » 22 Dec 2018 22:08

I get this error on AM 1.37:
"Operation not supported on this device" when executing action "Set NFC State: Off"
This is working on AM 1.36, Pixel(1), Android 9, rooted

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: EAP version 1.37.0-dev

Post by Martin » 23 Dec 2018 13:32

@anuraag: That's fixed in the next build.
@colabi: I'll investigate, probably some new limitation enforced by targeting API28. (Edit: indeed, disabling NFC is not meant to be done anymore on Android 9, enabling is still available. Workaround available in next build).

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: EAP version 1.37.0-dev

Post by Martin » 23 Dec 2018 14:33

A new EAP version is available.

Changes in this update:
  • fix crash when selecting notification channel and no companion device is associated yet
  • fix action Set NFC State on Android 9
Download: Automagic.apk (2018-12-23)

Regards,
Martin

colabi
Posts: 134
Joined: 06 Jan 2013 22:33

Re: EAP version 1.37.0-dev

Post by colabi » 23 Dec 2018 22:10

OK, no NFC error in current bild

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: EAP version 1.37.0-dev

Post by Martin » 24 Dec 2018 13:45

I found a better way to make the NFC action work again on Android 9 so I'll switch to this improved method in the next build. A few other root actions like Set Airplane Mode will also start to work again.

Regards,
Martin

massaquah
Posts: 6
Joined: 21 Feb 2017 09:36

Re: EAP version 1.37.0-dev

Post by massaquah » 27 Dec 2018 13:44

Device: Samsung Galaxy S9
OS: Android Pie, rooted

Issue 1: Automatic can no longer put the device into airplane mode. Message: Operation not supported....

Issue 2: not necessarily related to 1.37 EAP version, but the trigger for wireless charging does not fire reliably. Despite of activating the work around.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: EAP version 1.37.0-dev

Post by Martin » 29 Dec 2018 14:45

Issue 1: should be fixed in the next build.

Issue 2: Could you please activate 'Debug Log' and 'Write Log to file' in the settings of Automagic, wait until the trigger missed an event and then send the log to me so I can investigate. You can send the log by using menu->Log, menu->Send Log.

Thanks & Regards,
Martin

Locked