TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Did you know you can put a whole game inside of a push notification

259 点作者 ig0r0大约 4 年前

11 条评论

Andrew_nenakhov大约 4 年前
I&#x27;d prefer Apple to fix horrible notifications on iOS. Since they broke VoIP background notifications, developers have no way to reliably perform silent delivery of information to device.<p>For example in a chat app that syncs with desktop you can deliver incoming messages, showing them as alerts, but you can&#x27;t deliver your own, because you MUST show alert on every push notification. Another use case is removing notifications: once you message on another device, you want to remove notification on iOS as well. With current notifications it is extremely problematic.<p>(Remaining background notifications in iOS work like shit - and please, do not start discussion that &#x27;it is not needed&#x27; - It is BADLY needed, just ask anyone who has developer experience with this wreck)
评论 #26767023 未加载
评论 #26764985 未加载
评论 #26766784 未加载
评论 #26767171 未加载
评论 #26766709 未加载
评论 #26765295 未加载
swen-rekcah大约 4 年前
Great. I’d love a little game, but the reality is that if anybody uses this it will just be for ads
评论 #26767850 未加载
bluefirebrand大约 4 年前
Seems like too much code to allow in a notification. Doesn&#x27;t that seem like it would be just rife with potential exploits?
评论 #26764184 未加载
评论 #26767168 未加载
figbert大约 4 年前
Neil Sardesai is a joy to follow – I highly recommend it. He probably knows more about internal macOS APIs than the devs.
gdeglin大约 4 年前
Super neat use of iOS Content-Extensions! I didn&#x27;t realize these were so well supported on Big Sur.<p>For anyone looking to build something similar themselves, here&#x27;s an example project on using a Content Extension to create an interactive notification: <a href="https:&#x2F;&#x2F;documentation.onesignal.com&#x2F;docs&#x2F;ios-image-carousel-push-notifications" rel="nofollow">https:&#x2F;&#x2F;documentation.onesignal.com&#x2F;docs&#x2F;ios-image-carousel-...</a><p>(Direct github link: <a href="https:&#x2F;&#x2F;github.com&#x2F;jfishman1&#x2F;OSNotificationContentExtension" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jfishman1&#x2F;OSNotificationContentExtension</a>)
dpeck大约 4 年前
GamePigeon (<a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;gamepigeon&#x2F;id1124197642" rel="nofollow">https:&#x2F;&#x2F;apps.apple.com&#x2F;us&#x2F;app&#x2F;gamepigeon&#x2F;id1124197642</a>) does something similar. Completely unaffiliated but it’s a solid little gaming app and useful for playing games with older family members.
ChrisArchitect大约 4 年前
But is it DOOM inside of a tweet? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26599532" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26599532</a>
elliotkillick大约 4 年前
That&#x27;s interesting. You can also put an entire game inside of a bootloader.
评论 #26778189 未加载
markus_zhang大约 4 年前
Just curious is it possible to abuse this for malicious code? Just a thought...
评论 #26765101 未加载
评论 #26764850 未加载
djsavvy大约 4 年前
Does anyone know if there’s a similar API&#x2F;technique for windows?
评论 #26766745 未加载
xwdv大约 4 年前
When they said notifications are the platform of the future, this is what they meant.<p>It’s not desktops, it’s not mobile, it’s <i>notifications</i>.
评论 #26764193 未加载