MoModth Local Notifications sneak peek [video]

MoModth_localNotifications_1200x500

 

Here is the first MoModth functionality sneak peek – Local Notifications

TR_localNotifications module comes with MoModth package by default. As any other MoModth module TR_localNotifications can be enabled/disabeled while in the project or can be easily removed or added to the project whether you need it or not. Local Notifications functionality is one of most desired features for mobile apps. It’s one of the best marketing tools simply because it “calls” your players back to game for whatever reason you implement. Local Notifications work even when the game is closed!

 

What do I use it for?

You can use it to anything which requires to notify the player about. Commone usage examples:

  • Come back to game – we miss you! – You can implement a notification which will ask player to visit the game if he did not play it for a week for instance.
  • Your army is ready! – If your game has an army, buildings or any other feature which takes time to finish, you can set notification to tell player that it is ready and he can go back to game.
  • We have a gift for you! – The best way to encourage someone to do something is to reward him. Notify your player that if he comes back to game he will be rewarded with 1000 gold coins!
  • Happy New Year! – You can set notification to pops-up on the particular date. This is also a great opportunity to reward player with some coins.

 

See how it works

Sorry for the bad camera focus, I had bad light here. Next time I’ll try to do it somewere else. Anyway here it is.

 

Implementation of the example in the video

There is only one event line needed in order to send local notifications with MoModth and one to fetch notification data (if needed).

Those are examples of sending local notifications with data (first one) and without data (second).

localNotifications2

As data you can send integer, string or even dictionary as JSON. So usage possibilities are unlimited.

And here is the part where we fetch incomming notification.

localNotifications1

 

7 comments to MoModth Local Notifications sneak peek [video]

  • Marcelo  says:

    How make without event of alert?

    • Toby R  says:

      I’ve implemented Alert just to show that the app knows there was a notification and to show the data passed by it. It can be obviously done without an Alert popup.

      • Marcelo  says:

        I tried and could not. You have the cap file?

        • M. J. Studios  says:

          Missing function MM “localNotification -> send” you do not put her image

          • Toby R  says:

            This is a part of MoModth framework which has not been released yet. Even if I show you the function body it would not be much helpful for you as it is related to MoModth’s core functionality. I’m sorry but you need to wait until MoModth release or try to make it yourself with Cordova plugin if you need it urgently.

            This article is just a sneak peek to show possibilities of MoModth.

  • M. J. Studios  says:

    you have a release date?

  • ProperSag  says:

    This looks amazing,
    c2 need a solution for working with multiple projects with similarities

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">