aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Core/Private
diff options
context:
space:
mode:
authorGravatar Benoit St-Pierre <bstpierre@google.com>2018-02-26 11:23:44 -0500
committerGravatar Benoit St-Pierre <bstpierre@google.com>2018-02-26 11:23:44 -0500
commitf851ca9ffaf4dd9fd6b78ce5c96305c42e8651eb (patch)
treec02e34355679e3a5c35739447185523bd07c2abc /Firebase/Core/Private
parentdfda142503e0daffeab67e996df03324e1f372b3 (diff)
Add third-party library version registration
This will allow us to collect the version of platform libraries that developers use in conjunction with Firebase.
Diffstat (limited to 'Firebase/Core/Private')
-rw-r--r--Firebase/Core/Private/FIRAppInternal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Firebase/Core/Private/FIRAppInternal.h b/Firebase/Core/Private/FIRAppInternal.h
index 447d151..bbf0477 100644
--- a/Firebase/Core/Private/FIRAppInternal.h
+++ b/Firebase/Core/Private/FIRAppInternal.h
@@ -134,6 +134,22 @@ typedef NSString *_Nullable (^FIRAppGetUIDImplementation)(void);
*/
+ (BOOL)isDefaultAppConfigured;
+
+/**
+ * Registers a given third-party library with the given version number to be reported for
+ * analyitcs.
+ *
+ * @param library Name of the library
+ * @param version Version of the library
+ */
++ (void)registerLibrary:(nonnull NSString *)library withVersion:(nonnull NSString *)version \
+ NS_SWIFT_NAME(registerLibrary(_:version:));
+
+/**
+ * A concatenated string representing all the third-party libraries and version numbers.
+ */
++ (NSString *)firebaseUserAgent;
+
/**
* Used by each SDK to send logs about SDK configuration status to Clearcut.
*/