milljez

267 posts

milljez banner
milljez

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
milljez@milljez·
i'm aiming so high i keep forgetting i'm already living my dream
milljez tweet mediamilljez tweet media
English
10
2
199
7.2K
milljez
milljez@milljez·
@BoazWith For now I've just tested the old path in emulators. Will be doing much more testing in the upcoming weeks to ensure everything is stable.
English
0
0
0
9
Boaz Hwang
Boaz Hwang@BoazWith·
@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
1
0
0
11
milljez
milljez@milljez·
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
1
0
4
69
milljez
milljez@milljez·
@BoazWith Yep, exactly! Had to gate it by API 30+. Older Androids fall back to the previous path, which works fine, since the snapshot is captured later.
English
1
0
0
49
Boaz Hwang
Boaz Hwang@BoazWith·
@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
1
0
0
18
milljez
milljez@milljez·
@BoazWith It was both. There was a race condition, since some devices captured the Recents snapshot faster than the cover was shown. The fix was to use SurfaceControlViewHost.
English
1
0
0
28
Boaz Hwang
Boaz Hwang@BoazWith·
@milljez Android reliability is where native modules get real. Was the flaky part lifecycle/backgrounding, or specific OEM behavior?
English
1
0
1
21
milljez retweetledi
aniol
aniol@0xaniol·
new app dropping this week
aniol tweet mediaaniol tweet media
English
17
13
603
26.6K
milljez
milljez@milljez·
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
1
0
1
35
Alberto Sendra
Alberto Sendra@asendra_·
@milljez @obnol1 Curios how well does it handle some edge cases with RN modals, and things like os challenges (biometric authentication, permissions prompts etc)
English
1
0
2
58
milljez
milljez@milljez·
Introducing react-native-cover🔒 Stop sensitive data from leaking into the iOS App Switcher and Android Recents. ⚡ Fully native, zero JS overhead 🎨 Solid color, image, or blur 🌗 Light & dark mode 💫 Customizable fade animation
English
4
1
11
373
milljez
milljez@milljez·
@asendra_ @obnol1 This was the third time I had to implement this in an app so I finally decided to create a package haha
English
0
0
1
29
Peter Piekarczyk (🥧🚗🐥)
As a society, we should prevent polymorphic React components at all costs. Components should be composable. Your career depends on it
Peter Piekarczyk (🥧🚗🐥) tweet media
English
31
24
596
50K
Peter Piekarczyk (🥧🚗🐥)
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
14
0
22
9.3K
milljez retweetledi
Kaiku Labs
Kaiku Labs@kaikulabs·
we're not the same while everyone is vibecoding apps looking for a quick cash grab we're contributing to a react native open source library there's levels to this
Kaiku Labs tweet media
English
0
2
5
592
milljez
milljez@milljez·
@jpudysz it just keeps getting better, so cool🙌🏼
English
0
0
1
188
Jacek
Jacek@jpudysz·
🎉 Uniwind Pro 1.1.0 Tailwind group-active:* / group-focus:* on React Native. Parent press state reaches descendants through the C++ shadow tree - zero re-renders, zero context providers 👇🏼
Jacek tweet media
English
6
6
160
6.6K
milljez
milljez@milljez·
Pro tip for consumer apps: Don't add a login screen. Authenticate your users in the background. Store auth tokens in Keychain for iOS and Blockstore for Android.
English
0
0
2
59
milljez
milljez@milljez·
Guess who's back from a time skip.
milljez tweet media
English
1
0
4
162