Skip to content

expo 55 not working anymore #1110

@smiLLe

Description

@smiLLe

Issue

Updated to expo 55 and i get this error

Terminating app due to uncaught exception 'RNAppAuth Missing protocol conformance', reason: '<App.AppDelegate: 0x600000c02bb0> does not
conform to RNAppAuthAuthorizationFlowManager'

After some debugging I found the issue located in expos plugin app-delegate.ts

let { contents } = config.modResults;
        if (!contents.includes('RNAppAuthAuthorizationFlowManager')) {
            const replaceText = 'public class AppDelegate: ExpoAppDelegate';

AppDelegate in contents is no longer public which will result in RNAppAuthAuthorizationFlowManager no longer being added as a protocol to AppDelegate

Environment

  • Your Identity Provider: IdentityServer
  • Platform that you're experiencing the issue on: iOS
  • Your react-native Version: e.g. 0.72.1
  • Your react-native-app-auth Version: 8.1.0
  • Are you using Expo? Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions