Whenever we set showToast to true it would freeze and the CPU would go to 100%. Our investigation showed that the library was repeatedly calling onAppearAction from onReceive.
Upon fixing that problem we encountered a different one — the text in the .alert mode was not wrapped by SwiftUI. Removing .fixedSize fixed the issue and did not seem to introduce any side effects.
Hello!
First of all thank you for the great lib, we find it really helpful.
We stumbled upon an issue on iOS 13 where the app would hang when we tried to display an alert. Here's the code we used:
Whenever we set
showToast
totrue
it would freeze and the CPU would go to 100%. Our investigation showed that the library was repeatedly callingonAppearAction
fromonReceive
.Upon fixing that problem we encountered a different one — the text in the
.alert
mode was not wrapped by SwiftUI. Removing.fixedSize
fixed the issue and did not seem to introduce any side effects.Attaching the screenshot of the clipping.
Thanks again,
Andy