mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-11 11:29:13 +08:00
[crashlytics] Fixes: #1643, #1848, #1964, #1920, #1884, #1783, #1966, #1940, #1447 Features/Bugs Todo: Capture JS Exceptions with stack traces automatically Capture Unhandled Promise Rejections with stack traces automatically [Android] .crash() not captured in debug due to RN RedBox; see #1921 Support advanced user identifier features [Android] Enable Crashlyics NDK reporting by default (gist) Support toggling native crash logging off/on (e.g. disable in DEV) Support toggling JS crash logging off/on (e.g. disable in DEV) [ios] Static framework support for all modules [ios] Implement CocoaPods Firebase RN modules auto-loader script Implement firebase.json config loader; Android & iOS [tests] Fix false positive tests that catch errors (tests did not check that errors actually threw) [android] Cleanup manifest permissions for all modules [android] Implement Content provider base class [android] Investigate/fix issue where setDataCollectionDefaultEnabled is false by default in Firebase - it disables Crashlytics reporting
39 lines
1.2 KiB
Ruby
39 lines
1.2 KiB
Ruby
require_relative '../node_modules/@react-native-firebase/app/pod_config'
|
|
|
|
install! 'cocoapods', :deterministic_uuids => false
|
|
|
|
target 'testing' do
|
|
platform :ios, '10.0'
|
|
|
|
use_frameworks!
|
|
|
|
react_native_path = "../node_modules/react-native"
|
|
pod 'React', :path => "#{react_native_path}", :subspecs => [
|
|
'Core',
|
|
'CxxBridge',
|
|
'DevSupport',
|
|
'RCTText',
|
|
'RCTNetwork',
|
|
'RCTImage',
|
|
'RCTWebSocket',
|
|
]
|
|
|
|
pod "yoga", :path => "#{react_native_path}/ReactCommon/yoga"
|
|
pod 'DoubleConversion', :podspec => "#{react_native_path}/third-party-podspecs/DoubleConversion.podspec"
|
|
pod 'glog', :podspec => "#{react_native_path}/third-party-podspecs/glog.podspec"
|
|
pod 'Folly', :podspec => "#{react_native_path}/third-party-podspecs/Folly.podspec"
|
|
pod 'Jet', :path => '../node_modules/jet/ios'
|
|
|
|
react_native_firebase!
|
|
end
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['GCC_WARN_INHIBIT_ALL_WARNINGS'] = "YES"
|
|
config.build_settings['GCC_TREAT_WARNINGS_AS_ERRORS'] = "NO"
|
|
config.build_settings['GCC_WARN_64_TO_32_BIT_CONVERSION'] = "NO"
|
|
end
|
|
end
|
|
end
|