App factory with javascript

36 views
Skip to first unread message

alex f

unread,
Apr 27, 2016, 4:51:11 AM4/27/16
to Tasker
Hello,

Does someone reach to build an app with javascript action?
I have so many errors, even with the simpliest code inside, tk.blabla is not a function everytime.
(scene code works fine with tasker)

What is the best practice to include a js? 

Tested with last version of tasker/ app factory.

Thanks

Zoltan Fazekas

unread,
Apr 27, 2016, 1:03:56 PM4/27/16
to Tasker
What kind of errors do you get?
I get the following error message all the time: Uncaught TypeError: Object [object Object] has not method '...'

The problem could be related to the latest update of Tasker (4.8u2). I have a project with a lot of Javascript that used to work as exported APK before this update. Since I updated Tasker a few days ago the Javascripts only works within Tasker but not as exported APK.

alex f

unread,
Apr 27, 2016, 3:54:35 PM4/27/16
to Tasker
Correct exactly the same errors.

Zoltan Fazekas

unread,
Apr 28, 2016, 11:06:07 AM4/28/16
to Tasker
Maybe you are interesed in this post too: https://groups.google.com/forum/#!topic/tasker/pZlPaB-T1CM

Reply all
Reply to author
Forward
0 new messages