Skip to content
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

[📚] New setup guide for iOS Credentials in RN 0.77 #8248

Open
jordankkk opened this issue Jan 24, 2025 · 6 comments
Open

[📚] New setup guide for iOS Credentials in RN 0.77 #8248

jordankkk opened this issue Jan 24, 2025 · 6 comments

Comments

@jordankkk
Copy link

Starting with RN 0.77 /ios/{projectName}/AppDelegate.mm is removed and changed to AppDelegate.swift


Image

@mikehardy
Copy link
Collaborator

Hi there - please just hit the edit button top right of the page and propose a change

@jordankkk
Copy link
Author

@mikehardy I apologize, as I’m new to React Native and am unsure how to make the change. 😁

@romanakash
Copy link

Created a PR here #8251

@tahaipek
Copy link

tahaipek commented Jan 29, 2025

Thank you for your guidance and PR.

Similarly, do you have a guide to enable Multidex on Swift?
https://rnfirebase.io/enabling-multidex#enabling-multidex

Similarly, do you have a guide to configure Cloud Messaging in Swift?
https://rnfirebase.io/messaging/usage#background-application-state

Or was the problem solved from a more fundamental point in RN 0.77? I couldn't find any documentation on this.

I noticed that the documentation of rnfirebase.io is old.

I'm currently trying to update ReactNative 0.72 to 0.77, so I need to adapt many packages back to 0.77.

@mikehardy
Copy link
Collaborator

@tahaipek 👋

The documentation on rnfirebase.io is as new as we have it, if there is something out of date there is an edit button top right of every page and the github PR flow in their web UI for text changes is trivial. I imagine since you mention react-native 0.77 you have noticed that react-native now uses AppDelegate.swift vs .mm. Please feel free to post a PR

Multidex was a workaround for old Android devices that are no longer supported, and we may all happily forget about multidex forever. And you never ever needed to think about it for iOS, it was an Android thing. You will never need it with modern Android.

@tahaipek
Copy link

Hi,
I think I will reach the solution a little late because I don't have technical knowledge about Native Android (kotlin) and iOS (swift) development. If I reach the solution, I will definitely update the docs and create PR.

  • I will skip the Multidex state. Thank you for your technical guidance.
  • I wonder if you can give some guidance for the “Background Application State” state?

Thanks in advance for your advice.

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

No branches or pull requests

4 participants