{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":761842597,"defaultBranch":"main","name":"expo","ownerLogin":"alex-fournier","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-02-22T15:37:59.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1874622?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1708617042.0","currentOid":""},"activityList":{"items":[{"before":"c729a13f936926743c13c021f569a22921455e49","after":"7415c87573d1df05037e15c4f2e48d1a25ddb8d6","ref":"refs/heads/main","pushedAt":"2024-02-23T16:01:39.000Z","pushType":"push","commitsCount":25,"pusher":{"login":"alex-fournier","name":"Alex Fournier","path":"/alex-fournier","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1874622?s=80&v=4"},"commit":{"message":"[video] Add background playback and now playing notification (#27110)\n\n# Why\r\n\r\nThis PR adds background playback support to `expo-video`, most of the\r\ncode focuses on making the `now playing` notification work correctly\r\nwhen the player is backgrounded.\r\n\r\n# How\r\n\r\n\r\n[iOS]\r\n`NowPlayingManager` was created to have more control over the behaviour\r\nof the `Now Playing` notification when multiple players are playing\r\n(e.g. pausing all players when pause button is pressed). In the future,\r\nit should also allow us to add an option for the user to set the\r\nnotification title and picture without us having to do modifications to\r\nthe asset metadata on the native side, which have to be asynchronous.\r\n\r\n[Android]\r\nA `mediaPlayback` foreground service was created, it displays the\r\nnotification and should keep the playback alive while the app is\r\nbackgrounded. Similarly to iOS support for multiple players at the same\r\ntime has been implemented, but Android allows us to display separate\r\nnotifications for each player (see video).\r\n\r\nI a future PR we should add options to customise notification content on\r\nboth platforms, and when the notification is visible. Currently it's\r\nalways active on both platforms, but we should have an option to disable\r\nit for playing short content etc.\r\n\r\n# Test Plan\r\n\r\nTested in BareExpo on iOS 16, 17 and Android 13 and 14 devices \r\n\r\n\r\n| iOS | Android |\r\n| ------------- | ------------- |\r\n| \r\n| |","shortMessageHtmlLink":"[video] Add background playback and now playing notification (expo#27110"}},{"before":"db0b1e84b1813c06887bf8683b35b1b2ab5b6875","after":"1f75f8087b7366692f45a3d9e6591f75f52c5299","ref":"refs/heads/fix/expo-device-productName","pushedAt":"2024-02-22T16:04:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"alex-fournier","name":"Alex Fournier","path":"/alex-fournier","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1874622?s=80&v=4"},"commit":{"message":"chore: update expo-device CHANGELOG","shortMessageHtmlLink":"chore: update expo-device CHANGELOG"}},{"before":null,"after":"db0b1e84b1813c06887bf8683b35b1b2ab5b6875","ref":"refs/heads/fix/expo-device-productName","pushedAt":"2024-02-22T15:50:42.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"alex-fournier","name":"Alex Fournier","path":"/alex-fournier","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1874622?s=80&v=4"},"commit":{"message":"fix: Device.productName to Build.PRODUCT","shortMessageHtmlLink":"fix: Device.productName to Build.PRODUCT"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEA0Q7XwA","startCursor":null,"endCursor":null}},"title":"Activity ยท alex-fournier/expo"}