Does Firebase Dynamic Links works from a separated module? #10364
              
  
  Closed
              
          
                  
                    
                      mihaicris-adoreme
                    
                  
                
                  started this conversation in
                General
              
            Replies: 2 comments 2 replies
-
| Hey @mihaicris-adoreme, how is  | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            -
| Ok, found the problem. I was using a private property reference in the service class like private let dynamicLinksService = DynamicLinks.dynamicLinks()and use it later in a method like: func ...() {
    dynamicLinksService.handleUniversalLink(url) ...
}Debugging the code reveal some description for the instance   DynamicLinks.dynamicLinks().handleUniversalLink(url)...fixed the issue. Not sure why it is not working in the first place. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently migrating from monolith app to iOS main target + several swift modules.
I have moved all the usages of Firebase to a dedicated module
FirebasePlatfomLive(which imports the Firebase SDK) and aFirebasePlatfominterface module which exposes some public methods.FirebasePlatfomLiveimplementsFirebasePlatfom.I am facing an issue with Firebase Dynamic Links product which doesn't recognise the URLs with associated domains defined in the main target app (containing the Info.plist). (applinks:your_dynamic_links_domain)
This method always fails although I am sending a corect firebase dynamic link.
Why is that? Is there a way to use Firebase Dynamic Links from another module, not from the main app target?
Beta Was this translation helpful? Give feedback.
All reactions