dhananjaypuglia / react-native-firebase-dynamic-links

MIT License
11 stars 4 forks source link

react-native v0.49 support? #1

Open afilp opened 7 years ago

afilp commented 7 years ago

Can you please support the latest React-Native version? Thanks!

Also, I get the following error when running, not sure if it is related:

\MainApplication.java:6: error: package com.dhansiddh.rnfirebasedynamiclinks does not exist import com.dhansiddh.rnfirebasedynamiclinks.RNFirebaseDynamicLinksPackage;

afilp commented 7 years ago

I added the following in app\build.gradle (not mentioned in the instructions though):

compile project(':react-native-firebase-dynamic-links')

This made the above error disappear.

However, I now still have the next error (it was there also before):

\MainActivity.java:19: error: cannot find symbol
        RNFirebaseDynamicLinksModule.attachDynamicLinkListener(this);
        ^
  symbol:   variable RNFirebaseDynamicLinksModule
  location: class MainActivity

Any ideas what I should do next? Thanks!

afilp commented 6 years ago

Related to that, I see you are using a specific version for invites:

compile "com.google.firebase:firebase-invites:11.0.0"

This causes problems (cannot compile due to "duplicate entry" error), as other dependencies use version 11.8.0 (or above in the future).

Can this become a "+"? https://github.com/dhansiddh/react-native-firebase-dynamic-links/blob/master/android/build.gradle#L35