When screen is off, my mobile disconnect from internet in about 15 min (not sure how this mode is called and is it implemented on OS level or is it device specific). After I turn on mobile, it reconnects immediately.
Sure I can change this behavior in settings, but I want that my app is universal and works on all devices without too much user interventions. Problem is that my app is depending on fresh data every five minutes.
Can I force reconnect to internet (by code in my app) for this case ?
PS: i'm aware about push framework, but it looks overkill and too complicated at the moment.
Sure I can change this behavior in settings, but I want that my app is universal and works on all devices without too much user interventions. Problem is that my app is depending on fresh data every five minutes.
Can I force reconnect to internet (by code in my app) for this case ?
PS: i'm aware about push framework, but it looks overkill and too complicated at the moment.