[TIMOB-23128] iOS: Add missing local notification properties
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-07-26T09:50:24.000+0000 |
Affected Version/s | Release 5.2.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | ios, localnotification |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2016-03-31T11:05:38.000+0000 |
Updated | 2016-07-26T09:50:24.000+0000 |
Description
There are missing two properties inside the
Ti.App.iOS.scheduleLocalNotification
:
* alertTitle: The title of the alert being displayed (alertBody already covered)
* region: The region in which the notification can be triggered
PR: https://github.com/appcelerator/titanium_mobile/pull/7899
Uncomment region upon second run and a notification should not be displayed. Demo code :
I am unable to get a notification with region added, adding my demo code below; *app.js*
*Reopening ticket*
PR's to adjust the docs: - master: https://github.com/appcelerator/titanium_mobile/pull/8117 - 5_4_X: https://github.com/appcelerator/titanium_mobile/pull/8118
[~jlongton] Could you please re-test with the updated docs to make sure you're able to get the local notifications, once confirmed we can resolve and close the ticket :).
Many many silly mistakes in that PR. First of all, use this demo-code:
I also pushed changes to the master-PR, adding it to the backport as soon as it works on master.
Removing from review for 5.4.0 because of the
region
issue. I possibly fix it as part of the TIMOB-23527 effort. [~cng] fyi