Skip to content

how to setup ios AppDelegate.swift at react-native version 0.78 #1067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
indrawanDhede opened this issue Mar 22, 2025 · 7 comments · Fixed by #1079
Closed

how to setup ios AppDelegate.swift at react-native version 0.78 #1067

indrawanDhede opened this issue Mar 22, 2025 · 7 comments · Fixed by #1079

Comments

@indrawanDhede
Copy link

please help me how to setup react-native-app-auth at AppDelegate.swift because in documentation still using old version react-native-cli..

@indrawanDhede
Copy link
Author

please help

@ecoskun87
Copy link

same problem. we need solution

@tuladharjaa
Copy link

This is working for me.
#1060 (comment)

@fransiskasiburian
Copy link

@tuladharjaa i got error "Cannot find type 'RNAppAuthAuthorizationFlowManagerDelegate' in scope". what should i do?

@dhruvpaobs
Copy link

"react-native": "0.78.1"
"react-native-app-auth": "^8.0.2"

True I am also facing the same error "Cannot find type 'RNAppAuthAuthorizationFlowManager' in scope"

@ianvasco
Copy link

ianvasco commented May 23, 2025

@dhruvpaobs I was having the same issue and had to make sure I had the bridge header connected:

  1. Open Xcode and ensure swift-Bridging-Header.h is created at same folder than AppDelegate.swift
  2. Still in Xcode, select your project, go to Build Settings -> Search for "Objective-C Bridging Header" and then clic on the values until the text box appears, then drag and drop the your header file into it.
  3. Make sure to use $(SRCROOT) so you don't leave specific paths. E.g. $(SRCROOT)/swift-Bridging-Header.h
  4. Build & pray 🙏🏻

@zibs
Copy link
Contributor

zibs commented May 27, 2025

#1079 should help with this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants