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 2750d61 commit 6944777Copy full SHA for 6944777
OneSignalSDK/onesignal/src/main/java/com/onesignal/OneSignal.java
@@ -1594,6 +1594,12 @@ public void run() {
1594
};
1595
runSetLanguage.run();
1596
1597
+ // If either the app context is null or the waiting queue isn't done (to preserve operation order)
1598
+ if (appContext == null || shouldRunTaskThroughQueue()) {
1599
+ addTaskToQueue(new PendingTaskRunnable(runSetExternalUserId));
1600
+ return;
1601
+ }
1602
+
1603
if (shouldLogUserPrivacyConsentErrorMessageForMethodName("setLanguage()"))
1604
return;
1605
0 commit comments