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.64k stars 2.21k forks source link

Dynamic Links Crashing for iOS app #4547

Closed swapnilshah09 closed 3 years ago

swapnilshah09 commented 3 years ago

Issue

For some user firebase, dynamic links are crashing the entire app on iOS. Seeing these logs in firebase crashlytics console.

Fatal Exception: NSInvalidArgumentException
*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
-[FIRDynamicLinkComponents url]

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x186ad25ac __exceptionPreprocess
1  libobjc.A.dylib                0x19abc042c objc_exception_throw
2  CoreFoundation                 0x186b414cc -[__NSCFString characterAtIndex:].cold.1
3  CoreFoundation                 0x186b4d608 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.5
4  CoreFoundation                 0x1869c6c8c -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]
5  CoreFoundation                 0x186ad1cb0 __createDictionary
6  CoreFoundation                 0x1869cac38 +[NSDictionary dictionaryWithObject:forKey:]
7  OneCard                        0x104715d28 -[FIRDynamicLinkComponents url] + 614 (FDLURLComponents.m:614)
8  OneCard                        0x104860530 -[RNFBDynamicLinksModule buildLink:::] + 65 (RNFBDynamicLinksModule.m:65)
9  CoreFoundation                 0x186ad75d4 __invoking___
10 CoreFoundation                 0x1869b29e8 -[NSInvocation invoke]
11 CoreFoundation                 0x1869b2fa4 -[NSInvocation invokeWithTarget:]
12 OneCard                        0x1048f8764 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 572 (RCTModuleMethod.mm:572)
13 OneCard                        0x1048fa8f8 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&) + 108 (RCTNativeModule.mm:108)
14 OneCard                        0x1048fa65c invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 365 (Optional.h:365)
15 libdispatch.dylib              0x1866cefd0 _dispatch_call_block_and_release
16 libdispatch.dylib              0x1866d0ac8 _dispatch_client_callout
17 libdispatch.dylib              0x1866d7c08 _dispatch_lane_serial_drain
18 libdispatch.dylib              0x1866d8734 _dispatch_lane_invoke
19 libdispatch.dylib              0x1866e2528 _dispatch_workloop_worker_thread
20 libsystem_pthread.dylib        0x1ce9c3908 _pthread_wqthread
21 libsystem_pthread.dylib        0x1ce9ca77c start_wqthread

Here is a short code snippet for dynamic link generation:

createDynamicLink = async (referralCode, featureName, sourceName) => {
    let referralDynamicLink = '';
    const referralDynamicLinkParameters = {
      link: `https://www.onescore.app/waitlist?referralCode=${referralCode}&featureName=${featureName}&source=${sourceName}`,
      domainUriPrefix: 'https://1card.page.link',
      android: {
        packageName: '***********',
        minimumVersion: '******',
      },
      ios: {
        bundleId: '***********',
        appStoreId: '*****',
        minimumVersion: '****',
      },
      social: {
        title: 'OneCard - India\'s Best Metal Card',
        descriptionText: 'We\'re re - imagining credit card for the mobile generation',
        imageUrl: 'https://www.onescore.app/assets/share_image_join_onecard.png',
      },
    };
    await dynamicLinks().buildLink(referralDynamicLinkParameters).then((linkGenerated) => {
      referralDynamicLink = linkGenerated;
    });
    let oneScoreWlDynamicLink = '';
    await dynamicLinks().buildShortLink(referralDynamicLinkParameters, 'SHORT')
      .then((link) => {
        oneScoreWlDynamicLink = link;
      }).catch((error) => {
        oneScoreWlDynamicLink = `https://www.onescore.app/waitlist?referralCode=${referralCode}&featureName=${featureName}&source=${sourceName}`;
      });
    return oneScoreWlDynamicLink;
  }

Project Files

Podfile

platform :ios, '10.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

def add_flipper_pods!(versions = {})
  versions['Flipper'] ||= '~> 0.33.1'
  versions['DoubleConversion'] ||= '1.1.7'
  versions['Flipper-Folly'] ||= '~> 2.1'
  versions['Flipper-Glog'] ||= '0.3.6'
  versions['Flipper-PeerTalk'] ||= '~> 0.0.4'
  versions['Flipper-RSocket'] ||= '~> 1.0'
  pod 'FlipperKit', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitLayoutPlugin', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/SKIOSNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitUserDefaultsPlugin', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitReactPlugin', versions['Flipper'], :configuration => 'Debug'
  # List all transitive dependencies for FlipperKit pods
  # to avoid them being linked in Release builds
  pod 'Flipper', versions['Flipper'], :configuration => 'Debug'
  pod 'Flipper-DoubleConversion', versions['DoubleConversion'], :configuration => 'Debug'
  pod 'Flipper-Folly', versions['Flipper-Folly'], :configuration => 'Debug'
  pod 'Flipper-Glog', versions['Flipper-Glog'], :configuration => 'Debug'
  pod 'Flipper-PeerTalk', versions['Flipper-PeerTalk'], :configuration => 'Debug'
  pod 'Flipper-RSocket', versions['Flipper-RSocket'], :configuration => 'Debug'
  pod 'FlipperKit/Core', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/CppBridge', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FBCxxFollyDynamicConvert', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FBDefines', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FKPortForwarding', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitHighlightOverlay', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitLayoutTextSearchable', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
end
# Post Install processing for Flipper
def flipper_post_install(installer)
  installer.pods_project.targets.each do |target|
    if target.name == 'YogaKit'
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '4.1'
      end
    end
  end
end

target 'OneCard' do
  # Pods for OneCard
  permissions_path = '../node_modules/react-native-permissions/ios'
  pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
  pod 'GoogleSignIn', '~> 5.0.2'
  pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
  pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
  pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
  pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
  pod 'React', :path => '../node_modules/react-native/'
  pod 'React-Core', :path => '../node_modules/react-native/'
  pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
  pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
  pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
  pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'

  pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'

  pod 'React-callinvoker', :path => "../node_modules/react-native/ReactCommon/callinvoker"

  pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"

  pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  pod 'react-native-camera', path: '../node_modules/react-native-camera'

  pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'

  pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'

  pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'

  pod 'RNSVG', :path => '../node_modules/react-native-svg'
  pod 'RNShare', :path => '../src/SharedComponents/react-native-share'

pod 'react-native-camera', path: '../node_modules/react-native-camera', subspecs: [
  'FaceDetectorMLKit'
]

  pod 'RNPermissions', :path => '../node_modules/react-native-permissions'

  pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'

  pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'

  pod 'RNScreens', :path => '../node_modules/react-native-screens'

  pod 'RNGoogleSignin', :path => '../node_modules/@react-native-community/google-signin'

  target 'OneCardTests' do
    inherit! :search_paths
    # Pods for testing
  end

  use_native_modules!
end

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.

  add_flipper_pods!
post_install do |installer|
  # flipper_post_install(installer)
  installer.pods_project.targets.each do |target|
    if target.name == "React"
      target.remove_from_project
    end
  end
end

# platform :ios, '9.0'
# require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

# def add_flipper_pods!(versions = {})
#   versions['Flipper'] ||= '~> 0.33.1'
#   versions['DoubleConversion'] ||= '1.1.7'
#   versions['Flipper-Folly'] ||= '~> 2.1'
#   versions['Flipper-Glog'] ||= '0.3.6'
#   versions['Flipper-PeerTalk'] ||= '~> 0.0.4'
#   versions['Flipper-RSocket'] ||= '~> 1.0'
#   pod 'FlipperKit', versions['Flipper'], :configuration => 'Debug'
#   pod 'FlipperKit/FlipperKitLayoutPlugin', versions['Flipper'], :configuration => 'Debug'
#   pod 'FlipperKit/SKIOSNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
#   pod 'FlipperKit/FlipperKitUserDefaultsPlugin', versions['Flipper'], :configuration => 'Debug'
#   pod 'FlipperKit/FlipperKitReactPlugin', versions['Flipper'], :configuration => 'Debug'
#   # List all transitive dependencies for FlipperKit pods
#   # to avoid them being linked in Release builds
#   pod 'Flipper', versions['Flipper'], :configuration => 'Debug'
#   pod 'Flipper-DoubleConversion', versions['DoubleConversion'], :configuration => 'Debug'
#   pod 'Flipper-Folly', versions['Flipper-Folly'], :configuration => 'Debug'
#   pod 'Flipper-Glog', versions['Flipper-Glog'], :configuration => 'Debug'
#   pod 'Flipper-PeerTalk', versions['Flipper-PeerTalk'], :configuration => 'Debug'
#   pod 'Flipper-RSocket', versions['Flipper-RSocket'], :configuration => 'Debug'
#   pod 'FlipperKit/Core', versions['Flipper'], :configuration => 'Debug'
#   pod 'FlipperKit/CppBridge', versions['Flipper'], :configuration => 'Debug'
#   pod 'FlipperKit/FBCxxFollyDynamicConvert', versions['Flipper'], :configuration => 'Debug'
#   pod 'FlipperKit/FBDefines', versions['Flipper'], :configuration => 'Debug'
#   pod 'FlipperKit/FKPortForwarding', versions['Flipper'], :configuration => 'Debug'
#   pod 'FlipperKit/FlipperKitHighlightOverlay', versions['Flipper'], :configuration => 'Debug'
#   pod 'FlipperKit/FlipperKitLayoutTextSearchable', versions['Flipper'], :configuration => 'Debug'
#   pod 'FlipperKit/FlipperKitNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
# end
# # Post Install processing for Flipper
# def flipper_post_install(installer)
#   installer.pods_project.targets.each do |target|
#     if target.name == 'YogaKit'
#       target.build_configurations.each do |config|
#         config.build_settings['SWIFT_VERSION'] = '4.1'
#       end
#     end
#   end
# end

# target 'OneCard' do
#   # Pods for OneCard
#   permissions_path = '../node_modules/react-native-permissions/ios'
#   pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"

#   pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
#   pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
#   pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
#   pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
#   pod 'React', :path => '../node_modules/react-native/'
#   pod 'React-Core', :path => '../node_modules/react-native/'
#   pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
#   pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
#   pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
#   pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
#   pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
#   pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
#   pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
#   pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
#   pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
#   pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
#   pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
#   pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'

#   pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
#   pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
#   pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
#   pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'

#   pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"

#   pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"

#   pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true

#   pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
#   pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
#   pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

#   pod 'react-native-camera', path: '../node_modules/react-native-camera'

#   pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'

#   pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'

#   pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'

#   pod 'RNSVG', :path => '../node_modules/react-native-svg'
#   pod 'RNShare', :path => '../src/SharedComponents/react-native-share'

#   pod 'react-native-camera', path: '../node_modules/react-native-camera', subspecs: [
#     'FaceDetectorMLKit'
#   ]

#   pod 'RNPermissions', :path => '../node_modules/react-native-permissions'

#   pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'

#   pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'

#   pod 'RNScreens', :path => '../node_modules/react-native-screens'

#   pod 'react-native-safe-area-context', :path => '../node_modules/react-native-safe-area-context'

#   target 'OneCardTests' do
#     inherit! :complete
#     # Pods for testing
#   end

#   use_native_modules!

#   # Enables Flipper.
#   #
#   # Note that if you have use_frameworks! enabled, Flipper will not work and
#   # you should disable these next few lines.
#   add_flipper_pods!
#   post_install do |installer|
#   flipper_post_install(installer)
#   end

# end

# target 'OneCard-tvOS' do
#   # Pods for OneCard-tvOS
#   target 'OneCard-tvOSTests' do
#     inherit! :search_paths
#     # Pods for testing
#   end
# end

# post_install do |installer|
#   installer.pods_project.targets.each do |target|
#     if target.name == "React"
#       target.remove_from_project
#     end
#   end
# end

Javascript

Click To Expand

#### `package.json`: ``` { "name": "OneCard", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint ." }, "dependencies": { "@gorhom/bottom-sheet": "^1.1.0", "@gorhom/paper-onboarding": "^1.0.0", "@invertase/react-native-apple-authentication": "^0.2.0", "@notifee/react-native": "^0.14.0", "@react-native-community/async-storage": "^1.7.1", "@react-native-community/checkbox": "^0.5.3", "@react-native-community/google-signin": "^4.0.3", "@react-native-community/netinfo": "^5.5.1", "@react-native-community/toolbar-android": "0.1.0-rc.2", "@react-native-community/viewpager": "^4.1.7", "@react-native-firebase/analytics": "^7.2.1", "@react-native-firebase/app": "^8.3.1", "@react-native-firebase/auth": "^8.1.1", "@react-native-firebase/crashlytics": "^8.3.4", "@react-native-firebase/dynamic-links": "^7.3.1", "@react-native-firebase/iid": "^7.2.1", "@react-native-firebase/in-app-messaging": "^7.2.1", "@react-native-firebase/messaging": "^7.4.1", "@react-native-firebase/remote-config": "^7.2.1", "@terrylinla/react-native-sketch-canvas": "^0.8.0", "axios": "^0.19.2", "base-64": "^0.1.0", "cubic-spline": "^3.0.3", "d3": "^5.16.0", "d3-array": "^2.4.0", "d3-interpolate-path": "^2.1.2", "d3-scale": "^3.2.1", "d3-shape": "^1.3.5", "deepmerge": "^4.2.2", "fbjs": "^1.0.0", "hyper-sdk-react": "^2.0.6", "jsc-android": "^241213.1.0", "lodash": "^4.17.15", "lottie-ios": "^3.1.6", "lottie-react-native": "^3.2.1", "memoize-one": "^5.1.1", "moment": "^2.24.0", "npm": "^6.13.7", "prop-types": "^15.7.2", "react": "16.11.0", "react-addons-shallow-compare": "^15.6.2", "react-native": "0.62.2", "react-native-animatable": "^1.3.3", "react-native-animate-number": "^0.1.2", "react-native-background-timer": "^2.1.1", "react-native-camera": "git+https://git@github.com/react-native-community/react-native-camera.git", "react-native-check-box": "^2.1.7", "react-native-confirmation-code-field": "^4.2.0", "react-native-countdown-component": "^2.7.1", "react-native-dash": "0.0.11", "react-native-datepicker": "^1.7.2", "react-native-device-info": "^7.0.2", "react-native-fingerprint-scanner": "^6.0.0", "react-native-fs": "^2.16.4", "react-native-gesture-handler": "^1.5.6", "react-native-get-random-values": "^1.4.0", "react-native-keyboard-spacer-view": "0.0.3", "react-native-linear-gradient": "^2.5.6", "react-native-modal": "^11.5.6", "react-native-network-info": "^5.2.1", "react-native-permissions": "^2.0.4", "react-native-pose": "^0.9.1", "react-native-proximity": "github:contagt/react-native-proximity", "react-native-qrcode-scanner": "^1.3.1", "react-native-reanimated": "^1.3.0", "react-native-screens": "^2.9.0", "react-native-securerandom": "^1.0.0-rc.0", "react-native-send-intent": "^1.2.2", "react-native-simple-toast": "^1.1.2", "react-native-slider": "^0.11.0", "react-native-sms-x": "^1.0.7", "react-native-splash-screen": "^3.2.0", "react-native-status-bar-height": "^2.4.0", "react-native-svg": "^9.13.6", "react-native-svg-charts": "^5.3.0", "react-native-svg-transformer": "^0.14.3", "react-native-svg-uri": "^1.2.3", "react-native-swiper": "^1.5.14", "react-native-tab-view": "^2.13.0", "react-native-uuid-generator": "^6.1.1", "react-native-vector-icons": "6.6.0", "react-native-viewpager": "^0.2.13", "react-native-webview": "^10.3.3", "react-navigation": "^4.1.1", "react-navigation-stack": "^1.9.3", "react-navigation-tabs": "^2.5.6", "rn-placeholder": "^3.0.1", "rn-secure-storage": "^2.0.3" }, "devDependencies": { "@babel/core": "^7.8.4", "@babel/runtime": "^7.8.4", "@react-native-community/eslint-config": "^0.0.5", "babel-jest": "^24.9.0", "babel-plugin-transform-remove-console": "^6.9.4", "eslint": "^6.5.1", "eslint-config-airbnb": "^18.0.1", "eslint-plugin-import": "^2.20.1", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.18.3", "eslint-plugin-react-hooks": "^1.7.0", "jest": "^24.9.0", "metro-react-native-babel-preset": "^0.58.0", "react-test-renderer": "16.11.0", "reactotron-react-native": "^5.0.0" }, "jest": { "preset": "react-native" }, "rnpm": { "assets": [ "./assets/fonts/" ] }, "hyperSdkIOSVersion": "2.0.19" } ``` #### `firebase.json` for react-native-firebase v6: ```json # N/A ```

iOS

Click To Expand

#### `ios/Podfile`: - [ ] I'm not using Pods - [x] I'm using Pods and my Podfile looks like: ```ruby # N/A ``` #### `AppDelegate.m`: ```objc // 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`: ```groovy // N/A ``` #### `android/app/build.gradle`: ```groovy // N/A ``` #### `android/settings.gradle`: ```groovy // N/A ``` #### `MainApplication.java`: ```java // N/A ``` #### `AndroidManifest.xml`: ```xml ```


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:** - `e.g. 5.4.3` - **`Firebase` module(s) you're using that has the issue:** - `e.g. Instance ID` - **Are you using `TypeScript`?** - `Y/N` & `VERSION`


mikehardy commented 3 years ago

Hi there! You skipped our issue template, I don't have the information required to help. You should make sure you are on current versions and comb prior issues as a first step though.

swapnilshah09 commented 3 years ago

Hi @mikehardy thanks for taking the time. I already tried to find my issue listed in the list of the existing issues but was unable to find anything similar to the problem that I am facing. Also I have updated the problem I am facing according to the template

mikehardy commented 3 years ago

Okay, the versions are visible now, and they are very out of date. Reproduce against current stable (v10 from yesterday, so you get firebase ios sdk 7.1.0) and hopefully it's fixed