Socket
Socket
Sign inDemoInstall

react-native-flurry-analytics

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-flurry-analytics - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

ios/RNFlurryAnalytics.xcodeproj/project.xcworkspace/contents.xcworkspacedata

12

index.d.ts

@@ -25,7 +25,2 @@ declare module 'react-native-flurry-analytics' {

/**
* !!! method must be called prior to invoking __startSession, e.g. FlurryAnalytics.setEventLoggingEnabled(true);)
*/
setEventLoggingEnabled(enabled: boolean);
/**
* !!! method must be called prior to invoking startSession, e.g. FlurryAnalytics.setCrashReportingEnabled(true);

@@ -46,2 +41,7 @@ */

/**
* e.g. FlurryAnalytics.logPageView();
*/
logPageView();
/**
* e.g. FlurryAnalytics.setUserId('userId');

@@ -63,2 +63,2 @@ */

export default FlurryAnalytics;
}
}

@@ -110,2 +110,6 @@ import {

static logPageView() {
RNFlurryAnalytics.logPageView();
}
static setUserId(userId) {

@@ -138,11 +142,2 @@ if (!userId || typeof userId !== 'string') {

static setEventLoggingEnabled(enabled = true) {
if (startSessionIsCalled) {
mustCalledPriorStartSession('setEventLoggingEnabled');
return;
}
RNFlurryAnalytics.setEventLoggingEnabled(enabled);
}
static mock() {

@@ -149,0 +144,0 @@ const methods = Object.getOwnPropertyNames(FlurryAnalytics);

{
"name": "react-native-flurry-analytics",
"version": "2.0.1",
"version": "2.1.0",
"description": "React Native wrapper for Flurry Analytics",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -74,2 +74,3 @@ # React Native Flurry Analytics

```
# Required to preserve the Flurry SDK
-keep class com.flurry.** { *; }

@@ -79,4 +80,22 @@ -dontwarn com.flurry.**

-keepclasseswithmembers class * {
public (android.content.Context, android.util.AttributeSet, int);
public (android.content.Context, android.util.AttributeSet, int);
}
# Google Play Services library
-keep class * extends java.util.ListResourceBundle {
protected Object[ ][ ] getContents();
}
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
public static final *** NULL;
}
-keepnames @com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
@com.google.android.gms.common.annotation.KeepName *;
}
-keepnames class * implements android.os.Parcelable {
public static final ** CREATOR;
}
```

@@ -139,2 +158,8 @@

#### logPageView()
```javascript
FlurryAnalytics.logPageView();
```
### setUserId(string userId)

@@ -160,10 +185,2 @@

#### setEventLoggingEnabled(bool enabled)
__!!!__ method must be called prior to invoking __startSession
```javascript
FlurryAnalytics.setEventLoggingEnabled(true);
```
### For more information read official docs [iOS](http://flurry.github.io/flurry-ios-sdk/) [Android](http://flurry.github.io/flurry-android-sdk/)

@@ -170,0 +187,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc