An open API service indexing awesome lists of open source software.

https://github.com/tw1ddle/samcodes-notifications-demo

:incoming_envelope: Demonstrates Haxe/OpenFL bindings for Android and iOS local device notifications
https://github.com/tw1ddle/samcodes-notifications-demo

android-notifications demo haxe haxelib ios-notifications notification notification-demo notifications

Last synced: 2 months ago
JSON representation

:incoming_envelope: Demonstrates Haxe/OpenFL bindings for Android and iOS local device notifications

Awesome Lists containing this project

README

        

# Haxe Local Notifications Demo

[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](https://github.com/Tw1ddle/samcodes-notifications-demo/blob/master/LICENSE)
[![Build Status Badge](https://ci.appveyor.com/api/projects/status/github/Tw1ddle/samcodes-notifications-demo)](https://ci.appveyor.com/project/Tw1ddle/samcodes-notifications-demo)

Demo of the [samcodes-notifications](https://github.com/Tw1ddle/samcodes-notifications) Android and iOS local notifications haxelib.

## Usage

This demo requires the local notifications haxelib, so install it first:

```bash
haxelib install samcodes-notifications
```

Build and run the app. Press the buttons to schedule or cancel notifications, and then wait for them to appear on your device.

## Screenshots

The demo app:

![Screenshot of demo app](https://github.com/Tw1ddle/samcodes-notifications-demo/blob/master/screenshots/notification-demo.png?raw=true "Notification Demo")

Android notifications and badging. Badging is done using [ShortcutBadger](https://github.com/leolin310148/ShortcutBadger):

![Screenshot of Android local notification](https://github.com/Tw1ddle/samcodes-notifications-demo/blob/master/screenshots/notification-android.png?raw=true "Notification Android")

Android notification with custom notification icons:

![Screenshot of Android notification](https://github.com/Tw1ddle/samcodes-notifications-demo/blob/master/screenshots/notification-android-custom-icons.png?raw=true "Notification Android")

iOS notifications and badging:

![Screenshot of iOS local notification](https://github.com/Tw1ddle/samcodes-notifications-demo/blob/master/screenshots/notification-ios.png?raw=true "Notification iOS")