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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

How it would feel like to start developing for Android in 2019

37 点作者 pingec超过 5 年前

3 条评论

shaftway超过 5 年前
&gt; I&#x27;m going to create a socket connection to our own server instead. It&#x27;s for internal users anyway, so they won&#x27;t mind the battery drain.<p>Wait, what?<p>This is <i>why</i> this is such a hard process. You&#x27;re doing something that you shouldn&#x27;t do, and if apps were allowed to do this (like they were in the past), then battery drain would happen (like it did) and people would get angry and mis-attribute the problem (like you pointed out).<p>It&#x27;s a <i>good</i> thing that this isn&#x27;t allowed, and developers like this are why.<p>&gt; Screw this. I&#x27;m going to tell my users to just use a laptop instead. At least those things work.<p>This is your real problem, you&#x27;re trying to apply laptop paradigms to a phone. A phone != a laptop. Let me know when you get push notifications working while your laptop is sleeping.
stevewodil超过 5 年前
At some point it becomes easier to send an email or text instead of a push notification, if ultimately that was the problem to begin with and it&#x27;s an app for internal use only supposedly
mrlambchop超过 5 年前
Satire or not, I spent all day debugging very similar FCM issues, but under React Native. What looks like rate limiting can also be attributable to a wonky application lifecycle integration between RN&#x2F;Android. What times we live in!