{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":763958035,"defaultBranch":"main","name":"react-native-push-notifications-starter","ownerLogin":"magicbell","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-02-27T08:17:30.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/29661728?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1717500121.0","currentOid":""},"activityList":{"items":[{"before":"e7408ee6140f95cd4a65d0f1b30967ba2e0c518b","after":null,"ref":"refs/heads/ullrich/fcm","pushedAt":"2024-06-04T11:23:53.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"}},{"before":"b33d34269ab033fbb8dd89465d1f7c963b1b9df5","after":"9bc02d9481be90239f3384010cbcc84fdd9f9d40","ref":"refs/heads/main","pushedAt":"2024-06-04T11:23:53.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"},"commit":{"message":"[3/n] Migrating to `expo-notification` and adding support for Android (#2)\n\n> [!NOTE]\r\n> This PR is based on other PRs and needs those to be merged before this\r\none can get merged:\r\n> - #4 \r\n> - #3 \r\n\r\nThis PR is mostly about migrating to\r\n[expo-notifications](https://docs.expo.dev/versions/latest/sdk/notifications/)\r\nwhich supports push notifications for both iOS and Android (as well as\r\nweb push as well, if that's something we want to explore in the future).\r\n\r\nThis updates a lot of the native code, but brings the benefit that most\r\nof the custom added native code becomes unnecessary and is handled by\r\nexpo behind the scenes.\r\n\r\nSo this PR does the remaining work of adding Android and FCM support. It\r\nintroduces platform splitting around push token registration and push\r\nnotification handling.\r\n\r\nAs a small plus of using Expo we now can easily deduce the value for\r\n`installationID` (and therefore which APNS environment will be used)\r\nfrom the native iOS side.\r\n\r\n## TestPlan\r\n\r\nIn order to test push tokens you need to have a firebase app registered\r\nthat corresponds to the bundleID (`com.rnprototype`). You'll need to put\r\nthe according `google-services.json` under\r\n`android/app/google-services.json`.\r\n\r\nAlso the FCM integration needs to be setup. (let me know if you need me\r\nto provide steps).\r\n\r\nTested both iOS and Android in sim-/emulator. The apps register and\r\ndiscard tokens correctly on signing and signout. Push notifications\r\narrive on both platforms and can be opened.","shortMessageHtmlLink":"[3/n] Migrating to expo-notification and adding support for Android ("}},{"before":"4808faae76e2b3ab25b31eb5452642becb2466d0","after":"e7408ee6140f95cd4a65d0f1b30967ba2e0c518b","ref":"refs/heads/ullrich/fcm","pushedAt":"2024-06-04T11:23:39.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"},"commit":{"message":"Firebase and Android setup","shortMessageHtmlLink":"Firebase and Android setup"}},{"before":"f7e13fc442bca981a6f5504bf6d8df9dbb674842","after":null,"ref":"refs/heads/ullrich/migrate-to-expo-notif","pushedAt":"2024-06-04T11:22:01.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"}},{"before":"7760cba70d20943d6d4e6d643cef2e1629e08be0","after":"b33d34269ab033fbb8dd89465d1f7c963b1b9df5","ref":"refs/heads/main","pushedAt":"2024-06-04T11:21:59.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"},"commit":{"message":"[2/n] Update Token registration and discarding on sign out (#3)\n\n> [!NOTE]\r\n> This PR is based on other PRs and needs those to be merged before this\r\none can get merged:\r\n> - #4 \r\n\r\nThis PR adjusts the current APNS implementation:\r\n- support for the new APNS payload format\r\n- support for discarding tokens on logout\r\n\r\nFor this _signed in_ state (in the form of credentials) had to be passed\r\ninto the `useToken` hook, so it can react to signing out (and back in\r\nagain).\r\n\r\nAlso this PR cleans up unused dependencies such as `react-native-auth0`\r\nand `aws-amplify`. Let me know if that makes it harder to review and I\r\ngladly split this part into a separate PR.\r\n\r\n\r\n## Test Plan\r\n\r\nTested in iOS Smulator. Push tokens are registered on sign in, and\r\ndiscarded on signet. Push notifications arrive and work as expected.","shortMessageHtmlLink":"[2/n] Update Token registration and discarding on sign out (#3)"}},{"before":"04ede4ad9942aa5d555c604becf89a4867fc110b","after":"4808faae76e2b3ab25b31eb5452642becb2466d0","ref":"refs/heads/ullrich/fcm","pushedAt":"2024-05-28T15:54:21.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"},"commit":{"message":"Firebase and Android setup","shortMessageHtmlLink":"Firebase and Android setup"}},{"before":"c09be80bef488ee17618be501ce87f611594233b","after":"f7e13fc442bca981a6f5504bf6d8df9dbb674842","ref":"refs/heads/ullrich/migrate-to-expo-notif","pushedAt":"2024-05-28T15:53:08.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"},"commit":{"message":"Removing unused Auth0 and Amplify dependencies","shortMessageHtmlLink":"Removing unused Auth0 and Amplify dependencies"}},{"before":"f6aaa8707467918d3069ce704dac3dda7a97ee3e","after":null,"ref":"refs/heads/ullrich/upgrade-rn-0.74","pushedAt":"2024-05-28T15:23:21.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"moxley01","name":"Matthew Oxley","path":"/moxley01","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11192814?s=80&v=4"}},{"before":"d9a45eb8179017532afbbabbcb9b5ea9ee5ccc75","after":"7760cba70d20943d6d4e6d643cef2e1629e08be0","ref":"refs/heads/main","pushedAt":"2024-05-28T15:23:20.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"moxley01","name":"Matthew Oxley","path":"/moxley01","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11192814?s=80&v=4"},"commit":{"message":"[1/n] Upgrade React Native to 0.74 (#4)\n\nThis PR upgrades the project to the most recent react-native version and\r\nsets the stage for more changes.\r\n\r\nThe changes are one-to-one those laid out by the [react-native-upgrade\r\nhelper for upgrading from 0.73.4 to\r\n0.74.1](https://react-native-community.github.io/upgrade-helper/?from=0.73.4&to=0.74.1&package=com.rnprototype&name=RNProtoType).\r\n\r\nSome of the significant changes in this version upgrade are the move to\r\nYarn 3 (most of the lines in this PR are from moving `package-lock.json`\r\nto `yarn.lock` and bundling the yarn version itself.\r\n\r\nAs with all react-native upgrades it was also necessary to run `pod\r\ninstall --project-directory=ios` to get iOS native dependencies up to\r\ndate. Android dependencies are automatically updated.\r\n\r\n---------\r\n\r\nCo-authored-by: Matthew Oxley ","shortMessageHtmlLink":"[1/n] Upgrade React Native to 0.74 (#4)"}},{"before":"2a9afca4ceef59a227cef4455c69656b62792c23","after":"f6aaa8707467918d3069ce704dac3dda7a97ee3e","ref":"refs/heads/ullrich/upgrade-rn-0.74","pushedAt":"2024-05-28T15:23:11.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"moxley01","name":"Matthew Oxley","path":"/moxley01","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11192814?s=80&v=4"},"commit":{"message":"Merge branch 'main' into ullrich/upgrade-rn-0.74","shortMessageHtmlLink":"Merge branch 'main' into ullrich/upgrade-rn-0.74"}},{"before":"072ec1e49332e217d0bca13c6415359ed6a96ad9","after":null,"ref":"refs/heads/ullrich/tiny-fixes","pushedAt":"2024-05-28T15:22:55.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"moxley01","name":"Matthew Oxley","path":"/moxley01","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11192814?s=80&v=4"}},{"before":"1875a7a19801a96e4b8454da7abecaa278008fbd","after":"d9a45eb8179017532afbbabbcb9b5ea9ee5ccc75","ref":"refs/heads/main","pushedAt":"2024-05-28T15:22:55.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"moxley01","name":"Matthew Oxley","path":"/moxley01","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11192814?s=80&v=4"},"commit":{"message":"[tiny] Formatting and missing `key` (#5)\n\nNothing to add to what's already in the title :)","shortMessageHtmlLink":"[tiny] Formatting and missing key (#5)"}},{"before":"083b8ce02158bc2fe6a3c1fdaddb82563698835a","after":"04ede4ad9942aa5d555c604becf89a4867fc110b","ref":"refs/heads/ullrich/fcm","pushedAt":"2024-05-20T11:02:35.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"},"commit":{"message":"Firebase and Android setup","shortMessageHtmlLink":"Firebase and Android setup"}},{"before":"c49802b4fc2ce5c09a24165ce4a133d88b91c59f","after":"c09be80bef488ee17618be501ce87f611594233b","ref":"refs/heads/ullrich/migrate-to-expo-notif","pushedAt":"2024-05-20T10:49:02.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"},"commit":{"message":"Removing unused Auth0 and Amplify dependencies","shortMessageHtmlLink":"Removing unused Auth0 and Amplify dependencies"}},{"before":null,"after":"072ec1e49332e217d0bca13c6415359ed6a96ad9","ref":"refs/heads/ullrich/tiny-fixes","pushedAt":"2024-05-20T10:46:05.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"},"commit":{"message":"Adding missing `key` to SignIn screen (and format)","shortMessageHtmlLink":"Adding missing key to SignIn screen (and format)"}},{"before":null,"after":"c49802b4fc2ce5c09a24165ce4a133d88b91c59f","ref":"refs/heads/ullrich/migrate-to-expo-notif","pushedAt":"2024-05-20T10:33:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"},"commit":{"message":"Adding missing `key` to SignIn screen (and format)","shortMessageHtmlLink":"Adding missing key to SignIn screen (and format)"}},{"before":null,"after":"2a9afca4ceef59a227cef4455c69656b62792c23","ref":"refs/heads/ullrich/upgrade-rn-0.74","pushedAt":"2024-05-20T10:32:51.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"},"commit":{"message":"Running `pod install`","shortMessageHtmlLink":"Running pod install"}},{"before":null,"after":"083b8ce02158bc2fe6a3c1fdaddb82563698835a","ref":"refs/heads/ullrich/fcm","pushedAt":"2024-05-20T10:30:53.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"stigi","name":"Ullrich Schäfer","path":"/stigi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/13815?s=80&v=4"},"commit":{"message":"TMP - DO NOT COMMIT","shortMessageHtmlLink":"TMP - DO NOT COMMIT"}},{"before":null,"after":"dca80f55ba742e9b68acedd0cc917dcbe9c985d5","ref":"refs/heads/android-setup","pushedAt":"2024-04-30T13:20:35.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"moxley01","name":"Matthew Oxley","path":"/moxley01","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11192814?s=80&v=4"},"commit":{"message":"android setup","shortMessageHtmlLink":"android setup"}},{"before":"3c4a8c87459df9f1c2e566273ddfde932bc0ef9f","after":"1875a7a19801a96e4b8454da7abecaa278008fbd","ref":"refs/heads/main","pushedAt":"2024-03-09T12:48:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"moxley01","name":"Matthew Oxley","path":"/moxley01","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11192814?s=80&v=4"},"commit":{"message":"credentials config","shortMessageHtmlLink":"credentials config"}},{"before":"02c1b5780a4c71cbe1451e9b5ce1649a53d6b558","after":"3c4a8c87459df9f1c2e566273ddfde932bc0ef9f","ref":"refs/heads/main","pushedAt":"2024-03-08T19:27:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"moxley01","name":"Matthew Oxley","path":"/moxley01","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11192814?s=80&v=4"},"commit":{"message":"device token logic","shortMessageHtmlLink":"device token logic"}},{"before":"4dc4469eeb8d596c669e5dbe31b2f1398df552b9","after":"02c1b5780a4c71cbe1451e9b5ce1649a53d6b558","ref":"refs/heads/main","pushedAt":"2024-03-08T18:33:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"moxley01","name":"Matthew Oxley","path":"/moxley01","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11192814?s=80&v=4"},"commit":{"message":"local url","shortMessageHtmlLink":"local url"}},{"before":"7abafe366f1e6c07c61a979c230d6e140121ed92","after":"4dc4469eeb8d596c669e5dbe31b2f1398df552b9","ref":"refs/heads/main","pushedAt":"2024-03-08T17:58:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"moxley01","name":"Matthew Oxley","path":"/moxley01","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11192814?s=80&v=4"},"commit":{"message":"change project credentials","shortMessageHtmlLink":"change project credentials"}},{"before":"58dc746e90a1b9db0de8d33a2f5a1a3e7df565f6","after":"7abafe366f1e6c07c61a979c230d6e140121ed92","ref":"refs/heads/main","pushedAt":"2024-03-08T17:16:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"moxley01","name":"Matthew Oxley","path":"/moxley01","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11192814?s=80&v=4"},"commit":{"message":"build out main screens","shortMessageHtmlLink":"build out main screens"}},{"before":null,"after":"58dc746e90a1b9db0de8d33a2f5a1a3e7df565f6","ref":"refs/heads/main","pushedAt":"2024-02-27T08:20:30.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"moxley01","name":"Matthew Oxley","path":"/moxley01","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11192814?s=80&v=4"},"commit":{"message":"push notifications working","shortMessageHtmlLink":"push notifications working"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEW-_-mQA","startCursor":null,"endCursor":null}},"title":"Activity · magicbell/react-native-push-notifications-starter"}