Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

@react-native-firebase\dynamic-links cannot find symbol

I am getting the following error after using npm install @react-native-firebase/dynamic-links. I am not able to solve this issue, any solutions?

D:\myapp\node_modules\@react-native-firebase\dynamic-links\android\src\main\java\io\invertase\firebase\dynamiclinks\ReactNativeFirebaseDynamicLinksModule.java:227: error: cannot find symbol
                    Bundle linkUtmParameters = linkData.getUtmParameters();
                                                       ^
  symbol:   method getUtmParameters()
  location: variable linkData of type PendingDynamicLinkData
D:\myapp\node_modules\@react-native-firebase\dynamic-links\android\src\main\java\io\invertase\firebase\dynamiclinks\ReactNativeFirebaseDynamicLinksModule.java:458: error: cannot find symbol
                                      pendingDynamicLinkData.getUtmParameters()))));
                                                            ^
  symbol:   method getUtmParameters()
  location: variable pendingDynamicLinkData of type PendingDynamicLinkData
3 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-firebase_dynamic-links:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
like image 787
Shivam Avatar asked Feb 26 '26 14:02

Shivam


1 Answers

It could be that the version of @react-native-firebase/app and @react-native-firebase/dynamic-links are not the same. So make sure your project contains the same version of @react-native-firebase/app and @react-native-firebase/dynamic-links.

like image 92
coderbot Avatar answered Mar 01 '26 12:03

coderbot



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!