Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Moving setLocationShared() operation to a pending task queue. #610

Closed
1 task done
shefich opened this issue May 26, 2023 · 2 comments
Closed
1 task done

Comments

@shefich
Copy link

shefich commented May 26, 2023

What happened?

OneSignal 3.0.10, after opening app by pressing push notification white popup appeared on the screen with such text:
"ERROR
Waiting for remote params. Moving setLocationShared() operation to a pending task queue."

Steps to reproduce?

1. Install OneSignal 3.0.10.
2. Use this code in project:
'IEnumerator Start () {

		yield return new WaitForSeconds(1.0f);

		OneSignal.Default.LogLevel   = LogLevel.Info;
		OneSignal.Default.AlertLevel = LogLevel.Error;

		OneSignal.Default.RequiresPrivacyConsent = true; // before init

		OneSignal.Default.Initialize("xxx-xxx-xxx-xxx-xxx");

		PromptForPush();
		OneSignal.Default.ShareLocation = false;
		OneSignal.Default.SetLaunchURLsInApp(false);
    }'
3. While app in background or closed(not sure) tap on received notification in order to open application.

What did you expect to happen?

I expected not to have such errors in project. While I understand that the popup is caused by these lines "OneSignal.Default.LogLevel = LogLevel.Info;
OneSignal.Default.AlertLevel = LogLevel.Error;", I think the issue exist, please correct me if I'm wrong.

Unity version

2021.3.25

OneSignal Unity SDK version

3.0.10

Platform

Android

Relevant log output

"ERROR
Waiting for remote params. Moving setLocationShared() operation to a pending task queue."

Code of Conduct

  • I agree to follow this project's Code of Conduct
@shepherd-l
Copy link
Contributor

shepherd-l commented May 29, 2023

Thanks for reporting, I'll try to reproduce this on my device

@shepherd-l
Copy link
Contributor

Apologies that this has gone stale. We have had no further reports of this. Please upgrade the OneSignal SDK if you or anyone is still having this issue. If this is still an issue, please open a new report with updated information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants