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

Using MobileCenter.Start() in OnLaunched() causes errors in logs UWP SDK #396

Closed
snrnats opened this issue Aug 9, 2017 · 1 comment
Closed
Assignees
Labels

Comments

@snrnats
Copy link
Contributor

snrnats commented Aug 9, 2017

In MobileCenter UWP documentation you suggest adding MobileCenter.Start() in the application OnLaunched() method. But it will produce an error to log if you try to start an application while it's already running or suspended. E.g. clicking the app tile or starting from application list when the app is running.
[MobileCenter] ERROR: Failed to start services Microsoft.Azure.Mobile.MobileCenterException: Multiple attempts to configure Mobile Center at Microsoft.Azure.Mobile.MobileCenter.InstanceConfigure(String appSecretOrSecrets) at Microsoft.Azure.Mobile.MobileCenter.StartInstanceAndConfigure(String appSecret, Type[] services)

@achocron
Copy link
Contributor

This is actually harmless; thanks for pointing it out. We definitely need to show a better log in this case.

@guperrot guperrot added the bug label Aug 10, 2017
@achocron achocron reopened this Aug 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants