This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void openPrivacyDashboard() { | |
TestApplication.getInstance().startFlurryAgent(); | |
final FlurryPrivacySession.Callback callback = new FlurryPrivacySession.Callback() { | |
@Override | |
public void success() { | |
Log.d(TAG, "Privacy Dashboard opened successfully"); | |
} | |
@Override |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (FlurrySessionBuilder*) withDataSaleOptOut:(BOOL)value; //CCPA - the default value is false | |
- (FlurrySessionBuilder*) withAppVersion:(NSString *)value; | |
- (FlurrySessionBuilder*) withSessionContinueSeconds:(NSInteger)value; | |
- (FlurrySessionBuilder*) withCrashReporting:(BOOL)value; | |
- (FlurrySessionBuilder*) withLogLevel:(FlurryLogLevel) value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Flurry.setIAPReportingEnabled(true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Flurry setIAPReportingEnabled:YES]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Flurry.addSessionOrigin("SESSION_ORIGIN") | |
Flurry.addSessionOrigin("SESSION_ORIGIN", withDeepLink: "DEEPLINK") | |
Flurry.sessionProperties(["key": "value"]) | |
Flurry.addOrigin("ORIGIN_NAME", withVersion: "ORIGIN_VERSION") | |
Flurry.addOrigin("ORIGIN_NAME", withVersion: "ORIGIN_VERSION", withParameters: ["key": "value"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Flurry addSessionOrigin:@"SESSION_ORIGIN"]; | |
[Flurry addSessionOrigin:@"SESSION_ORIGIN" withDeepLink:@"DEEPLINK"]; | |
[Flurry sessionProperties:@{@"key": @"value"}]; | |
[Flurry addOrigin:@"ORIGIN_NAME" withVersion:@"ORIGIN_VERSION"]; | |
[Flurry addOrigin:@"ORIGIN_NAME" withVersion:@"ORIGIN_VERSION" withParameters:@{@"key": @"value"}]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Flurry.set(userId:"user_id") | |
Flurry.set(gender:"f") | |
Flurry.set(age:20) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Flurry setUserID:@"USER_ID"]; | |
[Flurry setAge:20]; | |
[Flurry setGender:@"f"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Methods in Flurry.Builder to initialize Flurry agent | |
void Build(string apiKey); | |
Flurry.Builder WithAppVersion(string appVersion); // iOS only. For Android, please use Flurry.setVersionName() instead. | |
Flurry.Builder WithCrashReporting(bool crashReporting); | |
Flurry.Builder WithContinueSessionMillis(long sessionMillis); | |
Flurry.Builder WithIncludeBackgroundSessionsInMetrics(bool includeBackgroundSessionsInMetrics); | |
Flurry.Builder WithLogEnabled(bool enableLog); | |
Flurry.Builder WithLogLevel(FlurrySDK.Flurry.LogLevel logLevel); // LogLevel = { VERBOSE, DEBUG, INFO, WARN, ERROR, ASSERT } | |
Flurry.Builder.WithMessaging(bool enableMessaging); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Flurry Agent settings; please update --> | |
<meta-data android:name="flurry_apikey" android:value="FLURRY_ANDROID_API_KEY" /> | |
<meta-data android:name="flurry_with_crash_reporting" android:value="true" /> | |
<meta-data android:name="flurry_with_continue_session_millis" android:value="10000L" /> | |
<meta-data android:name="flurry_with_include_background_sessions_in_metrics" android:value="true" /> | |
<meta-data android:name="flurry_with_log_enabled" android:value="true" /> | |
<meta-data android:name="flurry_with_log_level" android:value="2" /> | |
<meta-data android:name="flurry_with_messaging" android:value="true" /> |