Posts

Post not yet marked as solved
3 Replies
Thanks for writing back! 🙂In my second code snippet, line 4 & 7 never executes same like in the code snippet 1, handler of requestPermissionWithHandler method never get called.I finally found the issue, the issue was not in the implementation of ConditionEvaluator. It was in the thread calling below function.+ (void)evaluateConditionsWithcompletionHandler:(void (^) (NSError *_Nullable))completionIn the calling thread, I had another dispatch_group_enter call to other dispatch group and waiting for that group to finish which was blocking my current thread to execute.I appreciate your prompt response!