[Firebase][Analytics] Updated to version 6.0.4 (Firebase v6.5.0)
* Updated Readme.md file
This commit is contained in:
Родитель
a788ebcb42
Коммит
3353c8a95d
10
Readme.md
10
Readme.md
|
@ -8,11 +8,11 @@ Xamarin creates and maintains Xamarin.iOS bindings for the Google APIs for iOS L
|
|||
|------------------------------------------------------------------------------|----------------------------------------------|
|
||||
| [Xamarin.Firebase.iOS.ABTesting][F.ABTesting.Name] | [2.0.0.1][F.ABTesting.Package] |
|
||||
| [Xamarin.Firebase.iOS.AdMob][F.AdMob.Name] | [7.38.0.0][F.AdMob.Package] |
|
||||
| [Xamarin.Firebase.iOS.Analytics][F.Analytics.Name] | [5.5.0.0][F.Analytics.Package] |
|
||||
| [Xamarin.Firebase.iOS.Analytics][F.Analytics.Name] | [6.0.4.0][F.Analytics.Package] |
|
||||
| [Xamarin.Firebase.iOS.Auth][F.Auth.Name] | [5.0.4.1][F.Auth.Package] |
|
||||
| [Xamarin.Firebase.iOS.CloudFirestore][F.CloudFirestore.Name] | [0.13.3.0][F.CloudFirestore.Package] |
|
||||
| [Xamarin.Firebase.iOS.CloudMessaging][F.CloudMessaging.Name] | [3.1.2.0][F.CloudMessaging.Package] |
|
||||
| [Xamarin.Firebase.iOS.Core][F.Core.Name] | [5.2.0.0][F.Core.Package] |
|
||||
| [Xamarin.Firebase.iOS.Core][F.Core.Name] | [6.1.0.0][F.Core.Package] |
|
||||
| [Xamarin.Firebase.iOS.Crashlytics][F.Crashlytics.Name] | [3.10.3.1][F.Crashlytics.Package] |
|
||||
| [Xamarin.Firebase.iOS.Database][F.Database.Name] | [5.0.3.0][F.Database.Package] |
|
||||
| [Xamarin.Firebase.iOS.DynamicLinks][F.DynamicLinks.Name] | [3.0.2.0][F.DynamicLinks.Package] |
|
||||
|
@ -52,14 +52,14 @@ Here's a table that shows in which global version is located each component of F
|
|||
|----------------------------------|:-----------------:|:--------------:|
|
||||
| Firebase A/B Testing | **2.0.0.1** | **5.8.1** |
|
||||
| Firebase AdMob | **7.38.0.0** | **5.16.0** |
|
||||
| Firebase Analytics | **5.5.0.0** | **5.16.0** |
|
||||
| Firebase Analytics | **6.0.4.0** | **6.5.0** |
|
||||
| Firebase Auth | **5.0.4.1** | **5.8.1** |
|
||||
| Firebase Cloud Firestore | **0.13.3.0** | **5.8.1** |
|
||||
| Firebase Cloud Messaging | **3.1.2.0** | **5.8.1** |
|
||||
| Firebase Core | **5.2.0.0** | **5.16.0** |
|
||||
| Firebase Core | **6.1.0.0** | **6.5.0** |
|
||||
| Firebase Database | **5.0.3.0** | **5.8.1** |
|
||||
| Firebase Dynamic Links | **3.0.2.0** | **5.8.1** |
|
||||
| Firebase Instance ID | **3.4.0.0** | **5.16.0** |
|
||||
| Firebase Instance ID | **4.2.1.0** | **6.5.0** |
|
||||
| Firebase Invites | **3.0.1.1** | **5.8.1** |
|
||||
| Firebase MLKit | **0.13.0.1** | **5.13.0* |
|
||||
| Firebase MLKit Common | **0.13.0.0** | **5.13.0* |
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Firebase artifacts available to be built. These artifacts generate NuGets.
|
||||
Artifact FIREBASE_AB_TESTING_ARTIFACT = new Artifact ("Firebase.ABTesting", "2.0.0.2", "8.0", ComponentGroup.Firebase, csprojName: "ABTesting");
|
||||
Artifact FIREBASE_AD_MOB_ARTIFACT = new Artifact ("Firebase.AdMob", "7.38.0", "8.0", ComponentGroup.Firebase, csprojName: "AdMob");
|
||||
Artifact FIREBASE_ANALYTICS_ARTIFACT = new Artifact ("Firebase.Analytics", "5.5.0", "8.0", ComponentGroup.Firebase, csprojName: "Analytics");
|
||||
Artifact FIREBASE_ANALYTICS_ARTIFACT = new Artifact ("Firebase.Analytics", "6.0.4", "8.0", ComponentGroup.Firebase, csprojName: "Analytics");
|
||||
Artifact FIREBASE_AUTH_ARTIFACT = new Artifact ("Firebase.Auth", "5.0.4.1", "8.0", ComponentGroup.Firebase, csprojName: "Auth");
|
||||
Artifact FIREBASE_CLOUD_FIRESTORE_ARTIFACT = new Artifact ("Firebase.CloudFirestore", "0.13.3", "8.0", ComponentGroup.Firebase, csprojName: "CloudFirestore");
|
||||
Artifact FIREBASE_CLOUD_MESSAGING_ARTIFACT = new Artifact ("Firebase.CloudMessaging", "3.1.2", "8.0", ComponentGroup.Firebase, csprojName: "CloudMessaging");
|
||||
|
@ -105,8 +105,8 @@ void SetArtifactsPodSpecs ()
|
|||
new PodSpec ("Firebase", "5.16.0", subSpecs: new [] { "AdMob" })
|
||||
};
|
||||
FIREBASE_ANALYTICS_ARTIFACT.PodSpecs = new [] {
|
||||
new PodSpec ("Firebase", "5.16.0", subSpecs: new [] { "Analytics" }),
|
||||
new PodSpec ("GoogleAppMeasurement", "5.5.0")
|
||||
new PodSpec ("Firebase", "6.5.0", subSpecs: new [] { "Analytics" }),
|
||||
new PodSpec ("GoogleAppMeasurement", "6.0.4")
|
||||
};
|
||||
FIREBASE_AUTH_ARTIFACT.PodSpecs = new [] {
|
||||
new PodSpec ("Firebase", "5.8.1", frameworkSource: FrameworkSource.Pods, frameworkName: "FirebaseAuth", targetName: "FirebaseAuth", subSpecs: new [] { "Auth" })
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<_FirebaseAnalyticsAssemblyName>Firebase.Analytics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</_FirebaseAnalyticsAssemblyName>
|
||||
<_FirebaseAnalyticsItemsFolder>FAnlytcs-5.5.0</_FirebaseAnalyticsItemsFolder>
|
||||
<_FirebaseAnalyticsItemsFolder>FAnlytcs-6.0.4</_FirebaseAnalyticsItemsFolder>
|
||||
<_FirebaseAnalyticsSDKBaseFolder>$(XamarinBuildDownloadDir)$(_FirebaseAnalyticsItemsFolder)\Frameworks\</_FirebaseAnalyticsSDKBaseFolder>
|
||||
<_GoogleAppMeasurementItemsFolder>GAppM-5.5.0</_GoogleAppMeasurementItemsFolder>
|
||||
<_GoogleAppMeasurementItemsFolder>GAppM-6.0.4</_GoogleAppMeasurementItemsFolder>
|
||||
<_GoogleAppMeasurementSDKBaseFolder>$(XamarinBuildDownloadDir)$(_GoogleAppMeasurementItemsFolder)\Frameworks\</_GoogleAppMeasurementSDKBaseFolder>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="('$(OutputType)'!='Library' OR '$(IsAppExtension)'=='True')">
|
||||
<XamarinBuildDownload Include="$(_FirebaseAnalyticsItemsFolder)">
|
||||
<Url>https://dl.google.com/dl/cpdc/5b53263819f02844/FirebaseAnalytics-5.5.0.tar.gz</Url>
|
||||
<Url>https://dl.google.com/dl/cpdc/2717022184840456/FirebaseAnalytics-6.0.4.tar.gz</Url>
|
||||
<Kind>Tgz</Kind>
|
||||
</XamarinBuildDownload>
|
||||
<NativeReference Include="$(_FirebaseAnalyticsSDKBaseFolder)FirebaseAnalytics.framework">
|
||||
|
@ -30,7 +30,7 @@
|
|||
</NativeReference>
|
||||
|
||||
<XamarinBuildDownload Include="$(_GoogleAppMeasurementItemsFolder)">
|
||||
<Url>https://dl.google.com/dl/cpdc/904e1335aa1a48c6/GoogleAppMeasurement-5.5.0.tar.gz</Url>
|
||||
<Url>https://dl.google.com/dl/cpdc/e025a69c2394726b/GoogleAppMeasurement-6.0.4.tar.gz</Url>
|
||||
<Kind>Tgz</Kind>
|
||||
</XamarinBuildDownload>
|
||||
<NativeReference Include="$(_GoogleAppMeasurementSDKBaseFolder)GoogleAppMeasurement.framework">
|
||||
|
|
|
@ -30,34 +30,21 @@ namespace Firebase.Analytics
|
|||
[Export ("setUserID:")]
|
||||
void SetUserId ([NullAllowed] string userId);
|
||||
|
||||
[Obsolete ("Use SetUserId method instead. This will be removed in future versions.")]
|
||||
[Static]
|
||||
[Wrap ("SetUserId (userId)")]
|
||||
void SetUserID ([NullAllowed] string userId);
|
||||
|
||||
// This method comes from a category (FIRAnalytics+AppDelegate.h)
|
||||
// +(void)handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(void (^)(void))completionHandler;
|
||||
[Static]
|
||||
[Export ("handleEventsForBackgroundURLSession:completionHandler:")]
|
||||
void HandleEventsForBackgroundUrlSession (string identifier, [NullAllowed] Action completionHandler);
|
||||
|
||||
// This method comes from a category (FIRAnalytics+AppDelegate.h)
|
||||
// +(void)handleOpenURL:(NSURL *)url;
|
||||
[Static]
|
||||
[Export ("handleOpenURL:")]
|
||||
void HandleOpenUrl (NSUrl url);
|
||||
|
||||
// This method comes from a category (FIRAnalytics+AppDelegate.h)
|
||||
// +(void)handleUserActivity:(id)userActivity;
|
||||
[Static]
|
||||
[Export ("handleUserActivity:")]
|
||||
void HandleUserActivity (NSObject userActivity);
|
||||
|
||||
// + (void)setScreenName:(nullable NSString *)screenName screenClass:(nullable NSString *)screenClassOverride;
|
||||
[Static]
|
||||
[Export ("setScreenName:screenClass:")]
|
||||
void SetScreenNameAndClass ([NullAllowed] string screenName, [NullAllowed] string screenClassOverride);
|
||||
|
||||
// +(void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled;
|
||||
[Static]
|
||||
[Export ("setAnalyticsCollectionEnabled:")]
|
||||
void SetAnalyticsCollectionEnabled (bool analyticsCollectionEnabled);
|
||||
|
||||
// +(void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval;
|
||||
[Static]
|
||||
[Export ("setSessionTimeoutInterval:")]
|
||||
void SetSessionTimeoutInterval (double sessionTimeoutInterval);
|
||||
|
||||
// + (NSString *)appInstanceID;
|
||||
[Static]
|
||||
[Export ("appInstanceID")]
|
||||
|
@ -67,5 +54,24 @@ namespace Firebase.Analytics
|
|||
[Static]
|
||||
[Export ("resetAnalyticsData")]
|
||||
void ResetAnalyticsData ();
|
||||
|
||||
///
|
||||
/// This method comes from a category (FIRAnalytics+AppDelegate.h)
|
||||
///
|
||||
|
||||
// +(void)handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(void (^)(void))completionHandler;
|
||||
[Static]
|
||||
[Export ("handleEventsForBackgroundURLSession:completionHandler:")]
|
||||
void HandleEventsForBackgroundUrlSession (string identifier, [NullAllowed] Action completionHandler);
|
||||
|
||||
// +(void)handleOpenURL:(NSURL *)url;
|
||||
[Static]
|
||||
[Export ("handleOpenURL:")]
|
||||
void HandleOpenUrl (NSUrl url);
|
||||
|
||||
// +(void)handleUserActivity:(id)userActivity;
|
||||
[Static]
|
||||
[Export ("handleUserActivity:")]
|
||||
void HandleUserActivity (NSObject userActivity);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -91,11 +91,13 @@ namespace Firebase.Analytics
|
|||
public static NSString VirtualCurrencyName { get; } = new NSString ("virtual_currency_name");
|
||||
public static NSString LevelName { get; } = new NSString ("level_name");
|
||||
public static NSString Success { get; } = new NSString ("success");
|
||||
public static NSString ExtendSession { get; } = new NSString ("extend_session");
|
||||
}
|
||||
|
||||
public static class UserPropertyNamesConstants
|
||||
{
|
||||
public static NSString SignUpMethod { get; } = new NSString ("sign_up_method");
|
||||
public static NSString AllowAdPersonalizationSignals { get; } = new NSString ("allow_personalized_ads");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче