Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
#125 Analytics API - 3.6.0 is dead, long live 3.6.1!
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Sep 7, 2016
1 parent 3cba822 commit 618c6cd
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<img src="docs/images/firebase-logo.png" width="116px" height="32px" alt="Firebase"/>

## 3.6.0 (2016, September 7)
## 3.6.1 (2016, September 7)

[Full changelog](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/compare/3.5.4...3.6.0)
[Full changelog](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/compare/3.5.4...3.6.1)

### SDK versions
If version numbers __changed__, clean your platform folders to avoid build errors.
Expand Down
10 changes: 5 additions & 5 deletions firebase.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,11 @@ firebase.analytics.logEvent = function (arg) {
}

var bundle = new android.os.Bundle();
if (arg.properties !== undefined) {
for (var p in arg.properties) {
var prop = arg.properties[p];
if (prop.value !== undefined) {
bundle.putString(prop.key, prop.value);
if (arg.parameters !== undefined) {
for (var p in arg.parameters) {
var param = arg.parameters[p];
if (param.value !== undefined) {
bundle.putString(param.key, param.value);
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions firebase.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,11 @@ firebase.analytics.logEvent = function (arg) {
}

var dic = NSMutableDictionary.new();
if (arg.properties !== undefined) {
for (var p in arg.properties) {
var prop = arg.properties[p];
if (prop.value !== undefined) {
dic.setObjectForKey(prop.value, prop.key);
if (arg.parameters !== undefined) {
for (var p in arg.parameters) {
var param = arg.parameters[p];
if (param.value !== undefined) {
dic.setObjectForKey(param.value, param.key);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-plugin-firebase",
"version": "3.6.0",
"version": "3.6.1",
"description" : "Fire. Base. Firebase!",
"main" : "firebase.js",
"nativescript": {
Expand Down

0 comments on commit 618c6cd

Please sign in to comment.