After 24 hours Firebase stops working but if I update pods it starts working again
<p>I am working on <strong>Firebase</strong> and I have one query. I have login through Firebase and have fired insert, update, delete queries. </p>

<p>Here is my code:</p>

<pre><code>[self.data observeEventType:FIRDataEventTypeChildAdded withBlock:^(FIRDataSnapshot * _Nonnull snapshot) {
        NSArray *array = snapshot.value;
        NSLog(@"%@",array);
    }];
</code></pre>

<p>This block works perfectly but after every <strong>24</strong> hours it stops calling. However, if I update <em>pod</em> then again it starts working.</p>