Commit eee1262
committed
Fix Android No Tags Null Pointer Exception
• In cases where a user had no tags and the app called getTags(), the serializer wrapper would attempt to iterate through keys on a null object causing a null pointer exception
• Fixed issue by adding an early return in the serializer1 parent 30045d0 commit eee1262
File tree
1 file changed
+3
-0
lines changed- android/src/main/java/com/onesignal/flutter
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
202 | 205 | | |
203 | 206 | | |
204 | 207 | | |
| |||
0 commit comments