{ "id": "173017", "key": "AC-6142", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2019-02-26T21:58:16.000+0000", "created": "2019-02-19T10:47:31.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-02-26T21:58:16.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "{noformat}\r\nconst notification = Ti.Android.createNotification({\r\n\t\ticon : Ti.Android.R.drawable.ic_dialog_info,\r\n\t\tcontentTitle : 'BBC',\r\n\t\tcontentText : 'Text',\r\n\t\tlargeIcon : Ti.App.Android.R.drawable.logo,\r\n\t\tchannelId : channel.getId(),\r\n\t\tvisibility : Ti.Android.VISIBILITY_PUBLIC,\r\n\t\tnumber : 5,\r\n\t//\tstyle : Ti.Android.BigPictureStyle,\r\n\t\twhen : new Date().getTime(),\r\n\t\tcontentIntent : Ti.Android.createPendingIntent({\r\n\t\t\tintent : Ti.Android.createIntent({})\r\n\t\t})\r\n\t});\r\nAndroid.NotificationManager.notify(1, notification);\r\n{noformat}\r\n\r\nThis works, but if I add the `style` property, the the app crashes in `notify` line: Reason access to null object", "attachment": [], "flagged": false, "summary": "style property of notification crashes the app", "creator": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "446161", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~titanium@webmasterei-hamburg.de], Please share a standalone reproducible sample code for us to test the issue. Also, there is no mention of SDK, CLI and device version. Please provide these. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-02-19T18:46:02.000+0000", "updated": "2019-02-19T18:46:02.000+0000" }, { "id": "446320", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi, Im build the module and app with SDK 7.5.0 for Oreo. \r\nThis ticket was in relation to JS solution, now I hav esolved with a new module. Ti.AudioNotification.", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-02-26T13:49:32.000+0000", "updated": "2019-02-26T13:50:34.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }