diff --git a/packages/react-native-app-auth/plugin/src/ios/app-delegate.ts b/packages/react-native-app-auth/plugin/src/ios/app-delegate.ts index eca6cddb..5b0d1d83 100644 --- a/packages/react-native-app-auth/plugin/src/ios/app-delegate.ts +++ b/packages/react-native-app-auth/plugin/src/ios/app-delegate.ts @@ -8,7 +8,7 @@ const withAppDelegateSwift: ConfigPlugin = rootConfig => { let { contents } = config.modResults; if (!contents.includes('RNAppAuthAuthorizationFlowManager')) { - const replaceText = 'public class AppDelegate: ExpoAppDelegate'; + const replaceText = 'class AppDelegate: ExpoAppDelegate'; contents = contents.replace(replaceText, `${replaceText}, RNAppAuthAuthorizationFlowManager`); const replaceText2 = @@ -58,4 +58,4 @@ export const withAppAuthAppDelegate: ConfigPlugin = rootConfig => { config.modResults.contents = contents; return config; }); -}; \ No newline at end of file +};