iOS Notifications Extension [Release Version]

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi Tim,
    I'm still having problem with the extension.
    Before the last version, the App was frozen during start-up.
    Now the App will load, however, when trying to switch from a fame that has the extension, to another frame, the app will crash (or totally freeze). :(
    If I remove the extension, the app runs fine.

    Can you take a look at it?
    Thanks

  • Hi Tim,
    I've made a small check:
    I've added the extension to the other frame (the one that I try to jump to), but it does not make any difference, it still crushes.
    I hope this bit of information helps a little. :)

  • Hi Yos,
    You're all over my extension with the bug testing haha.
    Is it the same issue or a different issue this time?

    The Application Badge is so you can add a number to your app to maybe let the client/user know that the app needs attention or to inform them that something has happened.

    Specific notification clearing is not yet supported, will definitely try to add it to the next release, but right now you should be able to clear all notifications pending with "Clear Notifications" or something like that.

    Regards
    Tim

    (Yes I am Crazy_Ivan, just got my username changed)
    Tim Ellis

  • Thanks for the info, it helps.

    About the current bug: the app will load and work fine as long as you don't try to jump to another frame (in the previous bug the app freeze while loading).
    Now, when you try to jump from the frame that contains the extension to another frame, the app will either freeze, or totally crush showing the iPhone 'desktop'.
    I would guess that this bug is somewhat similar to the previous one, although the moment where the crush happens is not the same as before.

    IMHO this extension is VERY important as it opens new possibilities for MMF games, so I gladly put effort to debug it. I have a few ideas for it and surly many others will have too.
    If you want to create any game/application that actively request's users attention, you can't do it without this extension.
    You are locked behind the current active app, having a sellotape on your mouth... :)

  • Hi Yos,
    Can you run the app with xcode and trap where the error is occurring? - i.e. Can you get me a line number if possible
    This will help me to identify and hopefully resolve the bug with not too much pain.
    Is this doable?

    Regards
    Tim Ellis

    (Yes I am Crazy_Ivan, just got my username changed)
    Tim Ellis

  • Ok, I've prepared screen grabs of Xcode screen.
    I attach a few of them. I can send you the rest by email if you send me your address via PM.

    Please login to see this attachment.Please login to see this attachment.Please login to see this attachment.Please login to see this attachment.

  • Hmm of course it's to do with the releasing of objects :/
    Andos, can you help?
    I switched to ARC quite a while ago and now I suck at manual object releasing

    (Yes I am Crazy_Ivan, just got my username changed)
    Tim Ellis

  • Also, I'm curious to know whether or not the iOS SDK will switch to ARC anytime soon? Perhaps another question for Andos?

    (Yes I am Crazy_Ivan, just got my username changed)
    Tim Ellis

  • No I don't think we will switch to ARC.
    The main difference between Objective-C and C++ is how object ownership is handled:

    Objective-C:
    If you created it: you are responsible for releasing it
    If you are given it: you must retain it to gain local 'ownership'
    - That implies that if you use convenience functions ([NSString stringWithFormat:] .. ect) they aren't owned by you, they are owned by the autorelease pool until you retain them.

    C++:
    There are good and bad coding styles but nothing consistent.

    Java:
    No object ownership at all, the garbage collector does the dirty work for you.

    ARC pretty much requires us to use the Objective-C way of doing things for everything which we don't currently do as the runtime was ported from C++ and Java. For example some functions return objects that will leak if you don't manually release them in your own code (which is pretty much against the Objectice-C "ideology" but is very difficult for us to change).


    I can take another look at the extension code later today to try and find any problems.

    Please login to see this picture. Please login to see this link. - Please login to see this picture.

  • Hey Andos, once we (well not really me :P ) iron out the final bugs with the object releasing I'll release the next version in the public iOS Extensions subforum so everyone can benefit :)

    -Tim

    (Yes I am Crazy_Ivan, just got my username changed)
    Tim Ellis

  • Can it do multiple pushes or do i need 1 for each. Say i want a push at 1pm, 1.30pm and 2pm. Do I need 3 objects or can i do it with just 1. and is it possible to adapt those pushes so push 1 at is at a time set by variables?

  • Hi Jason,
    Hopefully shortly they can be, just some final bug fixing with the releasing of objects then it should be good to go :)

    -Tim

    (Yes I am Crazy_Ivan, just got my username changed)
    Tim Ellis

  • Hey guys. I've been looking at this again and been attempting to get the application to send local notifications at specific times using the set trigger event. So far it doesn't send notifications at the set times, although I can confirm it does work when I just simply use the schedule notification function while the application is open.

    Are there any examples of this at all?

    Ad

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!