File tree Expand file tree Collapse file tree 4 files changed +9881
-8
lines changed
sdk/src/main/java/com/batch/android Expand file tree Collapse file tree 4 files changed +9881
-8
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ object ProjectConsts {
1111}
1212
1313object SDKConsts {
14- const val VERSION = " 1.20.0 "
14+ const val VERSION = " 1.20.1 "
1515 const val API_LEVEL = 61
1616 const val MESSAGING_API_LEVEL = 12
1717
Original file line number Diff line number Diff line change @@ -492,13 +492,8 @@ public BatchUserDataEditor clearTagCollection(final @NonNull String collection)
492492 * This action cannot be undone.
493493 */
494494 public void save () {
495- UserOperation userUpdateOperation = getUserUpdateOperation ();
496- if (userUpdateOperation != null ) {
497- operationQueue .addFirstOperation (userUpdateOperation );
498- }
499- UserModuleProvider
500- .get ()
501- .addOperationQueueAndSubmit (500 , new UserOperationQueue (operationQueue .popOperations ()));
495+ final List <UserOperation > pendingOperationQueue = popOperationQueue ();
496+ UserModuleProvider .get ().addOperationQueueAndSubmit (500 , new UserOperationQueue (pendingOperationQueue ));
502497 }
503498
504499 Promise <Void > saveSync () {
Original file line number Diff line number Diff line change 1+ 06ba3d9590f88cdb160587cf96d5b57614422236 public-sdk/Batch.aar
You can’t perform that action at this time.
0 commit comments