Skip to content

Commit 0d226bc

Browse files
docs: Update setup guide for ios and platform compatibility in README.md (#1170)
1 parent 46237bb commit 0d226bc

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

README.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,25 @@ We're excited to announce the release of react-native-auth0 `v4.0.0`! Please not
2828

2929
### Requirements
3030

31-
This SDK targets apps that are using React Native SDK version `0.76.0` and up. If you're using an older React Native version, see the compatibility matrix below.
31+
This SDK targets apps that are using React Native SDK version `0.78.0` and up. If you're using an older React Native version, see the compatibility matrix below.
32+
33+
This SDK fully supports React Native New Architecture and Expo 53+.
34+
35+
> ⚠️ **Warning**: If you are using Expo version less than 53, you need to use react-native-auth0 version 4.x or earlier. Version 5.x supports Expo 53 and above.
3236
3337
### Platform compatibility
3438

3539
The following shows platform minimums for running projects with this SDK:
3640

3741
| Platform | Minimum version |
3842
| -------- | :-------------: |
39-
| iOS | 13.0 |
40-
| Android | 34 |
43+
| iOS | 14.0 |
44+
| Android | 35 |
4145

42-
Our SDK requires a minimum iOS deployment target of 13.0. In your project's ios/Podfile, ensure your platform target is set to 13.0.
46+
Our SDK requires a minimum iOS deployment target of 14.0. In your project's ios/Podfile, ensure your platform target is set to 14.0.
4347

4448
```
45-
platform :ios, '13.0'
49+
platform :ios, '14.0'
4650
```
4751

4852
### Installation
@@ -123,6 +127,8 @@ Re-declare the activity manually with `tools:node="remove"` in your app's Androi
123127

124128
Inside the `ios` folder find the file `AppDelegate.[swift|m]` add the following to it:
125129

130+
For Objective-C:
131+
126132
```objc
127133
#import <React/RCTLinkingManager.h>
128134

@@ -133,6 +139,14 @@ Inside the `ios` folder find the file `AppDelegate.[swift|m]` add the following
133139
}
134140
```
135141

142+
For Swift:
143+
144+
```swift
145+
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
146+
return RCTLinkingManager.application(app, open: url, options: options)
147+
}
148+
```
149+
136150
Inside the `ios` folder open the `Info.plist` and locate the value for `CFBundleIdentifier`, e.g.
137151

138152
```xml

0 commit comments

Comments
 (0)