Skip to content

Instantly share code, notes, and snippets.

View felippewick's full-sized avatar
🏠
Working from home

felippewick

🏠
Working from home
View GitHub Profile
@felippewick
felippewick / password_autofill_expo_how_to.md
Created September 17, 2024 19:48 — forked from amcvitty/password_autofill_expo_how_to.md
Configure Password Autofill on a React Native Expo app

Password Autofill on a React Native Expo app

Developing an app to accompany our website, worried that we would lose people in the transition if they couldn't remember their password, we were looking to make our app do Password AutoFill, a feature in iOS.

A talk from WWDC introducing the feature: https://developer.apple.com/videos/play/wwdc2017/206/

It works well, but there were a few bumps in the road making it work for React Native on Expo, so here are some notes to help out.

Apple's docs are here: https://developer.apple.com/documentation/security/password_autofill and they say something like this:

@felippewick
felippewick / SplitScreen.tsx
Created November 13, 2023 21:55 — forked from smontlouis/SplitScreen.tsx
Amie in-app split screen in react-native
import { useWindowDimensions } from 'react-native'
import { Gesture } from 'react-native-gesture-handler'
import Animated, {
Extrapolation,
WithSpringConfig,
interpolate,
scrollTo,
useAnimatedRef,
useAnimatedScrollHandler,
useAnimatedStyle,