Skip to content

Commit 04e369f

Browse files
authored
Merge pull request #111 from Sh3rawi/fix_getBinder
Change getBinder to get bundle
2 parents 9bb5e5d + 6713c7e commit 04e369f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

android/src/main/java/io/fullstack/firestack/FirestackAnalytics.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,14 @@ private Bundle makeEventBundle(final String name, final Map<String, Object> map)
213213
String val = (String) map.get("flight_number");
214214
bundle.putString(FirebaseAnalytics.Param.FLIGHT_NUMBER, val);
215215
}
216-
216+
217217
Iterator<Map.Entry<String, Object>> entries = map.entrySet().iterator();
218218
while (entries.hasNext()) {
219219
Map.Entry<String, Object> entry = entries.next();
220-
if (bundle.getBinder(entry.getKey()) == null) {
220+
if (bundle.getBundle(entry.getKey()) == null) {
221221
bundle.putString(entry.getKey(), entry.getValue().toString());
222222
}
223223
}
224224
return bundle;
225225
}
226-
}
226+
}

0 commit comments

Comments
 (0)