MicrosoftDocs / appcenter-docs

content repo for Visual Studio App Center on docs.microsoft.com
https://docs.microsoft.com/appcenter/
Creative Commons Attribution 4.0 International
122 stars 322 forks source link

Contradictory Information about the offline cache #1009

Open yanxiaodi opened 4 years ago

yanxiaodi commented 4 years ago

I am wondering the behavior of the offline sync of AppCenter. On this page(https://docs.microsoft.com/en-us/appcenter/analytics/faq?source=docs#feedback), it says: If the app is offline, does the SDK store the logs and then send them once it is back online? Yes. If the app is offline, the SDK will store up to 300 logs in storage. Once the network connectivity is restored, the SDK will send these logs to the App Center backend.

But on this page(https://docs.microsoft.com/en-us/appcenter/sdk/analytics/xamarin), it says: Local storage size By default, the SDK stores up to 10MB of logs in the storage.

No internet access When there is no network connectivity, the SDK saves up to 10MB of logs in the local storage. Once the storage is full, the SDK will start discarding old logs to make room for the new logs. Once the device gets internet access back, the SDK will send logs in the batch of 50 or after every 3 seconds.

So which one is correct? Thanks.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

winnie commented 4 years ago

Thanks for pointing this out! App Center stores up to 10MB of logs for Android and iOS apps. There's no limit for Windows apps. I'll create a PR to update the docs.

King-of-Spades commented 4 years ago

@winnie did you already update this or do you have a linked PR for the update?