-
Notifications
You must be signed in to change notification settings - Fork 242
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
[DynamicLinks] Update Docs for v6 #235
Comments
@builtbyproxy there's an edit button on the top right of each documentation page and github does walk you through the process of proposing on update? I haven't been through what you're talking about so someone that has been through it is best to propose a change - give it a shot 💪 |
Ah there's been a miscommunication. I don't actually know what to put here haha, I was hoping someone who does know what to put there could edit it, specifically the Thanks for the super quick response though! |
Oh I see sorry :-) - I think the whole document will likely still apply except the "add the pod" part. v6 takes care of the Pod dependencies for you under the covers |
The pod linking is working great, just having some troubles with importing. Running Then it breaks down in iii. with The 'fix' is to change RNFirebaseLinks to
however if I replace the return with Edit: It seems if I restart my computer the error no longer comes up... Oh well, leave this here for somone else to come across Thanks for the rubberduck @mikehardy |
You may have been bitten by stale DerivedData - I swear by Glad you're moving forward |
Ah yikes actually the errors are back :( It had to re-index in xcode Any ideas? I'll give this |
I'm not sure any of that is necessary anymore? https://invertase.io/oss/react-native-firebase/v6/dynamic-links/ios does not mention it, and normally I take inspiration from the test project and I likewise see nothing in there like that - it may be all auto-linked in now? https://github.com/invertase/react-native-firebase/blob/master/tests/ios/testing/AppDelegate.m |
Agreed there - I think the "happy path" through tests for dynamic links (that works for the react-native-firebase module in it's tests, that is) is a default openURL that needs no override. But as I'm integrating google sign-in now (and FB next) that doesn't fly, no. So - realizing that you've got multiple possible listeners for the URL open - here's where I am unfortunately less prescriptive. At the same time, I'm still not sure it's necessary - I'm not an ObjC wizard but it looks like it handles things well in getInitialLink here? https://github.com/invertase/react-native-firebase/blob/master/packages/dynamic-links/ios/RNFBDynamicLinks/RNFBDynamicLinksModule.m |
Ah very interesting! I was wondering where this suggestion of FIRDynamicLinks comes from... So you suggest just remove the above code I showed and see how it goes? I'll give it a go haha |
Also having trouble with this, @builtbyproxy 's solution did not work for me: Would be great if we get an example or updated docs on how Appdelegate.m should look like |
I can't promise a timeline but I am nearly done integrating social auth and apple sign in and dynamic links is next. I'll be happy to collaborate with everyone here and in the related issues to come up with a great solution, fuzzbust through any of the issues and update the docs. During the apple sign in work, it helped to share code via gists, so if people post what they currently have, and which cases work (or don't work) in gists and link them in we can maybe get something together that handles all the cases? And for concretness, I think the cases are: For each of android and ios:
apologies if the API names aren't perfect but those are the general cases I'm aware of? |
@harrisrobin I've fixed that import error before I then ran a Hope that helped |
thank you @builtbyproxy , I'll try that. |
Let me know! I'm online for another hour or so |
Hello
Could someone who knows how, please update
step 5
of the appDelegate.m stage for DynamicLinks to fit v6?Update your AppDelegate.m file:
as seen hereIf this has been deprecated, could someone please point me to where I may go to see how to do this in V6?
Thank You!
The text was updated successfully, but these errors were encountered: