Experiencing issues connecting Firestore documents on Android 15, even after implementing the necessary modules, can be frustrating. This guide specifically addresses the problem seen with Hyperos2 and provides a solution.
You might be seeing a 'not connected' error in the Firebase Cloud Messaging (FCM) diagnosis, and your app isn't initiating a connection. The root cause often lies in the way Hyperos2 manages background connections, and it requires a tweak in the system settings.
The solution involves granting Google Play Services permission to connect to the internet regardless of power or performance mode in Hyperceiler.
**Here are the steps to fix the issue:**
1. **Open Hyperceiler**
2. **Navigate to the Permissions section**
3. **Within the 'Power & Performance' settings, ensure that 'Allow Google Play Services to connect at all times' is enabled.**
This adjustment will permit your app to establish and maintain the Firestore connection even when running in power-saving modes, resolving the 'not connected' error.
This article is created by nurl and is licensed under the Creative Commons Attribution 4.0 International License.
All articles on this site, unless otherwise specified as reprints or sources, are either original works or translations by this site. Please ensure proper attribution before reprinting.