milljez
267 posts

milljez
@milljez
try again and again and again and again then try again @kaikulabs
Barcelona, Spain Katılım Ağustos 2019
130 Takip Edilen211 Takipçiler
Sabitlenmiş Tweet

@milljez That API 30+ gate is the sane version. Do you test the old path on a real pre-30 device, or has emulator coverage been enough?
English

react-native-cover got a huge release for Android🥳
v0.1.3 fixes reliability issues when showing the cover on Android.
The module is starting to look very stable. Will do some monitoring in the next few weeks.
github.com/amillez/react-…
English

@milljez That race is nasty because the fast devices are the ones that expose it. SurfaceControlViewHost is a very Android-shaped fix; did you have to gate it by API level?
English

@milljez Android reliability is where native modules get real. Was the flaky part lifecycle/backgrounding, or specific OEM behavior?
English
milljez retweetledi

It’s so hard to get it right. It can’t be achieved in the JS thread by listening to `appState` changes.
On iOS, you have to accept the tradeoff of showing it when state changes to `background`, not `inactive`, since the latter is triggered by biometrics, permissions, etc.
Android is very tricky. You have to listen to home and recent tap events, because the activity stopped event fires too late to update the UI. Activity paused event has the same problem as `inactive` on iOS. Even with this, I still have to polish it, since the home event sometimes fires too late as well (Android things 🙃).
Modals were pretty straightforward.
I’m sure it can be improved a lot, but it’s good enough for a 0.x version.
Feel free to DM for more details or check the code in the repo (critiques welcome).
English


There is so much friction w yarn + worktrees + react native monorepo
The `yarn install` step takes over a minute and really messes with my flow 😭
I've been experimenting with hoisting my global cache up a directory so my worktrees can all re-use it but alas, still having problems
What am I missing?
English

I'm not gonna lie, I switched to whoop a couple of months ago. I'm starting to regret that... I just like to wear non-smart watches during the day.
Bevel@bevel_health
Introducing Bevel 3.0, our biggest update yet. Featuring an All-New Bevel Intelligence, Health Records, and Biological Age. Your biometrics, health records, and personal context, finally connected in one intelligent system.
English
milljez retweetledi
milljez retweetledi












