configcat / react-sdk

ConfigCat SDK for React. ConfigCat is a hosted feature flag service: https://configcat.com. Manage feature toggles across frontend, backend, mobile, desktop apps. Alternative to LaunchDarkly. Management app + feature flag SDKs.
MIT License
12 stars 7 forks source link

Cache latin1 fix #45

Closed laliconfigcat closed 11 months ago

laliconfigcat commented 11 months ago

Describe the purpose of your pull request

The localstorage cache is not working with non Latin 1 characters. Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.

Related issues (only if applicable)

Provide links to issues relating to this pull request

Requirement checklist (only if applicable)

sonarcloud[bot] commented 11 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud