logo
On this page

Migrating react-native to 0.77

Update dependency package

Change the version of react-native-screens.

You can change the version in your package.json file directory:

Untitled
"react-native-screens": "^3.37.0",
1
Copied!

Or run the following command:

yarn
yarn add react-native-screens
1
Copied!

Update AppDelegate.swift for iOS

Add the seventh line as shown in the following code snippet, @objc(AppDelegate)

swift
import UIKit
import React
import React_RCTAppDelegate
import ReactAppDependencyProvider

@main
@objc(AppDelegate)
class AppDelegate: RCTAppDelegate
1
Copied!

Previous

Migrating react-native to v0.76

Next

Migrating react-native to v0.78