- Jun 6, 2020
- 11,559
- 4,422
Hi All
Has anyone come up with a clever way to overcome WIFI_SLEEP_POLICY_NEVER (this constant was deprecated in API level 30. This is no longer used by the platform.
We have also noticed that other apps (not ours) are show delays receiving notifications, one be a Door Bell app in our office.
Views and opinion's appreciated.
Regards
John.
Has anyone come up with a clever way to overcome WIFI_SLEEP_POLICY_NEVER (this constant was deprecated in API level 30. This is no longer used by the platform.
برای دیدن لینک ها باید ثبت نام کنید
). We have a requirement to have an always on connection to a server app, it's used a server socket, RAW TCP. Under Android 12+ the wifi connection seems to be put to sleep. The app will re-establish the connection, but the frequency is random when the phone sleeps the WIFI.We have also noticed that other apps (not ours) are show delays receiving notifications, one be a Door Bell app in our office.
Views and opinion's appreciated.
Regards
John.
برای دیدن لینک ها باید ثبت نام کنید