{"action":"opened","issue":{"url":"https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK/issues/430","repository_url":"https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK","labels_url":"https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK/issues/430/labels{/name}","comments_url":"https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK/issues/430/comments","events_url":"https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK/issues/430/events","html_url":"https://github.com/OneSignal/OneSignal-iOS-SDK/issues/430","id":366686782,"node_id":"MDU6SXNzdWUzNjY2ODY3ODI=","number":430,"title":"Action Buttons not appearing on iOS until notification made explicitly rich by adding picture","user":{"login":"XenorPLxx","id":6712823,"node_id":"MDQ6VXNlcjY3MTI4MjM=","avatar_url":"https://avatars3.githubusercontent.com/u/6712823?v=4","gravatar_id":"","url":"https://api.github.com/users/XenorPLxx","html_url":"https://github.com/XenorPLxx","followers_url":"https://api.github.com/users/XenorPLxx/followers","following_url":"https://api.github.com/users/XenorPLxx/following{/other_user}","gists_url":"https://api.github.com/users/XenorPLxx/gists{/gist_id}","starred_url":"https://api.github.com/users/XenorPLxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XenorPLxx/subscriptions","organizations_url":"https://api.github.com/users/XenorPLxx/orgs","repos_url":"https://api.github.com/users/XenorPLxx/repos","events_url":"https://api.github.com/users/XenorPLxx/events{/privacy}","received_events_url":"https://api.github.com/users/XenorPLxx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-04T08:56:43Z","updated_at":"2018-10-04T08:56:43Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n 1. IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MAY CLOSE YOUR ISSUE WITHOUT INVESTIGATION\r\n 2. SEARCH EXISTING ISSUES FOR AN ANSWER: https://goo.gl/WiaCcG\r\n 3. See our Common Issues documentation: https://goo.gl/68ntg2\r\n 4. See our contributing guidelines: https://github.com/OneSignal/OneSignal-iOS-SDK/blob/master/CONTRIBUTING.md\r\n-->\r\n\r\n**Description:**\r\n<!-- (write below this line) -->\r\n\r\nHello!\r\n\r\nI've setup OneSignal push notifications in my React Native app that is build for both Android and iOS.\r\n\r\nI'm trying to send basic notification from OneSignal dashboard that includes buttons. While my app is in foreground, everything looks fine - I see buttons in payload, so I display them in in-app notification.\r\n\r\nWhen application is in background or closed, buttons are handled as a part of system notification. On Android it works fine, but on iOS I don't see the buttons (even tho they are in payload in my `opened` `eventListener`.\r\n\r\nI rechecked if native setup done correctly on iOS and I've started to play with different settings in the OneSignal dashboard. After I've added picture to iOS notification (with buttons setup), I've got BOTH picture and buttons. And after that, even without picture, I've started getting buttons correctly on iOS.\r\n\r\nIt all worked until I've tried removing app from my phone. After reinstallation buttons disappeared and again, sending picture once made them available in later notifications.\r\n\r\n**Environment**\r\n1. What version of the iOS SDK are you using?\r\nreact-native 3.2.7 includes iOS SDK 2.8.8 (per https://github.com/geektimecoil/react-native-onesignal/releases)\r\n2. How did you add the SDK to your project (eg. cocoapods)\r\nLinking\r\n\r\n\r\n\r\n**Steps to Reproduce Issue:**\r\n<!--\r\n  Example:\r\n\r\n  1. Install iOS SDK version 2.8.2 with Cocoapods into a project\r\n  2. Initialize the SDK in didFinishLaunchingWithOptions:\r\n  3. Attempt to receive a push notification\r\n\r\n  (write below this line) -->\r\n\r\n1. Setup notifications\r\n2. Try sending buttons with notification\r\n3. Observe, if buttons are available in system notification (app in background)\r\n4. If not, try adding picture to make notification Rich\r\n5. Again observe, if buttons are available in system notification (app in background)\r\n\r\n\r\n\r\n\r\n<!--\r\n  SEARCH EXISTING ISSUES FOR AN ANSWER: https://goo.gl/WiaCcG\r\n-->\r\n"}}
{"actor":{"display_login":"XenorPLxx"}}