iPhone hot, many Requests?


#1

Hello Community :slight_smile:

I have a problem. My iPhone with a Ionic App (Many http Request to rest api - 2-3 Request per Page) would after a few minutes very hot(even if the app is only opened on the phone). Is this the Problem? How can i debug this? Some Info: I work with Page Lazy Load…

Here is my HTTP Request, which I use it to contact the API. Is this correct?

this.http.get(URL OF API).map(res => res.json()).subscribe(data => {
       this.posts = data;
});

Please help me :slight_smile:

  • RenĂ©

#2

here a image of xcode with --prod tag on build command