Explore Library
React NativePush Notifications & Deep Linking

87 items

1

Managing the App Badge Count

Code Quiz
2

FCM Setup for Android

Quiz
3

Notification That Launched the App

Code Quiz
4

Mapping URL Paths to Screens

Code Quiz
5

Cancelling Scheduled Notifications

Code Quiz
6

Parsing Path Parameters from a Link

Code Quiz
7

Android Notification Channel Setup

Code Quiz
8

Configuring the Linking prefixes Array

Code Quiz
9

Cleaning Up Notification Listeners

Code Quiz
10

Obtaining & Registering Device Push Tokens

Slides / Video
11

Requesting Notification Permissions

Slides / Video
12

React Native Firebase Messaging Setup

Slides / Video
13

Expo Notifications Library Overview

Slides / Video
14

How Push Notifications Work: APNs & FCM

Slides / Video
15

Local vs Remote Notifications

Slides / Video
16

Testing Deep Links on iOS & Android

Slides / Video
17

Navigate From Notification Payload

Slides / Video
18

Cold Start vs Warm Start Deep Links

Slides / Video
19

Mapping Deep Link URLs to Screens

Slides / Video
20

Linking API for Opening URLs

Slides / Video
21

Data vs Display Payload Fields

Quiz
22

Handling Notification Taps

Quiz
23

Foreground Notifications

Quiz
24

Expo Push Notification Service

Quiz
25

Obtaining a Device Push Token

Quiz
26

Requesting Notification Permissions

Quiz
27

Local vs Remote Notifications

Quiz
28

APNs Setup for iOS

Quiz
29

Testing Deep Links

Quiz
30

Custom URL Scheme Deep Links

Quiz
31

Universal Links and App Links

Quiz
32

Cold Start vs Warm Deep Links

Quiz
33

Using the Linking API

Quiz
34

Background Notification Handling

Quiz
35

Android Notification Channels

Quiz
36

Scheduling Local Notifications

Quiz
37

Managing Badge Counts

Quiz
38

Notification Tap to Deep Link

Quiz
39

Universal Links & App Links

Slides / Video
40

Deep Linking Fundamentals: URL Schemes

Slides / Video
41

Notification Badges, Sounds & Icons

Slides / Video
42

Android Notification Channels

Slides / Video
43

Notification Payload Structure & Custom Data

Slides / Video
44

Responding to Notification Taps

Slides / Video
45

Notifications: Foreground vs Background

Slides / Video
46

Scheduling Local Notifications

Slides / Video
47

Testing Deep Links via iOS Simulator

Code Quiz
48

Opening External URLs

Code Quiz
49

Custom getStateFromPath Override

Code Quiz
50

Navigating from a Notification Payload

Code Quiz
51

Custom URL Scheme in app.json

Code Quiz
52

Subscribing to URL Changes

Code Quiz
53

Handling the Initial URL

Code Quiz
54

Deep Linking into a Nested Navigator

Code Quiz
55

Parsing Query Params from a Link

Code Quiz
56

Notification Trigger Timing

Code Quiz
57

Foreground Notification Handler

Code Quiz
58

Scheduling a Local Notification

Code Quiz
59

Retrieving the Device Push Token

Code Quiz
60

Requesting Notification Permissions

Code Quiz
61

Handling Notification Tap Response

Code Quiz
62

Listening for Received Notifications

Code Quiz
63

Reading Custom Data Payload

Code Quiz
64

Initial URL on Cold Start

Flashcard
65

Testing Deep Links and Notifications

Flashcard
66

Navigating from a Notification Tap

Flashcard
67

App Links (Android)

Flashcard
68

Universal Links (iOS)

Flashcard
69

Android Notification Channels

Flashcard
70

Notification Payload Structure

Flashcard
71

Cold Start Notification Handling

Flashcard
72

Foreground Notification Handling

Flashcard
73

Retrieving a Device Push Token

Flashcard
74

Local vs Remote Notifications

Flashcard
75

URI Scheme Deep Links

Flashcard
76

APNs Setup for iOS

Flashcard
77

Background Notification Handling

Flashcard
78

Requesting Notification Permissions

Flashcard
79

Intent Filters and Associated Domains

Flashcard
80

Listening for Incoming Links

Flashcard
81

Parsing Deep Link URLs

Flashcard
82

Managing the Notification Tray

Flashcard
83

Badge Counts

Flashcard
84

Scheduling Local Notifications

Flashcard
85

Responding to Notification Taps

Flashcard
86

Expo Notifications and Push Tokens

Flashcard
87

FCM Setup for Android

Flashcard
Code QuizIntermediate

Managing the App Badge Count

Spot the missing await when reading and incrementing the app icon badge count.

Codejavascript
import * as Notifications from 'expo-notifications';

async function incrementBadge() {
  const current = Notifications.getBadgeCountAsync();
  await Notifications.setBadgeCountAsync(current + 1);
}

What is the bug in this code?