Comments (4)
Not sure if it was this or the last update, but today I got all the data + heart rate with the Forerunner 235. Previously it was failing.
I removed all the watchfaces I had installed but weren't used, so I only have the one called "Rails" now, and worked perfectly last night.
from sleep-as-android-garmin-addon.
Thank for the hint. I had the same problem with the TimeStyle watchface. I also had to uninstall the watch completely to fix the problem.
I will try to contact the developer of the watchface. There must be some kind of background service that is causing this problem.
from sleep-as-android-garmin-addon.
Update: I still have the problem, even when no other apps are installed. I guess it just happens more often if other apps are installed.
I've tried to find out what is stopping the application by adding a debug log in the onStop method and logged the state. Here is the value of the state dictionary when the app is stopped:
{symbol (8391788)=>true}
Sadly I have no idea what this means and I also did not find anthing about this in the documentation from Garmin. Does anyone have an idea what this means?
Edit: I just found out that this number is the :suspend symbol. Also when the app is started again the number 8391787 is passed to the onStart state dictionary which is the :resume flag.
The only thing I found regarding this suspend symbol is the following from the API docs:
If true, the app has been suspended and the current state can be resumed at a later time.
But I've found no information how the app can be started again.
from sleep-as-android-garmin-addon.
I guess I found out what is causing the app to close.
Apparently the watch has a touchscreen gesture that closes the app when the touchscreen is covered completely with the hand. So when I place my arm on the screen during sleep the app just closes because of this gesture.
I've already disabled the touchscreen during activity, but then this gesture is still working. I have to disable the touchscreen compleletey to disable this.
Is it somehow possible to disable this specific gesture only?
from sleep-as-android-garmin-addon.
Related Issues (20)
- Add MARQ Athelete device HOT 1
- Don't trigger Backlight on movement/gesture (Fenix 6 / Power Profiles) HOT 2
- No response since Android 10 HOT 2
- remove tones HOT 1
- Build failed HOT 3
- Sleep -> Starting ... all-nighter
- Alarm starts right after starting tracking HOT 3
- Disable alarm in app settings
- show pulse while sleep tracking
- Watch Crashes (Reboots) when Selecting Open Sleep This Time or Every Time on Bedtime Notification HOT 4
- sleep apnea, low respiratory rate HOT 4
- Additional device support HOT 2
- Unable to Debug the watch app using the ConnectIQ Simulator and the Android Emulator
- Add new Garmin models HOT 2
- New Watch Request - Forerunner 630 HOT 1
- Streaming acceleromer data? HOT 9
- Rename Graphs in sidebar
- High Battery Consumption and Connection Issues with Garmin Addon - Suggestion to Explore Companion SDK HOT 2
- New Watch: Venu 3 HOT 2
- Instinct 2X Solar - SaA Alarm Dismiss stops alert on watch, but Snooze does not HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sleep-as-android-garmin-addon.