0
    import com.sudoplz.reactnativeamplitudeanalytics.RNAmplitudeSDKPackage;

 @Override
        protected List<ReactPackage> getPackages() {
          @SuppressWarnings("UnnecessaryLocalVariable")
          List<ReactPackage> packages = new PackageList(this).getPackages();
         packages.add(new RNAmplitudePackage(MainApplication.this))
          return packages;
        }

MainApplication.java . If possible can anyone share link to integrate amplitude analytics in react-native. Thank You in advance

Mogsdad
  • 44,709
  • 21
  • 151
  • 275

1 Answers1

0

If you are using Expo Amplitude is event tracking in build in and you should refer Expo docs.

Any other case official JS SDK has built-in React Native support. You can read more here.

Kimmo Hintikka
  • 13,472
  • 7
  • 34
  • 63