react-native-google-signin / google-signin

Google Sign-in for your React Native applications
https://react-native-google-signin.github.io/
MIT License
3.12k stars 877 forks source link

Unable to find a specification for `GoogleSignIn (~> 7.0.0)` depended upon by `RNGoogleSignin` #1269

Closed SagarJadhavWebDev closed 2 months ago

SagarJadhavWebDev commented 2 months ago
"dependencies": {
    "@good-react-native/keyboard-avoider": "^1.1.4",
    "@miblanchard/react-native-slider": "^2.3.1",
    "@react-native-async-storage/async-storage": "^1.21.0",
    "@react-native-clipboard/clipboard": "^1.13.2",
    "@react-native-community/blur": "^4.4.0",
    "@react-native-community/checkbox": "^0.5.16",
    "@react-native-community/netinfo": "^9.4.1",
    "@react-native-firebase/analytics": "^18.5.0",
    "@react-native-firebase/app": "^18.5.0",
    "@react-native-firebase/crashlytics": "^18.5.0",
    "@react-native-firebase/messaging": "^18.5.0",
    "@react-native-google-signin/google-signin": "^11.0.0",
    "@react-navigation/bottom-tabs": "^6.5.11",
    "@react-navigation/native": "^6.1.7",
    "@react-navigation/native-stack": "^6.9.13",
    "@reduxjs/toolkit": "^1.9.5",
    "@sayem314/react-native-keep-awake": "^1.2.2",
    "@types/react-native": "^0.72.2",
    "@types/react-native-snap-carousel": "^3.8.5",
    "agora-react-native-rtm": "^1.5.1",
    "aws-amplify": "^5.3.11",
    "aws-sdk": "^2.1473.0",
    "deprecated-react-native-prop-types": "^5.0.0",
    "lodash": "^4.17.21",
    "pinar": "^0.12.2",
    "react": "18.2.0",
    "react-native": "0.72.6",
    "react-native-agora": "4.2.5",
    "react-native-compressor": "^1.8.0",
    "react-native-date-picker": "^4.3.0",
    "react-native-device-info": "^10.11.0",
    "react-native-fs": "^2.20.0",
    "react-native-gesture-handler": "^2.12.1",
    "react-native-image-picker": "^7.0.0",
    "react-native-linear-gradient": "^2.8.3",
    "react-native-localize": "^3.0.4",
    "react-native-mime-types": "^2.4.0",
    "react-native-moengage": "^8.5.3",
    "react-native-moengage-cards": "^1.0.1",
    "react-native-moengage-geofence": "^3.4.3",
    "react-native-moengage-inbox": "^2.4.3",
    "react-native-permissions": "^3.9.0",
    "react-native-reanimated": "^3.6.1",
    "react-native-safe-area-context": "^4.7.2",
    "react-native-screens": "^3.25.0",
    "react-native-share": "^10.1.0",
    "react-native-signature-canvas": "^4.7.2",
    "react-native-snap-carousel": "^3.9.1",
    "react-native-svg": "^13.13.0",
    "react-native-vector-icons": "^10.0.2",
    "react-native-video": "^5.2.1",
    "react-native-video-player": "^0.14.0",
    "react-native-webview": "^13.8.4",
    "react-redux": "^8.1.2",
    "rn-fetch-blob": "^0.12.0",
    "yup": "^1.2.0"
  },
# Resolve react_native_pods.rb with node to allow for hoisting
def node_require(script)
  # Resolve script with node to allow for hoisting
  require Pod::Executable.execute_command('node', ['-p',
    "require.resolve(
      '#{script}',
      {paths: [process.argv[1]]},
    )", __dir__]).strip
end

node_require('react-native/scripts/react_native_pods.rb')
node_require('react-native-permissions/scripts/setup.rb')

platform :ios, 13
prepare_react_native_project!
source 'https://github.com/Banuba/specs.git'
source 'https://github.com/sdk-banuba/banuba-sdk-podspecs.git'
source 'https://github.com/react-native-google-signin/google-signin.git'

setup_permissions([
  # 'AppTrackingTransparency',
  # 'BluetoothPeripheral',
  # 'Calendars',
  'Camera',
  # 'Contacts',
  # 'FaceID',
  # 'LocationAccuracy',
  # 'LocationAlways',
  # 'LocationWhenInUse',
  'MediaLibrary',
  'Microphone',
  # 'Motion',
  'Notifications',
  'PhotoLibrary',
  'PhotoLibraryAddOnly',
  # 'Reminders',
  # 'SpeechRecognition',
  # 'StoreKit'
])
# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
#
# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
# ```js
# module.exports = {
#   dependencies: {
#     ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
  Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
  use_frameworks! :linkage => linkage.to_sym
end

target 'studio' do
  config = use_native_modules!
  banuba_sdk_version = '1.32.2'
  # Flags change depending on the env values.
  flags = get_default_flags()
  pod 'RNFBCrashlytics', :path => '../node_modules/@react-native-firebase/crashlytics'
  pod 'RNPermissions', :path => '../node_modules/react-native-permissions'
  pod 'Firebase', :modular_headers => true
  pod 'FirebaseCore', :modular_headers => true
  pod 'GoogleUtilities', :modular_headers => true
  pod 'FirebaseSessions', :modular_headers => true
  pod 'FirebaseCoreExtension', :modular_headers => true
  pod 'GoogleDataTransport', :modular_headers => true
  pod 'FirebaseInstallations', :modular_headers => true
  pod 'nanopb', :modular_headers => true
  pod 'BanubaFiltersAgoraExtension', '2.4.1'
  pod 'BanubaSdk', '1.9.0'
  pod 'RNFS', :path => '../node_modules/react-native-fs'
  pod 'MoEngage-iOS-SDK'
  pod 'react-native-webview', :path => '../node_modules/react-native-webview'
  # pod 'GoogleSignIn', '7.0.0' 
  use_react_native!(
    :path => config[:reactNativePath],
    # Hermes is now enabled by default. Disable by setting this flag to false.
    :hermes_enabled => true,
    :fabric_enabled => flags[:fabric_enabled],
    # Enables Flipper.
    #
    # Note that if you have use_frameworks! enabled, Flipper will not work and
    # you should disable the next line.
    :flipper_configuration => flipper_config,
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

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

  post_install do |installer|
    # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
    react_native_post_install(
      installer,
      config[:reactNativePath],
      :mac_catalyst_enabled => false
    )
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
  end
end
github-actions[bot] commented 2 months ago

:wave: @SagarJadhavWebDev, sorry you're having an issue. As the issue template explains, we require that you provide a runnable example that reproduces your issue (please read the issue template). The reason is that maintainers do not have time to try reproduce bugs themselves. Please try to minimize the superfluous code and focus only on reproducing the bug. Please create a new issue with this and we'll be happy to review it! If you're hitting a hard wall, you may consider paid assistance.