@react-native-firebase/analytics 14.1.0 → 14.2.0
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# [14.2.0](https://github.com/invertase/react-native-firebase/compare/v14.1.0...v14.2.0) (2021-12-31)
|
7
|
+
|
8
|
+
### Bug Fixes
|
9
|
+
|
10
|
+
- **analytics:** correct native types for extend_session parameter ([#5973](https://github.com/invertase/react-native-firebase/issues/5973)) ([23fdf61](https://github.com/invertase/react-native-firebase/commit/23fdf61a613c6cde6d5f3c807a7b13274fa3ab5a))
|
11
|
+
|
6
12
|
# [14.1.0](https://github.com/invertase/react-native-firebase/compare/v14.0.1...v14.1.0) (2021-12-18)
|
7
13
|
|
8
14
|
### Features
|
@@ -175,6 +175,10 @@ public class ReactNativeFirebaseAnalyticsModule extends ReactNativeFirebaseModul
|
|
175
175
|
((Bundle) item).putInt(FirebaseAnalytics.Param.QUANTITY, (int) number);
|
176
176
|
}
|
177
177
|
}
|
178
|
+
if (bundle.containsKey(FirebaseAnalytics.Param.EXTEND_SESSION)) {
|
179
|
+
double number = bundle.getDouble(FirebaseAnalytics.Param.EXTEND_SESSION);
|
180
|
+
bundle.putLong(FirebaseAnalytics.Param.EXTEND_SESSION, (long) number);
|
181
|
+
}
|
178
182
|
return bundle;
|
179
183
|
}
|
180
184
|
}
|
@@ -155,6 +155,10 @@ RCT_EXPORT_METHOD(setDefaultEventParameters
|
|
155
155
|
}];
|
156
156
|
newParams[kFIRParameterItems] = [newItems copy];
|
157
157
|
}
|
158
|
+
NSNumber *extendSession = [newParams valueForKey:kFIRParameterExtendSession];
|
159
|
+
if ([extendSession isEqualToNumber:@1]) {
|
160
|
+
newParams[kFIRParameterExtendSession] = @YES;
|
161
|
+
}
|
158
162
|
return [newParams copy];
|
159
163
|
}
|
160
164
|
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// generated by genversion
|
2
|
-
module.exports = '14.
|
2
|
+
module.exports = '14.2.0';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/analytics",
|
3
|
-
"version": "14.
|
3
|
+
"version": "14.2.0",
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
5
5
|
"description": "React Native Firebase - The analytics module provides out of the box support with Google Analytics for Firebase. Integration with the Android & iOS allows for in-depth analytical insight reporting, such as device information, location, user actions and more.",
|
6
6
|
"main": "lib/index.js",
|
@@ -22,10 +22,10 @@
|
|
22
22
|
"analytics"
|
23
23
|
],
|
24
24
|
"peerDependencies": {
|
25
|
-
"@react-native-firebase/app": "14.
|
25
|
+
"@react-native-firebase/app": "14.2.0"
|
26
26
|
},
|
27
27
|
"publishConfig": {
|
28
28
|
"access": "public"
|
29
29
|
},
|
30
|
-
"gitHead": "
|
30
|
+
"gitHead": "4557fbd914b3496e166318affa95ec4222515e9e"
|
31
31
|
}
|