invertase / react-native-firebase

šŸ”„ A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.
https://rnfirebase.io
Other
11.72k stars 2.22k forks source link

[šŸ›] šŸ”„ Analytics - Android logEvent including 'items' param not received/showing on analytics data and debug view #6590

Closed a-nushi closed 1 year ago

a-nushi commented 2 years ago

Issue

Hi to you all, we have a react native app implementing different modules of React Native Firebase, including Analytics module. The implementation has been done following all the guidelines correctly and it works because we see different events on the Firebase console, but the problem is we see a huge discrepancy in the statistics for events which include the param "items" between Android and iOS. The iOS data seems fine but the Android ones are in much lesser numbers than iOS ones. For example taking in account the "purchase" event which includes the items array, we can compare the orders created with our app and they are a lot more than the purchase events sent. Talking numbers, we have like 16k android users and 9k iOS users, but the "purchase" events collected in a month are 273 from Android and 7080 from ios, which is a huge difference. We noticed this difference with all the events that involve sending items param, the ones without this params like "screen_view" have similar numbers between Android and iOS. When debugging from Android we can see the payload is always sent through the javascript layer, and we don't see any relevant errors on the android studio logcat, except for these 2 which are from the GTM implementation:

2022-10-05 10:02:31.025 8498-8591/com.myAppNamespace E/GoogleTagManager: Internal error - Function call: __fm_sendFirebaseEvent
    Invalid param type for key 'userId'. Only boolean, double and string types and maps of thereof are supported.
2022-10-05 10:02:31.031 8498-8591/com.myAppNamespace E/GoogleTagManager: Internal error - Function call: __fm_sendFirebaseEvent
    Invalid param type for key 'items'. Only boolean, double and string types and maps of thereof are supported.

Does someone else noticed/have a similar issue in their app?

Thanks

P.N. the table here shows some data based on OS type but filtered by the purchase event

Schermata 2022-10-05 alle 11 31 10

Project Files

Javascript

Click To Expand

#### `package.json`: ```json { # .... "dependencies": { "@gorhom/bottom-sheet": "^3.6.4", "@react-native-community/blur": "^3.6.0", "@react-native-community/datetimepicker": "^3.5.2", "@react-native-firebase/analytics": "^14.2.2", "@react-native-firebase/app": "^14.2.2", "@react-native-firebase/crashlytics": "^14.2.2", "@react-native-voice/voice": "^3.2.2", "@react-spring/native": "^9.2.4", "@react-spring/types": "^9.2.4", "@reduxjs/toolkit": "^1.6.0", "@sparkfabrik/react-native-idfa-aaid": "^0.8.3", "@types/react-native-snap-carousel": "^3.8.3", "@types/remote-redux-devtools": "^0.5.4", "i18next": "^20.2.1", "i18next-http-backend": "^1.2.1", "install": "^0.13.0", "mkdirp": "^1.0.4", "moment": "^2.29.1", "native-base": "^2.15.2", "npm": "^7.10.0", "plist": "^3.0.2", "prop-types": "^15.7.2", "react": "^17.0.1", "react-hook-form": "^7.17.1", "react-i18next": "^11.8.13", "react-native": "^0.64.3", "react-native-blob-util": "^0.13.16", "react-native-circular-progress": "^1.3.7", "react-native-device-info": "^8.3.1", "react-native-eject": "^0.1.2", "react-native-encrypted-storage": "^4.0.2", "react-native-exception-handler": "^2.10.10", "react-native-fast-image": "^8.5.8", "react-native-flipper": "^0.145.0", "react-native-fs": "^2.18.0", "react-native-geolocation-service": "^5.3.0-beta.1", "react-native-google-places-autocomplete": "^2.2.0", "react-native-image-zoom-viewer": "^3.0.1", "react-native-maps": "0.29.3", "react-native-permissions": "^3.2.0", "react-native-progress": "^4.1.2", "react-native-reanimated": "2.2.2", "react-native-render-html": "^5.1.0", "react-native-restart": "^0.0.24", "react-native-snap-carousel": "^3.9.1", "react-native-svg": "^12.1.1", "react-native-swipe-list-view": "^3.2.9", "react-native-swiper": "^1.6.0", "react-native-swiper-flatlist": "^3.0.15", "react-native-url-polyfill": "^1.3.0", "react-native-vector-icons": "^8.1.0", "react-native-video": "^5.1.1", "react-native-webview": "11.17.2", "react-redux": "^7.2.4", "redux": "^4.1.0", "redux-devtools-extension": "^2.13.9", "redux-flipper": "^1.4.2", "redux-subscribe-action": "^2.1.3", "redux-thunk": "^2.3.0", "remote-redux-devtools": "^0.5.16", "reselect": "^4.0.0", "rxjs": "^7.5.5", "use-state-if-mounted": "^1.0.4", "yargs": "^15.4.1" }, "devDependencies": { "@babel/core": "^7.14.8", "@babel/runtime": "^7.14.8", "@react-native-community/cli": "^5.0.1-alpha.2", "@react-native-community/cli-tools": "^4.13.0", "@react-native-community/eslint-config": "^2.0.0", "@react-navigation/bottom-tabs": "5.11.2", "@react-navigation/drawer": "^5.12.5", "@react-navigation/native": "~5.8.10", "@react-navigation/stack": "~5.12.8", "@types/google.maps": "^3.47.2", "@types/jest": "^26.0.20", "@types/lodash": "^4.14.180", "@types/prop-types": "^15.7.3", "@types/react-native": "^0.64.3", "@types/react-native-video": "^5.0.6", "@types/react-test-renderer": "^16.9.2", "babel-jest": "^27.1.0", "eslint": "^7.14.0", "jest": "^27.0.6", "metro-react-native-babel-preset": "^0.66.2", "react-devtools-core": "4.13.2", "react-native-gesture-handler": "1.10.3", "react-native-rename": "^2.8.1", "react-native-safe-area-context": "3.1.9", "react-native-screens": "~2.15.0", "react-test-renderer": "17.0.1", "typescript": "^4.7.4" } #.... } ``` #### `firebase.json` for react-native-firebase v6: ```json { "react-native": { "analytics_auto_collection_enabled": true, "crashlytics_debug_enabled": true } } ```

iOS

Click To Expand

#### `ios/Podfile`: - [ ] I'm not using Pods - [x] I'm using Pods and my Podfile looks like: ```ruby require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' platform :ios, '10.0' target 'MyApp' do config = use_native_modules! use_react_native!( :path => config[:reactNativePath], # to enable hermes on iOS, change `false` to `true` and then install pods :hermes_enabled => true ) target 'MyAppTests' do inherit! :complete # Pods for testing end # FOR PERMISSIONS - see Apple compliance permissions_path = '../node_modules/react-native-permissions/ios' pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications" # Enables Flipper. # # Note that if you have use_frameworks! enabled, Flipper will not work and # you should disable the next line. use_flipper!() post_install do |installer| react_native_post_install(installer) end pod 'GoogleTagManager' pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons' end ``` #### `AppDelegate.m`: ```objc #import "AppDelegate.h" #import #import #import #import #ifdef FB_SONARKIT_ENABLED #import #import #import #import #import #import static void InitializeFlipper(UIApplication *application) { FlipperClient *client = [FlipperClient sharedClient]; SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults]; [client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]]; [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]]; [client addPlugin:[FlipperKitReactPlugin new]]; [client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]]; [client start]; } #endif @import MobileMessaging; /** Deletes all Keychain items accessible by this app if this is the first time the user launches the app */ static void ClearKeychainIfNecessary() { // Checks wether or not this is the first time the app is run if ([[NSUserDefaults standardUserDefaults] boolForKey:@"HAS_RUN_BEFORE"] == NO) { // Set the appropriate value so we don't clear next time the app is launched [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"HAS_RUN_BEFORE"]; NSArray *secItemClasses = @[ (__bridge id)kSecClassGenericPassword, (__bridge id)kSecClassInternetPassword, (__bridge id)kSecClassCertificate, (__bridge id)kSecClassKey, (__bridge id)kSecClassIdentity ]; // Maps through all Keychain classes and deletes all items that match for (id secItemClass in secItemClasses) { NSDictionary *spec = @{(__bridge id)kSecClass: secItemClass}; SecItemDelete((__bridge CFDictionaryRef)spec); } } } @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { ClearKeychainIfNecessary(); // FOR ENCRYPTED SECURE STORAGE [MobileMessagingPluginApplicationDelegate install]; [FIRApp configure]; #ifdef FB_SONARKIT_ENABLED InitializeFlipper(application); #endif RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"MyApp" initialProperties:nil]; if (@available(iOS 13.0, *)) { rootView.backgroundColor = [UIColor systemBackgroundColor]; } else { rootView.backgroundColor = [UIColor whiteColor]; } self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; UIViewController *rootViewController = [UIViewController new]; rootViewController.view = rootView; self.window.rootViewController = rootViewController; [self.window makeKeyAndVisible]; return YES; } - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge { #if DEBUG return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; #else return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; #endif } @end ```


Android

Click To Expand

#### Have you converted to AndroidX? - [x] my application is an AndroidX application? - [x] I am using `android/gradle.settings` `jetifier=true` for Android compatibility? - [x] I am using the NPM package `jetifier` for react-native compatibility? #### `android/build.gradle`: ```groovy // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext { buildToolsVersion = "30.0.2" minSdkVersion = 25 compileSdkVersion = 31 targetSdkVersion = 30 ndkVersion = "20.1.5948944" } repositories { google() jcenter() } dependencies { classpath("com.android.tools.build:gradle:4.1.0") classpath 'com.google.gms:google-services:4.3.10' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files // Add the Crashlytics Gradle plugin classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.0' // Add the dependency for the Performance Monitoring plugin classpath 'com.google.firebase:perf-plugin:1.4.0' // Performance Monitoring plugin } } allprojects { repositories { mavenLocal() maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url("$rootDir/../node_modules/react-native/android") } maven { // Android JSC is installed from npm url("$rootDir/../node_modules/jsc-android/dist") } google() jcenter() maven { url 'https://www.jitpack.io' } } } ``` #### `android/app/build.gradle`: ```groovy apply plugin: "com.android.application" apply plugin: "com.google.gms.google-services" // Google services Gradle plugin // Apply the Crashlytics Gradle plugin apply plugin: 'com.google.firebase.crashlytics' // Apply the Performance Monitoring plugin apply plugin: 'com.google.firebase.firebase-perf' import com.android.build.OutputFile /** * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets * and bundleReleaseJsAndAssets). * These basically call `react-native bundle` with the correct arguments during the Android build * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the * bundle directly from the development server. Below you can see all the possible configurations * and their defaults. If you decide to add a configuration block, make sure to add it before the * `apply from: "../../node_modules/react-native/react.gradle"` line. * * project.ext.react = [ * // the name of the generated asset file containing your JS bundle * bundleAssetName: "index.android.bundle", * * // the entry file for bundle generation. If none specified and * // "index.android.js" exists, it will be used. Otherwise "index.js" is * // default. Can be overridden with ENTRY_FILE environment variable. * entryFile: "index.android.js", * * // https://reactnative.dev/docs/performance#enable-the-ram-format * bundleCommand: "ram-bundle", * * // whether to bundle JS and assets in debug mode * bundleInDebug: false, * * // whether to bundle JS and assets in release mode * bundleInRelease: true, * * // whether to bundle JS and assets in another build variant (if configured). * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants * // The configuration property can be in the following formats * // 'bundleIn${productFlavor}${buildType}' * // 'bundleIn${buildType}' * // bundleInFreeDebug: true, * // bundleInPaidRelease: true, * // bundleInBeta: true, * * // whether to disable dev mode in custom build variants (by default only disabled in release) * // for example: to disable dev mode in the staging build type (if configured) * devDisabledInStaging: true, * // The configuration property can be in the following formats * // 'devDisabledIn${productFlavor}${buildType}' * // 'devDisabledIn${buildType}' * * // the root of your project, i.e. where "package.json" lives * root: "../../", * * // where to put the JS bundle asset in debug mode * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", * * // where to put the JS bundle asset in release mode * jsBundleDirRelease: "$buildDir/intermediates/assets/release", * * // where to put drawable resources / React Native assets, e.g. the ones you use via * // require('./image.png')), in debug mode * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", * * // where to put drawable resources / React Native assets, e.g. the ones you use via * // require('./image.png')), in release mode * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", * * // by default the gradle tasks are skipped if none of the JS files or assets change; this means * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to * // date; if you have any other folders that you want to ignore for performance reasons (gradle * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ * // for example, you might want to remove it from here. * inputExcludes: ["android/**", "ios/**"], * * // override which node gets called and with what additional arguments * nodeExecutableAndArgs: ["node"], * * // supply additional arguments to the packager * extraPackagerArgs: [] * ] */ project.ext.react = [ enableHermes: true, // clean and rebuild if changing ] apply from: "../../node_modules/react-native/react.gradle" /** * Set this to true to create two separate APKs instead of one: * - An APK that only works on ARM devices * - An APK that only works on x86 devices * The advantage is the size of the APK is reduced by about 4MB. * Upload all the APKs to the Play Store and people will download * the correct one based on the CPU architecture of their device. */ def enableSeparateBuildPerCPUArchitecture = false /** * Run Proguard to shrink the Java bytecode in release builds. */ def enableProguardInReleaseBuilds = false /** * The preferred build flavor of JavaScriptCore. * * For example, to use the international variant, you can use: * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` * * The international variant includes ICU i18n library and necessary data * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that * give correct results when using with locales other than en-US. Note that * this variant is about 6MiB larger per architecture than default. */ def jscFlavor = 'org.webkit:android-jsc:+' /** * Whether to enable the Hermes VM. * * This should be set on project.ext.react and mirrored here. If it is not set * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode * and the benefits of using Hermes will therefore be sharply reduced. */ def enableHermes = project.ext.react.get("enableHermes", false); android { ndkVersion rootProject.ext.ndkVersion compileSdkVersion rootProject.ext.compileSdkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } defaultConfig { applicationId "com.myapp" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 272 versionName "1.2.4" } splits { abi { reset() enable enableSeparateBuildPerCPUArchitecture universalApk false // If true, also generate a universal APK include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" } } signingConfigs { debug { storeFile file('somekey.keystore') storePassword 'somepass' keyAlias 'somekey' keyPassword 'somepass' } release { if (project.hasProperty('MYAPP_UPLOAD_STORE_FILE')) { storeFile file(MYAPP_UPLOAD_STORE_FILE) storePassword MYAPP_UPLOAD_STORE_PASSWORD keyAlias MYAPP_UPLOAD_KEY_ALIAS keyPassword MYAPP_UPLOAD_KEY_PASSWORD } } } buildTypes { debug { signingConfig signingConfigs.debug } release { // Caution! In production, you need to generate your own keystore file. // see https://reactnative.dev/docs/signed-apk-android. minifyEnabled enableProguardInReleaseBuilds proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" signingConfig signingConfigs.release // .debug } } // applicationVariants are e.g. debug, release applicationVariants.all { variant -> variant.outputs.each { output -> // For each separate APK per architecture, set a unique version code as described here: // https://developer.android.com/studio/build/configure-apk-splits.html // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc. def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4] def abi = output.getFilter(OutputFile.ABI) if (abi != null) { // null for the universal-debug, universal-release variants output.versionCodeOverride = defaultConfig.versionCode * 1000 + versionCodes.get(abi) } } } } dependencies { // Import the Firebase BoM implementation platform('com.google.firebase:firebase-bom:30.3.0') // Add the dependency for the Firebase SDK for Google Analytics // When using the BoM, don't specify versions in Firebase dependencies implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.firebase:firebase-crashlytics' implementation 'com.google.firebase:firebase-perf' // Add the dependencies for any other desired Firebase products // https://firebase.google.com/docs/android/setup#available-libraries implementation 'com.google.firebase:firebase-iid' implementation fileTree(dir: "libs", include: ["*.jar"]) //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // From node_modules implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") { exclude group:'com.facebook.fbjni' } debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") { exclude group:'com.facebook.flipper' exclude group:'com.squareup.okhttp3', module:'okhttp' } debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") { exclude group:'com.facebook.flipper' } if (enableHermes) { def hermesPath = "../../node_modules/hermes-engine/android/"; debugImplementation files(hermesPath + "hermes-debug.aar") releaseImplementation files(hermesPath + "hermes-release.aar") } else { implementation jscFlavor } implementation 'com.google.android.gms:play-services-tagmanager:18.0.1' implementation project(':react-native-exception-handler') } // Run this once to be able to run the application with BUCK // puts all compile dependencies into folder libs for BUCK to use task copyDownloadableDepsToLibs(type: Copy) { from configurations.compile into 'libs' } apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) ``` #### `android/settings.gradle`: ```groovy rootProject.name = 'MyApp' include ':react-native-vector-icons' project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) include ':react-native-exception-handler' project(':react-native-exception-handler').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-exception-handler/android') include ':app' ``` #### `MainApplication.java`: ```java package com.myapp; import androidx.appcompat.app.AppCompatDelegate; import android.app.Application; import android.content.Context; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; import com.facebook.react.ReactInstanceManager; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import com.facebook.soloader.SoLoader; import java.lang.reflect.InvocationTargetException; import java.util.List; import com.facebook.react.bridge.JSIModulePackage; import com.swmansion.reanimated.ReanimatedJSIModulePackage; import com.masteratul.exceptionhandler.ReactNativeExceptionHandlerPackage; public class MainApplication extends Application implements ReactApplication { private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { @Override protected JSIModulePackage getJSIModulePackage(){ return new ReanimatedJSIModulePackage(); } @Override public boolean getUseDeveloperSupport() { return BuildConfig.DEBUG; } @Override protected List getPackages() { @SuppressWarnings("UnnecessaryLocalVariable") List packages = new PackageList(this).getPackages(); // Packages that cannot be autolinked yet can be added manually here, for example: // packages.add(new MyReactNativePackage()); return packages; } @Override protected String getJSMainModuleName() { return "index"; } }; @Override public ReactNativeHost getReactNativeHost() { return mReactNativeHost; } @Override public void onCreate() { super.onCreate(); SoLoader.init(this, /* native exopackage */ false); initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); // https://github.com/facebook/react-native/issues/31345 AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO); } /** * Loads Flipper in React Native templates. Call this in the onCreate method with something like * initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); * * @param context * @param reactInstanceManager */ private static void initializeFlipper( Context context, ReactInstanceManager reactInstanceManager) { if (BuildConfig.DEBUG) { try { /* We use reflection here to pick up the class that initializes Flipper, since Flipper library is not available in release mode */ Class aClass = Class.forName("com.myapp.ReactNativeFlipper"); aClass .getMethod("initializeFlipper", Context.class, ReactInstanceManager.class) .invoke(null, context, reactInstanceManager); } catch (ClassNotFoundException e) { e.printStackTrace(); } catch (NoSuchMethodException e) { e.printStackTrace(); } catch (IllegalAccessException e) { e.printStackTrace(); } catch (InvocationTargetException e) { e.printStackTrace(); } } } } ``` #### `AndroidManifest.xml`: ```xml ```


Environment

Click To Expand

**`react-native info` output:** ``` System: OS: macOS 12.6 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 434.59 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.14.1 - ~/.nvm/versions/node/v16.14.1/bin/node Yarn: 1.22.19 - ~/.nvm/versions/node/v16.14.1/bin/yarn npm: 8.5.0 - ~/.nvm/versions/node/v16.14.1/bin/npm Watchman: 2022.09.19.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0 Android SDK: Not Found IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8512546 Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild Languages: Java: 17.0.2 - /usr/bin/javac npmPackages: @react-native-community/cli: ^5.0.1-alpha.2 => 5.0.1 react: ^17.0.1 => 17.0.2 react-native: ^0.64.3 => 0.64.3 react-native-macos: Not Found npmGlobalPackages: *react-native*: Not Found ``` - **Platform that you're experiencing the issue on**: - [ ] iOS - [x] Android - [ ] **iOS** but have not tested behavior on Android - [ ] **Android** but have not tested behavior on iOS - [ ] Both - **`react-native-firebase` version you're using that has this issue:** - `14.2.2` - **`Firebase` module(s) you're using that has the issue:** - `Analytics` - **Are you using `TypeScript`?** - `Y` & `v4.7.4`


mikehardy commented 2 years ago

Please reproduce on current versions - I can't spend time diagnosing old versions as they may contain issues already fixed. You can create an MCVE (https://stackoverflow.com/help/minimal-reproducible-example) based on this if it accelerates the process https://github.com/mikehardy/rnfbdemo/blob/main/make-demo.sh

Those log messages do look suspicious, it would be great to have a single App.js file that could reproduce them without all the other dependencies and code involved, to really focus on the problem (the "minimal" part of a minimal reproducible example)

Salakar commented 1 year ago

Hello šŸ‘‹, to help manage issues we automatically close stale issues.\n\nThis issue has been automatically marked as stale because it has not had activity for quite some time.\nHas this issue been fixed, or does it still require attention?\n\n> This issue will be closed in 15 days if no further activity occurs.\n\nThank you for your contributions.