Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myflashlab/Badge-ANE
This AIR Native Extension lets you control the iOS badge value directly from Adobe AIR app.
https://github.com/myflashlab/Badge-ANE
Last synced: about 2 months ago
JSON representation
This AIR Native Extension lets you control the iOS badge value directly from Adobe AIR app.
- Host: GitHub
- URL: https://github.com/myflashlab/Badge-ANE
- Owner: myflashlab
- License: gpl-3.0
- Archived: true
- Created: 2016-10-23T13:27:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T10:42:21.000Z (over 4 years ago)
- Last Synced: 2024-08-04T05:03:20.381Z (5 months ago)
- Language: C
- Size: 3.84 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
- awesome-actionscript-sorted - Badge-ANE - This ANE lets you control the iOS badge value directly from Adobe AIR app (Native Extension / System ANE)
README
# Badge ANE for iOS Adobe AIR apps #
With Badge ANE you can read and write badge values for your iOS apps.* [Click here for ASDOC](http://myflashlab.github.io/asdoc/index.html?com/myflashlab/air/extensions/badge/package-detail.html)
* [See the ANE setup requirements](https://github.com/myflashlab/Badge-ANE/blob/master/src/ANE/extension.xml)**IMPORTANT:** Implementing ANEs in your AIR projects means you may be required to add some [dependencies](https://github.com/myflashlab/common-dependencies-ANE) or copy some frameworks or editing your app's manifest file. Our ANE setup instruction is designed in a human-readable format but you may still need to familiarize yourself with this format. [Read this post for more information](https://www.myflashlabs.com/understanding-ane-setup-instruction/)
If you think manually setting up ANEs in your projects is confusing or time-consuming, you better check the [ANELAB Software](https://github.com/myflashlab/ANE-LAB/).
[![The ANE-LAB Software](https://www.myflashlabs.com/wp-content/uploads/2017/12/myflashlabs-ANE-LAB_features.jpg)](https://github.com/myflashlab/ANE-LAB/)
# Tech Support #
If you need our professional support to help you with implementing and using the ANE in your project, you can join [MyFlashLabs Club](https://www.myflashlabs.com/product/myflashlabs-club-membership/) or buy a [premium support package](https://www.myflashlabs.com/product/myflashlabs-support/). Otherwise, you may create new issues at this repository and the community might help you.# Air Usage
```actionscript
import com.myflashlab.air.extensions.badge.Badge;// If you are using the FCM ANE to manage notifications, you don't need to call this method.
// because those ANEs have already registered your app for notification in iOS settings.
Badge.register();// to read the current badge number
trace("current badge is: " + Badge.value);// to write a new badge value
Badge.value = 2;
```Are you using this ANE in your project? Maybe you'd like to buy us a beer :beer:?
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&[email protected]&lc=US&item_name=Donation+to+Badge+ANE&no_note=0&cn=¤cy_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted)
Add your name to the below list? Donate anything more than $100 and it will be.
## Sponsored by... ##
your_website.com
Your company motto can be here!