Prevent wrong or null endpoints returned if updating apps with variant changed.#25
Conversation
… clear all old data and store the modified data immediately. If the Editor isn't applied, it will return wrong or null endpoint.
|
I agree that there's an issue here. We should call Instead of adding an Thoughts? And, thanks for your contribution! |
|
Taking the |
|
|
|
Yes. When updating an app with modified variants, what we normally need is to replace the existed endpoint variants with the new one. If we only take out the |
|
Yep, that's definitely the aim of the library. :) Sorry, maybe I didn't explain my idea very well. I'm not proposing to just remove the Did I misunderstand your comment? Is there an issue with this approach? Also, could I get accurate reproduction steps for the issue you're trying to fix? |
When endpoint configuration was changed, the shared preference should clear all old data and store the modified data immediately. If the Editor isn't applied, it will return wrong or null endpoint.