We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29a7fd9 commit cbe6f16Copy full SHA for cbe6f16
OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/internal/operations/impl/OperationRepo.kt
@@ -278,6 +278,10 @@ internal class OperationRepo(
278
val itemKey =
279
if (startingOp.operation.groupComparisonType == GroupComparisonType.CREATE) item.operation.createComparisonKey else item.operation.modifyComparisonKey
280
281
+ if (itemKey == "" && startingKey == "") {
282
+ throw Exception("Both comparison keys can not be blank!")
283
+ }
284
+
285
if (itemKey == startingKey) {
286
queue.remove(item)
287
ops.add(item)
0 commit comments