Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Repository files navigation

Stencyl Local Notification Extension (Openfl)

For Stencyl 3.4 and above

Stencyl extension for "Local Notification" on iOS and Android. This extension allows you to easily integrate Local Notification on your Stencyl game / application. (http://www.stencyl.com)

notificationtoolset

Main Features

  • works on IOS and android
  • retpeat notification
  • On Android badge number will only work on Samsung , HTC, Sony, Apex and Solid.

Documentation and Block Examples

Create your notifications in the Toolset manager.
localnotificationcreate
NotifId: Give your notification an id. (Must be unique number between 0 and 63)
Title: Your notification Title
Message: Your notification Message
Trigger after(in seconds): Time when the system should trigger the notification after the Game is open for the first time.
Repeat Every: The interval at which to reschedule the notification.
Value can be set to no repeat, Minute, Hour, Day, Week or Year


Schedule Local notifications
localnotificationschedule


Cancel notifications with NotifID
localnotificationcancelschedulenr


Cancel all notifications
localnotificationcancelscheduleall


Set icon badge number to (deprecated in Android Version 8.0 > Will be set automatically when Notification is received)
localnotificationsetbadge


Increase icon badge number by (deprecated in Android Version 8.0 > Will be set automatically when Notification is received)
localnotificationincreasebadge


Decrease icon badge number by (deprecated in Android Version 8.0 > Will be set automatically when Notification is received)
localnotificationsetbadge

License

Author: Robin Schaafsma

The MIT License (MIT)

Copyright (c) 2014 byRobinGames http://www.byrobin.nl

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages