[tests] import RNFirebase for parent directory rather than from npm file:.. syntax
This commit is contained in:
parent
e8854f1a2e
commit
11734e51bd
|
@ -9,7 +9,8 @@
|
|||
"dev": "npm run compile -- --watch",
|
||||
"lint": "eslint ./src",
|
||||
"publish_pages": "gh-pages -d public/",
|
||||
"watchcpx": "echo 'See https://github.com/wix/wml for watching changes. \r\n'",
|
||||
"tests-packager": "cd tests && npm run start",
|
||||
"tests-pod-install": "cd tests && npm run ios:pod:install",
|
||||
"flow": "flow"
|
||||
},
|
||||
"repository": {
|
||||
|
|
|
@ -55,7 +55,6 @@ buck-out/
|
|||
fastlane/report.xml
|
||||
fastlane/Preview.html
|
||||
fastlane/screenshots
|
||||
ios/Podfile
|
||||
ios/Podfile.lock
|
||||
ios/Pods/
|
||||
ios/ReactNativeFirebaseDemo.xcworkspace/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
rootProject.name = 'ReactNativeFirebaseDemo'
|
||||
include ':react-native-firebase'
|
||||
project(':react-native-firebase').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-firebase/android')
|
||||
project(':react-native-firebase').projectDir = new File(rootProject.projectDir, './../../android')
|
||||
include ':react-native-vector-icons'
|
||||
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
|
||||
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
install! 'cocoapods', :deterministic_uuids => false
|
||||
# Uncomment this line to define a global platform for your project
|
||||
# platform :ios, '9.0'
|
||||
|
||||
target 'ReactNativeFirebaseDemo' do
|
||||
platform :ios, '8.0'
|
||||
# Uncomment this line if you're using Swift or would like to use dynamic frameworks
|
||||
# use_frameworks!
|
||||
|
||||
# Pods for ReactNativeFirebaseDemo
|
||||
pod 'React', :path => '../node_modules/react-native', :subspecs => [
|
||||
'Core',
|
||||
'RCTActionSheet',
|
||||
'RCTAnimation',
|
||||
'RCTCameraRoll',
|
||||
'RCTGeolocation',
|
||||
'RCTImage',
|
||||
'RCTLinkingIOS',
|
||||
'RCTNetwork',
|
||||
'RCTPushNotification',
|
||||
'RCTSettings',
|
||||
'RCTText',
|
||||
'RCTVibration',
|
||||
'RCTWebSocket'
|
||||
# Add any other subspecs you want to use in your project
|
||||
]
|
||||
|
||||
pod 'Firebase/Auth'
|
||||
pod 'Firebase/Analytics'
|
||||
pod 'Firebase/AppIndexing'
|
||||
pod 'Firebase/Core'
|
||||
pod 'Firebase/Crash'
|
||||
pod 'Firebase/Database'
|
||||
pod 'Firebase/DynamicLinks'
|
||||
pod 'Firebase/Messaging'
|
||||
pod 'Firebase/RemoteConfig'
|
||||
pod 'Firebase/Storage'
|
||||
|
||||
pod 'RNFirebase', :path => './../../'
|
||||
end
|
|
@ -1,5 +1,5 @@
|
|||
import firebase from 'firebase';
|
||||
import RNfirebase from 'react-native-firebase';
|
||||
import RNfirebase from './../../';
|
||||
|
||||
import DatabaseContents from './tests/support/DatabaseContents';
|
||||
|
||||
|
|
Loading…
Reference in New Issue