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

Error when upgrading from v1.0.5 to v1.0.6 #36

Closed
franrios opened this issue Dec 5, 2016 · 5 comments
Closed

Error when upgrading from v1.0.5 to v1.0.6 #36

franrios opened this issue Dec 5, 2016 · 5 comments

Comments

@franrios
Copy link

franrios commented Dec 5, 2016

When installing latest version I get the following error. I've installed manually v1.0.5 to avoid this error for now .

/projectDir/node_modules/react-native-firebase-analytics/android/src/main/java/com/evollu/react/fa/FIRAnalyticsModule.java:50: error: cannot find symbol
            FirebaseAnalytics.getInstance(getReactApplicationContext()).setCurrentScreen(currentActivity, name, null);
                                                                       ^
  symbol:   method setCurrentScreen(Activity,String,<null>)
  location: class FirebaseAnalytics
1 error
:react-native-firebase-analytics:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.
@avkvak
Copy link

avkvak commented Dec 5, 2016

+1 Same issue

@mikemonteith
Copy link
Contributor

This might be an issue with your firebase package being out of date?
setCurrentScreen was only added with v9.8 on Oct 24th https://firebase.google.com/support/release-notes/android

@bitcoinvsalts
Copy link

+1 any solution for this issue?

@evollu
Copy link
Owner

evollu commented Dec 21, 2016

yes update your firebase package

@KendraTang
Copy link

I updated Android Studio to 2.2.1 and then issue solved.

@evollu evollu closed this as completed Dec 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants