[crashlytics][ios] Fix a couple of minor issues
This commit is contained in:
parent
865944d9a9
commit
c8d82207f4
|
@ -454,7 +454,7 @@
|
|||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"${BUILT_PRODUCTS_DIR}",
|
||||
"${SRCROOT}/../../../ios/Pods/Crashlytics/Frameworks",
|
||||
"${SRCROOT}/../../../ios/Pods/Crashlytics/Frameworks/iOS",
|
||||
"${SRCROOT}/../../../ios/Pods/Fabric/Frameworks",
|
||||
"${SRCROOT}/../../../ios/Pods/FirebaseAnalytics/Frameworks",
|
||||
"${SRCROOT}/../../../ios/Pods/FirebaseAuth/Frameworks",
|
||||
|
@ -474,9 +474,9 @@
|
|||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../../react-native/React/**",
|
||||
"${SRCROOT}/../../../ios/Crashlytics/**",
|
||||
"${SRCROOT}/../../../ios/Fabric/**",
|
||||
"${SRCROOT}/../../../ios/Firebase/**",
|
||||
"${SRCROOT}/../../../ios/Pods/Headers/Public/Crashlytics",
|
||||
"${SRCROOT}/../../../ios/Pods/Headers/Public/Fabric",
|
||||
"${SRCROOT}/../../../ios/Pods/Firebase/**",
|
||||
);
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||
|
@ -499,7 +499,7 @@
|
|||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"${BUILT_PRODUCTS_DIR}",
|
||||
"${SRCROOT}/../../../ios/Pods/Crashlytics/Frameworks",
|
||||
"${SRCROOT}/../../../ios/Pods/Crashlytics/Frameworks/iOS",
|
||||
"${SRCROOT}/../../../ios/Pods/Fabric/Frameworks",
|
||||
"${SRCROOT}/../../../ios/Pods/FirebaseAnalytics/Frameworks",
|
||||
"${SRCROOT}/../../../ios/Pods/FirebaseAuth/Frameworks",
|
||||
|
@ -519,9 +519,9 @@
|
|||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../../react-native/React/**",
|
||||
"${SRCROOT}/../../../ios/Crashlytics/**",
|
||||
"${SRCROOT}/../../../ios/Fabric/**",
|
||||
"${SRCROOT}/../../../ios/Firebase/**",
|
||||
"${SRCROOT}/../../../ios/Pods/Headers/Public/Crashlytics",
|
||||
"${SRCROOT}/../../../ios/Pods/Headers/Public/Fabric",
|
||||
"${SRCROOT}/../../../ios/Pods/Firebase/**",
|
||||
);
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||
|
|
|
@ -238,7 +238,11 @@ class FirebaseCore {
|
|||
// default to the 'DEFAULT' app if no arg provided - will throw an error
|
||||
// if default app not initialized
|
||||
else if (!_app) _app = this.app(INTERNALS.STRINGS.DEFAULT_APP_NAME);
|
||||
return INTERNALS.APPS[_app._name][namespace](_app);
|
||||
const firebaseApp = INTERNALS.APPS[_app._name];
|
||||
if (namespace === 'crashlytics') {
|
||||
return firebaseApp.fabric[namespace](_app);
|
||||
}
|
||||
return firebaseApp[namespace](_app);
|
||||
};
|
||||
|
||||
return Object.assign(getNamespace, statics, {
|
||||
|
|
Loading…
Reference in New Issue