13
Jan
Written by: ame235

screen-shot-2010-01-13-at-12-30-45 Here goes the beta for PUSH+TODO integration:

235_teeh_BETA.theme.zip

it’s another theme so you can just enable beta and disable original in winterboard.

I don’t use PUSH nor TODO or TWITTER, so be patient… i just adapted code i was told working.
Please comment out when you try it, and what you use as a todo plugin and and.. be the more descriptive as possible.
As comments are growing, please also read before posting something that has already been asked/explained/said. :P

//added PUSH (theorically)
needs to be tested!

//this is the TODO bundle it refers to:
cx.ath.jakewalk.TodoPlugin, which should be the APPIGO plugin.
again: theorically, needs to be tested.

// Twitter: added icon of sender. (again: oh you know that!! yes: theorically)

//next will be working on:
weather infos based directly on the weather plugin for lockinfo (less configs and a week forecast ;) hopefully)




If you like my work,
please consider
a donation ;)




WP Comments: 44 Comments
Forum: 0 Comments +
SOCIAL



44 Responses to Post: “PUSH + TODO BEta.”

  1. ame235 Says:

    obviously, you need respective plugins for lockinfo installed AND enabled on your iPhone.
    And you need to recieve something..(all this theme never shows anything if it’s useless ;) )

  2. lk Says:

    i’m gonna install it right now!
    thanks man

  3. geo411m Says:

    A few things. 1 the push notifies you but it doesn’t actually say the text of the notification. 2 twitter picture should be over to the left under the time.

  4. ame235 Says:

    //geo411m: push
    … strange i got the infos from mr. Ashman himself,
    based on this pattern:

    {"notifications": [
    {"application": "foo", "bundleIdentifier": "com.boo.foo", "text": "Message to show.", "date": }
    ]};
    should get the text..
    will recheck code for bugs.

  5. lk Says:

    push looks like it’s working for me. I’ve got the title and the content of the notification. Cool!

    The todo plugin is not working… is it the appigo one? there are also the Things and 2Do ones…

  6. ame235 Says:

    //@lk
    wow, two beta testers, two different results!! OMG this is going to be very hard.

    push works for lk and not for geo411m, (geo411m, should i askk if you have the latest plugin? or if you can tell why?)

    and after verifying, this is for the APPIGO plugin.

  7. lk Says:

    As you can see the sender, the object and the text are there.

    http://yfrog.com/15img0592qp

    But the appigo todo doesn’t work and i’ve got everything activated… does anyone have it working?

  8. ame235 Says:

    @lk:
    PERFECT SCREENSHOT!
    Would you send me the same screenshots for the results by modding two lines in the beta js/Lockinfo.js file:
    line 314
    replace var html = “”;
    with var html = “” + pushes.toSource();

    line 515
    replace var html = “”;
    with var html = “” + todo.toSource();

    this will give me the array returned by the plugins so i can see!!!
    (e se sei de Roma te ringrazio pure du vote! :P )

  9. geo411m Says:

    I’ve tested it with two different apps. Beejive and Notifications app and both get an Undefined and underneath NaN/Nan/N. I’m using the latest lockinfo from with the push beta intergrated.

  10. ame235 Says:

    geez, strange.
    will need more testers to define..

    @lk, where does that push message come from? (which app?)

  11. Geo411m Says:

    Here’s the screen shot of what I get. http://img109.imageshack.us/img109/5387/11887366.jpg

  12. ame235 Says:

    hum i see.
    so you actually get the notification but not the data in it as you said before..

    if you could do the same i asked lk, that would be great, and i could most probably resolve in seconds ;)

  13. lk Says:

    i tried but doesn’t look very different…

    http://yfrog.com/5vimg0593p

    You sure the lines are right? Because They didn’t match to my lockinfo file and i modified the similar lines under the pushnotifications and todo sections.

    Ma sei italiano?! Complimenti, figata sto tema ;)

  14. lk Says:

    i tried with beejive and it works perfectly. Also Pushmail and Facebook work!

  15. Schwarz Bruder Says:

    Question (not really related to this beta version): I just noticed that I’m using the trial version of LockInfo…do I have to buy it after it expires or will I be able to use this theme after it expires?

  16. Grodi Says:

    Haven’t tried Push yet, but Appigo is NOT working for me neither.

  17. ame235 Says:

    @Schwarz Bruder:

    LockInfo has a pretty long time trial period,
    after it stops working (trial end): the theme won’t work anymore as LockInfo doesn’t.

  18. geo411m Says:

    @ame235
    I’ll try that once I get to work. i don’t have a computer right now. I used ifile but i’m not sure I edited the right line because I get nothing now.

    I think we need to find out what version of lockinfo people are using. Maybe David changed something between version and that why it’s working for some and not others.

  19. ame235 Says:

    lk, please make a respring after modding the lines: i can’t see the lines i would like to see…
    there should be something like: [{application:"foo", bundleIdentifier:"com.boo.foo", text:"Message to show.", date:63388768802}, {application:"gmail", bundleIdentifier:"com.gmail.foo", text:"Appointment late...", date:1263388768802}] before the messages..

  20. Schwarz Bruder Says:

    Cool…thanks for the answer…by the way, I don’t really use APPIGO, but push notifications and twitter work for me so far. I’ll download APPIGO later in order to see if it works.

  21. lk Says:

    I can’t manage to put twitter under the other sections within the reordering section of the lockinfo settings.
    I mean it looks below everything else but if i respring nothing happens.

    And if you can send me the lockinfo.js file i can test better what you mean… my mail is luka_26 AT tin.it

  22. geo411m Says:

    I got to work and made the edits, resprung and sent myself a push notification and nothing happens. Where should the output be?

  23. geo411m Says:

    Also I just tested it and the Todo plugin isn’t working for me either. If I use native it works but it won’t work with your theme.

  24. ame235 Says:

    Unexpectedly i recieved a PUSH notification from Facebook, (i didn’t knew i could !!)
    so PUSH seems working for me (even if i recieved only one for 3 in the facebook badge.. :( )

  25. geo411m Says:

    I hope you figure out why some are receiving push while others aren’t.

    Also I think it would be nicer if you got the push header to say “Notifications” instead of “Push Notifications”.

  26. ame235 Says:

    PUSH Notification / Notifications, that can be changed in strings/-urlang-.js

  27. geo411m Says:

    Thanks for that.

  28. dmeerpa Says:

    APPIGO plugin doesn’t work for me. When not using a lockinfo-theme, the cx.ath.jakewalk.TodoPlugin is working in LockInfo.

  29. ame235 Says:

    APPIGO is definitely not working //no one sees it.
    i’ll put a debug version online to get the output (so i can make mods.)

    wait for it.

  30. dmeerpa Says:

    I found it, why it wasn’t not working. The cx.ath.jakewalk.TodoPlugin is not installed but it’s com.vividboarder.lockinfo.TodoPlugin.bundle.

    So install via Cydia the Appigo Todo Plugin v0.3.3 from Raphael Fetzer

  31. dmeerpa Says:

    I think you also have to remove the other version to get it working.

  32. dmeerpa Says:

    nl translations

    var string_push = “PUSH Notificaties”;
    or
    var string_push = “Notificaties”;

    var string_todo = “Todo”;

  33. ame235 Says:

    @dmeerpa:

    You’re right!!
    i’ve installed the appigo todo plugin 1.1.7 and looking to filesystem of the package, there is no cx.ath.jakewalk.TodoPlugin …
    instead, there is: com.vividboarder.lockinfo.TodoPlugin.bundle

    so if you guys can change line 8 of lockinfo.js
    from: callbacks['cx.ath.jakewalk.TodoPlugin'] = updateTODO;
    to: callbacks['com.vividboarder.lockinfo.TodoPlugin'] = updateTODO;

    respring and see if it works…

  34. ame235 Says:

    //Strings modded for nl/fr/it
    will wait for harder languages :P

  35. lk Says:

    right, the todo plugin now works!

  36. Grodi Says:

    U GOT IT

    It’s working now

  37. Grodi Says:

    Here strings for spanish:

    var string_push = “Notificaciones PUSH”;
    or even better:

    var string_push = “Notificaciones”;

    var string_todo = “Todo”;

    //DONE ;)

  38. geo411m Says:

    I also got push working. I installed the older push plugin instead of the lockinfo beta with the integrated push and it works as it should. You should try to get this to work with the latest as 2.0 will be out soon..

    //EDIT: Can you send me the bundle of latest version?

  39. Grodi Says:

    I don’t know whether it is a debug or just a config issue, but I get “undefined” instead of the title text of Todo tasks.

    Anyone else?

  40. geo411m Says:

    I get the same now that I “Fixed” the theme to work with the new todo plugin.

  41. Hamburg Says:

    I have the same message. otherwise, congratulation, push runs super, weather runs super, very very well :-)

  42. dmeerpa Says:

    I changed line 8 of lockinfo to: callbacks['com.vividboarder.lockinfo.TodoPlugin'] = updateTODO;

    I de-installed the cx.ath.jakewalk.TodoPlugin version and reinstalled the com.vividboarder.lockinfo.TodoPlugin.

    respringed, rebooted, I don’t get any Todos anymore.
    And I think its normal. There is a difference between the 2 todo plugins.
    The com.vividboarder.lockinfo.TodoPlugin does native rendering, but I don’t know if your theme supports native rendering…

  43. Aftermath Says:

    I am also getting “undefined” for the names of all the ToDo events.

  44. iest Says:

    Push works perfect for me!

    Any chance you could add some code to get the 2Do plugin working? Or tell me how?

    That would be AWESOME.