react-native-firebase-analytics icon indicating copy to clipboard operation
react-native-firebase-analytics copied to clipboard

error: package com.evollu.react.fa does not exist ?

Open esutton opened this issue 9 years ago • 5 comments

Thank you for sharing your work.

I followed https://github.com/evollu/react-native-firebase-analytics/issues/20

Where should I look for this type of error?

/Users/edward3/Documents/projects/react-native/field-planner-mobile/android/app/src/main/java/com/ditchwitch/fieldplanner/MainApplication.java:25: error: package com.evollu.react.fa does not exist
import com.evollu.react.fa.FIRAnalyticsPackage;
                          ^
/Users/edward3/Documents/projects/react-native/field-planner-mobile/android/app/src/main/java/com/ditchwitch/fieldplanner/MainApplication.java:39: error: cannot find symbol
          new FIRAnalyticsPackage(),
              ^
  symbol: class FIRAnalyticsPackage
2 errors
:app:compileDebugJavaWithJavac FAILED

I appended to settings.gradle

include ':react-native-firebase-analytics'
project(':react-native-firebase-analytics').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-firebase-analytics/android')

esutton avatar Sep 06 '16 13:09 esutton

add dependencies { ... compile project(':react-native-firebase-analytics') }

to \android\app\build.gradle

drewsetski avatar Sep 09 '16 17:09 drewsetski

@esutton is this issue resolved?

evollu avatar Sep 22 '16 03:09 evollu

Hi, evollu! How are you? I am developing Android app with your "react-native-firebase-analytics" I need your help because I can not understand the readme completely. I did not get any issue. But I can't see any analytics graphics. Please help me. If you have any problem, I will do my best to help you. Best wishes and regards. Najib.

binzailani3136 avatar Nov 09 '16 07:11 binzailani3136

@binzailani3136 you need to set up Firebase SDK first following their official documentation. Then you can see some analytic event like app install etc. There might be a delay of couple hours for graphs to show up

evollu avatar Nov 09 '16 14:11 evollu

@binzailani3136 @esutton can u close this?

sibelius avatar Dec 08 '16 17:12 sibelius