notifo-io / sdk-xamarin

6 stars 1 forks source link

Do not cache settings. #14

Closed SebastianStehle closed 1 year ago

SebastianStehle commented 1 year ago

@CR4567 Again due to my bad discipline this PR does way too many things:

  1. It updates the notifo SDK to use the new option system and always gets settings from preferences.
  2. It introduces new options to use the shared name for preferences.
  3. It gets rid of the dependency to memory cache and uses a simple LRUCache with a 10MB limit for images (before it was unbound)
  4. It gets rid of a few classes and moves everything to extension methods for the INotifoMobilePush interface. Therefore NotifoIO.Current becomes the single entry point for all functions.