Open sandeepbol opened 6 years ago
I got around the issue by moving Armchair.userDidSignificantEvent(true) to viewDidAppear:
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
if canShowRatingPrompt {
Armchair.userDidSignificantEvent(true)
canShowRatingPrompt = false
}
}
But will be happy to hear what might be more clean and best approach.
I am notifying Armchair of a significant event from a callback of a async request as follows
but Alertcontroller is not shown and debugger shows