Skip to content

[🐛] iOS Release Monitoring not working #8406

Open
@kocburak

Description

@kocburak

Issue

I have some ios and android users. In the "Release monitoring" android show the users but ios have no data.

Image

I checked the Crashlytics dSYM upload and they are also weird. dsyms are shown but versions are not. On my other apps (unity games) usually the other way around. Version are diplayed but dSYMs are not uploaded and they are working fine.

Image

Is there anything I can check ?
I redownload the GoogleService-Info.plist and it seems corrent.

app.json:

{
    "expo": {
      "name": "xxx",
      "slug": "xxx",
      "version": "1.2.0",
      "orientation": "portrait",
      "icon": "./assets/images/icon.png",
      "scheme": "xxx",
      "userInterfaceStyle": "automatic",
      "newArchEnabled": true,
      "ios": {
        "googleServicesFile": "./GoogleService-Info.plist",
        "supportsTablet": true,
        "bundleIdentifier": "xxx",
        "appStoreUrl": "xxx",
        "appleTeamId": "xxx",
        "buildNumber": "0",
        "infoPlist": {
          "ITSAppUsesNonExemptEncryption": false,
          "UIBackgroundModes": [
            "remote-notification"
          ],
          "NSUserTrackingUsageDescription": "xxx",
          "SKAdNetworkItems": [
            {
              "SKAdNetworkIdentifier": "v9wttpbfk9.skadnetwork"
            },
            {
              "SKAdNetworkIdentifier": "n38lu8286q.skadnetwork"
            }
          ]
        },
        "entitlements": {
          "aps-environment": "production"
        }
      },
      "android": {
        "googleServicesFile": "./google-services.json",
        "playStoreUrl": "xxxx",
        "adaptiveIcon": {
          "foregroundImage": "./assets/images/adaptive-icon.png",
          "backgroundColor": "#ffffff"
        },
        "package": "xxxx",
        "versionCode": 14,
        "permissions": [
          "com.google.android.gms.permission.AD_ID",
          "android.permission.INTERNET"
        ]
      },
      "web": {
        "bundler": "metro",
        "output": "static",
        "favicon": "./assets/images/favicon.png"
      },
      "plugins": [
        "./plugins/withPodfile",
        "@react-native-firebase/app",
        "@react-native-firebase/crashlytics",
        "@react-native-firebase/perf",
        "expo-router",
        [
          "expo-splash-screen",
          {
            "image": "./assets/images/adaptive-icon.png",
            "imageWidth": 200,
            "resizeMode": "contain",
            "backgroundColor": "#ffffff"
          }
        ],
        [
          "expo-build-properties",
          {
            "ios": {
              "useFrameworks": "static",
              "extraPods": [
                {
                  "name": "GoogleMobileAdsMediationFacebook",
                  "version": "6.15.0.0"
                }
              ]
            },
            "android": {
              "extraProguardRules": "-keep class com.google.android.gms.internal.consent_sdk.** { *; }",
              "enableProguardInReleaseBuilds": true,
              "enableShrinkResourcesInReleaseBuilds": true,
              "targetSdkVersion": 35
            }
          }
        ],
        [
          "expo-android-app-gradle-dependencies",
          {
            "spacing": "    ",
            "dependencies": [
              "com.google.ads.mediation:facebook:6.19.0.0"
            ]
          }
        ],
        [
          "expo-tracking-transparency",
          {
            "userTrackingPermission": "xxx"
          }
        ],
        [
          "expo-notifications",
          {
            "enableBackgroundRemoteNotifications": true
          }
        ],
        [
          "react-native-fbsdk-next",
          {
            "appID": "xx",
            "clientToken": "xxx",
            "displayName": "xx",
            "scheme": "xx",
            "advertiserIDCollectionEnabled": true,
            "autoLogAppEventsEnabled": true,
            "isAutoInitEnabled": false,
            "iosUserTrackingPermission": "xxx"
          }
        ],
        [
          "react-native-google-mobile-ads",
          {
            "androidAppId": "xx",
            "iosAppId": "xx",
            "userTrackingUsageDescription": "Bu tanımlayıcı size kişiselleştirilmiş reklamlar sunmak için kullanılacaktır.",
            "delayAppMeasurementInit": true,
            "skAdNetworkItems": [
              "cstr6suwn9.skadnetwork",
              "4fzdc2evr5.skadnetwork",
              "2fnua5tdw4.skadnetwork",
              "ydx93a7ass.skadnetwork",
              "p78axxw29g.skadnetwork",
              "v72qych5uu.skadnetwork",
              "ludvb6z3bs.skadnetwork",
              "cp8zw746q7.skadnetwork",
              "3sh42y64q3.skadnetwork",
              "c6k4g5qg8m.skadnetwork",
              "s39g8k73mm.skadnetwork",
              "3qy4746246.skadnetwork",
              "hs6bdukanm.skadnetwork",
              "mlmmfzh3r3.skadnetwork",
              "v4nxqhlyqp.skadnetwork",
              "wzmmz9fp6w.skadnetwork",
              "su67r6k2v3.skadnetwork",
              "yclnxrl5pm.skadnetwork",
              "7ug5zh24hu.skadnetwork",
              "gta9lk7p23.skadnetwork",
              "vutu7akeur.skadnetwork",
              "y5ghdn5j9k.skadnetwork",
              "v9wttpbfk9.skadnetwork",
              "n38lu8286q.skadnetwork",
              "47vhws6wlr.skadnetwork",
              "kbd757ywx3.skadnetwork",
              "9t245vhmpl.skadnetwork",
              "a2p9lx4jpn.skadnetwork",
              "22mmun2rn5.skadnetwork",
              "4468km3ulz.skadnetwork",
              "2u9pt9hc89.skadnetwork",
              "8s468mfl3y.skadnetwork",
              "ppxm28t8ap.skadnetwork",
              "uw77j35x4d.skadnetwork",
              "pwa73g5rt2.skadnetwork",
              "578prtvx9j.skadnetwork",
              "4dzt52r2t5.skadnetwork",
              "tl55sbb4fm.skadnetwork",
              "e5fvkxwrpn.skadnetwork",
              "8c4e2ghe7u.skadnetwork",
              "3rd42ekr43.skadnetwork",
              "3qcr597p9d.skadnetwork"
            ]
          }
        ]
      ],
      "experiments": {
        "typedRoutes": true
      },
      "extra": {
        "router": {
          "origin": false
        },
        "eas": {
          "projectId": "xxx"
        }
      }
    }
  }

Project Files

Javascript

Click To Expand

package.json:

{
  "name": "xxxx",
  "main": "expo-router/entry",
  "version": "1.0.0",
  "scripts": {
    "start": "expo start",
    "reset-project": "node ./scripts/reset-project.js",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "test": "jest --watchAll",
    "lint": "expo lint"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "@expo/react-native-action-sheet": "^4.1.1",
    "@expo/vector-icons": "^14.0.4",
    "@react-native-async-storage/async-storage": "^1.24.0",
    "@react-native-firebase/analytics": "^21.12.0",
    "@react-native-firebase/app": "^21.12.0",
    "@react-native-firebase/crashlytics": "^21.12.0",
    "@react-native-firebase/messaging": "^21.12.0",
    "@react-native-firebase/perf": "^21.12.0",
    "@react-native-firebase/remote-config": "^21.12.0",
    "@react-navigation/bottom-tabs": "^7.2.1",
    "@react-navigation/native": "^7.0.15",
    "expo": "^52.0.37",
    "expo-android-app-gradle-dependencies": "^0.1.0",
    "expo-blur": "~14.0.3",
    "expo-build-properties": "~0.13.2",
    "expo-constants": "~17.0.5",
    "expo-font": "~13.0.3",
    "expo-haptics": "~14.0.1",
    "expo-linking": "~7.0.5",
    "expo-notifications": "~0.29.13",
    "expo-router": "~4.0.17",
    "expo-splash-screen": "~0.29.22",
    "expo-status-bar": "~2.0.1",
    "expo-store-review": "~8.0.1",
    "expo-symbols": "~0.2.2",
    "expo-system-ui": "~4.0.8",
    "expo-tracking-transparency": "~5.1.1",
    "expo-web-browser": "~14.0.2",
    "react": "18.3.1",
    "react-bootstrap": "^2.10.9",
    "react-dom": "18.3.1",
    "react-native": "^0.77.1",
    "react-native-fbsdk-next": "^13.4.1",
    "react-native-gesture-handler": "~2.22.0",
    "react-native-google-mobile-ads": "~14.0.1",
    "react-native-reanimated": "~3.16.7",
    "react-native-safe-area-context": "~5.1.0",
    "react-native-screens": "~4.8.0",
    "react-native-svg": "15.8.0",
    "react-native-web": "~0.19.13",
    "react-native-webview": "~13.13.1",
    "zod": "^3.24.2",
    "zustand": "^5.0.3",
    "@shopify/flash-list": "1.7.3"
  },
  "devDependencies": {
    "@babel/core": "^7.26.9",
    "@types/jest": "^29.5.14",
    "@types/react": "~18.3.12",
    "@types/react-test-renderer": "^18.3.1",
    "jest": "^29.7.0",
    "jest-expo": "~52.0.3",
    "react-test-renderer": "18.3.1",
    "typescript": "^5.8.2"
  },
  "private": true
}

firebase.json for react-native-firebase v6:

# N/A

iOS

Click To Expand

ios/Podfile:

  • I'm not using Pods
  • I'm using Pods and my Podfile looks like:
$RNFirebaseAnalyticsEnableAdSupport = true

require File.join(File.dirname(`node --print "require.resolve('expo/package.json')"`), "scripts/autolinking")
require File.join(File.dirname(`node --print "require.resolve('react-native/package.json')"`), "scripts/react_native_pods")

require 'json'
podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties.json'))) rescue {}

ENV['RCT_NEW_ARCH_ENABLED'] = podfile_properties['newArchEnabled'] == 'true' ? '1' : '0'
ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] = podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR']

platform :ios, podfile_properties['ios.deploymentTarget'] || '15.1'
install! 'cocoapods',
  :deterministic_uuids => false

prepare_react_native_project!

target 'GdaGvenliiTaklitTaiveTehlikeliGdalar' do
  use_expo_modules!

  if ENV['EXPO_USE_COMMUNITY_AUTOLINKING'] == '1'
    config_command = ['node', '-e', "process.argv=['', '', 'config'];require('@react-native-community/cli').run()"];
  else
    config_command = [
      'node',
      '--no-warnings',
      '--eval',
      'require(require.resolve(\'expo-modules-autolinking\', { paths: [require.resolve(\'expo/package.json\')] }))(process.argv.slice(1))',
      'react-native-config',
      '--json',
      '--platform',
      'ios'
    ]
  end

  config = use_native_modules!(config_command)

  use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks']
  use_frameworks! :linkage => ENV['USE_FRAMEWORKS'].to_sym if ENV['USE_FRAMEWORKS']

  use_react_native!(
    :path => config[:reactNativePath],
    :hermes_enabled => podfile_properties['expo.jsEngine'] == nil || podfile_properties['expo.jsEngine'] == 'hermes',
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/..",
    :privacy_file_aggregation_enabled => podfile_properties['apple.privacyManifestAggregationEnabled'] != 'false',
  )

  post_install do |installer|
    react_native_post_install(
      installer,
      config[:reactNativePath],
      :mac_catalyst_enabled => false,
      :ccache_enabled => podfile_properties['apple.ccacheEnabled'] == 'true',
    )

    # This is necessary for Xcode 14, because it signs resource bundles by default
    # when building for devices.
    installer.target_installation_results.pod_target_installation_results
      .each do |pod_name, target_installation_result|
      target_installation_result.resource_bundle_targets.each do |resource_bundle_target|
        resource_bundle_target.build_configurations.each do |config|
          config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
        end
      end
    end
  end
end

AppDelegate.m:

// N/A


Android

Click To Expand

Have you converted to AndroidX?

  • my application is an AndroidX application?
  • I am using android/gradle.settings jetifier=true for Android compatibility?
  • I am using the NPM package jetifier for react-native compatibility?

android/build.gradle:

// N/A

android/app/build.gradle:

// N/A

android/settings.gradle:

// N/A

MainApplication.java:

// N/A

AndroidManifest.xml:

<!-- N/A -->


Environment

Click To Expand

react-native info output:

 OUTPUT GOES HERE
  • Platform that you're experiencing the issue on:
    • iOS
    • 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:
    • `"^21.12.0
  • Firebase module(s) you're using that has the issue:
    • e.g. Crashlyticcs
  • Are you using TypeScript?
    • Yes v5.8.2


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions