GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - gerkai/react-native-examples

BranchesTags
Open more actions menu

Latest commit

 

History

646 Commits
646 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
01-custom-status-bar-hook
01-custom-status-bar-hook
 
 
02-statusbar-config-based-on-route
02-statusbar-config-based-on-route
 
 
ChatApp
ChatApp
 
 
RNFirebaseChat
RNFirebaseChat
 
 
animate-header-on-scroll
animate-header-on-scroll
 
 
authFlow
authFlow
 
 
camera-upload-to-cloudinary
camera-upload-to-cloudinary
 
 
custom-hook-password-toggle
custom-hook-password-toggle
 
 
custom-scroll-indicator
custom-scroll-indicator
 
 
customTabBar
customTabBar
 
 
expo-firebase-auth-example
expo-firebase-auth-example
 
 
expo-geolocation-example
expo-geolocation-example
 
 
flatlist-keyextractor-example
flatlist-keyextractor-example
 
 
forms-with-formik
forms-with-formik
 
 
infinite-scroll-with-react-query
infinite-scroll-with-react-query
 
 
onboarding-viewpager
onboarding-viewpager
 
 
pressable-with-opacity
pressable-with-opacity
 
 
react-navigation-v6-typescript
react-navigation-v6-typescript
 
 
reactnav5-stack-navigator
reactnav5-stack-navigator
 
 
reactnav5-tab-navigator
reactnav5-tab-navigator
 
 
redux-persist-asyncstorage
redux-persist-asyncstorage
 
 
redux-shopping-cart
redux-shopping-cart
 
 
reduxTodoApp
reduxTodoApp
 
 
reduxWithHooks
reduxWithHooks
 
 
remove-header-border-react-navigation
remove-header-border-react-navigation
 
 
remove-tabbar-border
remove-tabbar-border
 
 
rnAnonChatApp
rnAnonChatApp
 
 
rnApolloCryptoListDemo
rnApolloCryptoListDemo
 
 
rnAsyncStorageExample
rnAsyncStorageExample
 
 
rnCollapsibleHeader
rnCollapsibleHeader
 
 
rnDeepLinking
rnDeepLinking
 
 
rnEmailAuthFirebase
rnEmailAuthFirebase
 
 
rnFirebaseDemo
rnFirebaseDemo
 
 
rnFirstApp2020
rnFirstApp2020
 
 
rnGoogleSignIn
rnGoogleSignIn
 
 
rnImagePickerExample
rnImagePickerExample
 
 
rnMultiLanguageExample
rnMultiLanguageExample
 
 
rnNotifications
rnNotifications
 
 
rnPreviewImageGallery
rnPreviewImageGallery
 
 
rnSimpleChatAppModule
rnSimpleChatAppModule
 
 
rnSplashAndIconExample
rnSplashAndIconExample
 
 
rnStyledComponents
rnStyledComponents
 
 
rnTasksApp
rnTasksApp
 
 
rnWebViewCustomNav
rnWebViewCustomNav
 
 
safe-area-insets-example
safe-area-insets-example
 
 
shared-element-transitions
shared-element-transitions
 
 
tamagui-example
tamagui-example
 
 
uploadStorageDemo
uploadStorageDemo
 
 
wavySVGExample
wavySVGExample
 
 
.gitignore
.gitignore
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 

Repository files navigation

React Native Examples

made with expo supports iOS and Android follow @amanhimself

Why react-native-examples

I am passionate about React Native and Expo ecosystem and one thing I often struggled with is the lack of resources when I was getting started. My another passion is for writing and I though why not combine these two and see how it goes.

I write about React Native and Expo form of blog posts, and tutorials on my personal blog amanhimself.dev and sometimes for other external publications such as LogRocket, freeCodeCamp, Snetry and Jscrambler. This repository is a collection of examples created for those blog posts.

With time, it gets harder to maintain different repositories, update the code and dependencies (and trying to match up with the speed of ever-changing ecosystem). Thus, I decided to keep all of projects/exmaples that are mostly code examples used in these various tutorials in one place and hence, this repository.

It's completely free. If you find anything useful in this repo, go ahead pick up any code snippet, use it in your own way.

You may find some of the examples being outdated in time, in terms of framework updates or libraries. Don't worry the concept would be the same. Feel free top up an issue or a PR if you feel like somethings needs to be changed.

To keep me caffeinated, you can buy me a coffee too ☕️

Buy Me a Coffee at ko-fi.com


Add opacity to Pressable component

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • Expo SDK 46

Remove Header Border Width in React Navigation

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • Expo SDK 46
  • React Navigation v6

Deep Linking with React Native and React Navigation v6

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • React Native 0.67.x
  • React Navigation v6

useInfiniteQuery hook from React Query and FlatList

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • Expo SDK 44
  • create-react-native-app
  • NativeBase v3
  • React Query

Show/Hide Password Visibility Custom Hook

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • Expo SDK 44

Safe Area Context in React Native and Expo apps

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • Expo SDK 44
  • react-native-safe-area-context

Add splash screen and app icon

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • React Native version 0.65.1
  • React Navigation v6
  • react-native-bootsplash

Multi-language Support Example

Learn how to add multi-language support to a React Native app using i18next.

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • React Native version 0.64.1
  • React Navigation v6
  • react-native-localize
  • i18next
  • react-i18next
  • @react-native-async-storage/async-storage

Expo Firebase Auth Example

Learn how to integrate Firebase Auth service using Firebase JS SDK and Expo SDK (by generating a managed workflow app).

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • Expo SDK version 41.x.x
  • Firebase JS SDK
  • React Navigation version 5.x.x
  • Managing Environment Variables with app.config.json

Create a custom Image Gallery Preview

Learn how to sync thumbnail using FlatList with Carousel from react-native-snap-carousel.

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • React Native version 0.63.4
  • The scrollToOffset method on FlatList
  • react-native-snap-carousel
  • Images from Unsplash

Convert Reverse Geocode into Postal Address

Fetch user's current location and then convert into actual postal address.

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • Expo SDK 44
  • React Navigation Stack v6
  • expo-location
  • Icon from Flaticon.com

Create a Translucent Bottom Tab Bar

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • react-native-cli
  • React Navigation Bottom Tabs v5
  • BlurView effect
  • Images from Unsplash

Shared Element transitions

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • Expo SDK 44
  • React Navigation v6
  • react-navigation-shared-element
  • react-native-shared-element
  • Images from Unsplash
  • Delayed loading example using react-native-animatable

Custom scroll bar indicator in ScrollView with Animated API

  • 🐙 Repo
  • 📝 Blog post
  • Description: The implementation of a scroll bar indicator is not directly customizable on cross-platforms in React Native. If you are building an app whose screen design depends on displaying a customized scroll bar indicator, then let's build one in this tutorial. This example uses:
    • Expo SDK 44
    • Animated.multiply() from React Native API
    • onScroll prop on ScrollView
    • Example API data from Draftbit's Example Data Service.

Redux Persist

  • 🐙 Repo
  • 📝 Blog post
  • Description: How to configure, integrate and use redux-persist library in a React Native & Expo app and dynamically change the UI based on the state updates. This example uses:
    • Expo SDK 40
    • react-navigation v5 (bottom-tabs)
    • redux, react-redux (with hooks), redux-thunk, redux-persist
    • Example API data from Draftbit's Example Data Service.

Forms with Formik

  • 🐙 Repo
  • 📝 Blog post
  • Description: In this post, let's take a look at how to integrate Formik along with Yup in a React Native app to create forms and validate them. We are also going to cover how to change the focus of one input field to another using a device's keyboard by forwarding the ref created using a useRef hook.

Animated Header View on a Scroll with React Native Animated API

  • 🐙 Repo
  • 📝 Blog post
  • Description: In this tutorial, let's explore a way to create a header view component that animates on the scroll position of the ScrollView component from React Native. We will go through the basics of creating a new Animated value as well as explaining the significance of functions and properties like interpolation, extrapolate, contentOffset, and so on. This example uses:
    • Expo SDK 38
    • React Native Animated API

Chat app with Expo + Firebase + Firestore + react-native-gifted-chat + react-native-paper + react-navigation v5

  • 🐙 Repo
  • 👉 Blog post series: Part1 | Part2 | Part3 | Part4 | Part5 | Part6

Create onBoarding screens with react-native-viewpager

  • 🐙 Repo
  • 📝 Blog post
  • Description: In this tutorial, we’ll look at one of the ways to create onboarding screens in a React Native app. We are going to use a React Native community package, called react-native-viewpager, that allows us to swipe left or right between different pages where each page has some data to display.

Remove Tab bar Border Width

  • 🐙 Repo
  • 📝 Blog post

This example uses:

  • Expo SDK 44
  • React Navigation v6

Create Custom Custom Wavy Headers with react-native-svg

  • 🐙 Repo
  • 👉 Expo Client
  • 📝 Blog post

Using Styled Components in React Native and Expo

  • 🐙 Repo
  • 📝 Blog post

Using react-native-image-picker

  • 🐙 Repo
  • 📝 Blog post

Handle Navigation in WebViews

  • 🐙 Repo
  • 📝 Blog post

Getting Started with react-navigation v5

  • 🐙 Repo
  • 📝 Blog post

Nesting Tab and Stack Navigation Patterns in react-navigation v5

  • 🐙 Repo
  • 📝 Blog post

Getting Started with Expo and React Native with Hooks & Redux (Hooks!)

  • 🐙 Repo
  • 👉 Blog post series: Part 1 | Part 2

Change status bar style config based on route with useIsFocused & react-navigation v6

  • 🐙 Repo

Uses

  • useIsFocused hook from React Navigation
  • expo-status-bar

Create a custom hook to change status bar styles with useFocusEffect & react-navigation v6

Warning Example Outdated. I wrote this status bar hook without knowing that the React Navigation library provides a useIsFocused hook. I updated my example using their technique that also works nicely with expo-status-bar.

  • 🐙 Repo
  • 👉 Blog post series

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Sponsor this project

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.