Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS AWS Certified Developer - Associate CompTIA Security+
Photoshop Graphic Design Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Mindfulness Personal Development Personal Transformation Meditation Life Purpose Coaching Neuroscience
Web Development JavaScript React CSS Angular PHP Node.Js WordPress Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Analysis Data Modeling Big Data
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee

This course includes:

  • 3 hours on-demand video
  • 1 article
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
Development Mobile Development Socket.IO

Socket.IO Chat App in React Native for iOS/Android

Learn how to create a realtime Socket IO Chat App with React Native and Socket IO!
Rating: 4.4 out of 54.4 (122 ratings)
2,697 students
Created by Stefan Hyltoft
Last updated 6/2020
English
English [Auto]
30-Day Money-Back Guarantee

What you'll learn

  • Create a mobile app with React Native and Expo
  • Create a Socket IO backend in Nodejs
  • Create a public chatroom app with Socket IO and React Native
  • Create a private messaging app similar to Facebook Messenger
  • How to assign usernames to users joining the app
  • How to use Redux to manage state inside React Native
  • How to use React Hooks inside our Chat App
  • How to use react-navigation for navigation inside the mobile app
  • How to use Gifted Chat UI kit to bootstrap the UI
  • How to use Gifted Chat UI kit with Socket IO backend
  • How to manage layout on different devices
Curated for the Udemy for Business collection

Course content

10 sections • 37 lectures • 3h 2m total length

  • Preview01:13
  • Preview00:47
  • Preview02:58

  • Preview04:34
  • Preview02:33

  • Preview05:16
  • Removing yellow warning in React Native about Socket.io
    03:29
  • Adding TextInput and saving entered message state
    06:54
  • Sending Chat Message to Socket.IO Backend from React Native
    05:56
  • Receiving Message in React Native from Socket.io
    08:12

  • Installing Gifted Chat and fixing KeyboardAvoidingView in Android
    08:46
  • Displaying received messages from Socket.io in new UI
    07:00
  • Security issues to avoid, userId mapping and some house cleaning
    06:59

  • Implementing userIds and sending full message object from Socket.io
    09:08
  • Creating Separate Message Event Handler
    04:48

  • Adding Usernames to Socket.io Backend
    03:09
  • Creating Join Screen
    04:35
  • Layout in Join Screen
    04:57
  • Preview02:04
  • Creating JoinChat function and joining chat with usernames!
    06:22
  • Fixing issue with unique avatars
    04:53

  • Intro to section
    01:42
  • Installing and Using react-navigation
    05:59

  • Intro to Redux section
    02:07
  • Adding Redux
    11:11

  • Dispatching Join Event from JoinScreen.js with Redux
    04:30
  • Navigating to FriendListScreen and fixing keyboard for Android in JoinScreen
    03:57
  • Preview03:34
  • Displaying Users Online in FlatList and handling disconnect event
    06:15
  • Adding User Avatar and TouchableOpacity to FriendListScreen
    08:12
  • Navigating to ChatScreen after pressing on User in FriendList
    06:20
  • Sending Private Message to Socket.io backend
    06:30

  • Creating selfUser State Property
    05:18
  • Creating Conversations State Property
    02:46
  • Appending sent messages locally
    04:51
  • Preview04:28
  • BONUS - coupons for other courses
    00:14

Requirements

  • Basic JavaScript ES6

Description

Learn how to create a Chat App from scratch using the newest JavaScript-based fullstack technologies!

You will first learn quickly how to create a public chat room that any user can join from the mobile app, and type with all other users who have joined.

Then we will expand on the app and create private messaging, in a similar fashion to Facebook Messenger.

We are going to be using technologies such as React Native, Socket.IO, Nodejs, Redux, react-navigation, and Gifted Chat UI.

If you have any questions during the course feel free to message me and I'll get back to you as soon as possible!


Who this course is for:

  • Beginner React developers curious to learn how to make a realtime socket io chat app

Instructor

Stefan Hyltoft
B.Eng Software Engineer
Stefan Hyltoft
  • 4.4 Instructor Rating
  • 1,473 Reviews
  • 26,497 Students
  • 8 Courses

Stefan has been building software since elementary school starting out with Visual Basic 6.0. Since then he has been dabbling with Python(Pygame), PHP & MySQL, and Java during university. Since he discovered the JavaScript world he found an intense interest in web development especially using ReactJs/React Native and using NodeJs for the backend. 

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.