Add Google Fit Workout Shortcut #8

Closed
sriramsv wants to merge 1 commits from fit into master
sriramsv commented 2022-08-29 23:24:13 -04:00 (Migrated from github.com)

I have not been able to fully test this due to some missing permissions on the AIO launcher side:
I get an error which says the following:

@/storage/emulated/0/Android/data/ru.execbit.aiolauncher/files/google-fit.lua:28 vm error: java.lang.SecurityException: Permission Denial: starting Intent { act=vnd.google.fitness.TRACK cat=[android.intent.category.DEFAULT] typ=vnd.google.fitness.activity/other pkg=com.google.android.apps.fitness cmp=com.google.android.apps.fitness/.shared.gateway.FitGateway (has extras) } from ProcessRecord{6b57e5d 4684:ru.execbit.aiolauncher/u0a11} (pid=4684, uid=10011) requires android.permission.START_VIEW_PERMISSION_USAGE
stack traceback:
	/storage/emulated/0/Android/data/ru.execbit.aiolauncher/files/google-fit.lua:28: in function </storage/emulated/0/Android/data/ru.execbit.aiolauncher/files/google-fit.lua:21>
	[Java]: in ?

It would be great If you can add that permission request in your manifest and let me know

I have not been able to fully test this due to some missing permissions on the AIO launcher side: I get an error which says the following: ``` @/storage/emulated/0/Android/data/ru.execbit.aiolauncher/files/google-fit.lua:28 vm error: java.lang.SecurityException: Permission Denial: starting Intent { act=vnd.google.fitness.TRACK cat=[android.intent.category.DEFAULT] typ=vnd.google.fitness.activity/other pkg=com.google.android.apps.fitness cmp=com.google.android.apps.fitness/.shared.gateway.FitGateway (has extras) } from ProcessRecord{6b57e5d 4684:ru.execbit.aiolauncher/u0a11} (pid=4684, uid=10011) requires android.permission.START_VIEW_PERMISSION_USAGE stack traceback: /storage/emulated/0/Android/data/ru.execbit.aiolauncher/files/google-fit.lua:28: in function </storage/emulated/0/Android/data/ru.execbit.aiolauncher/files/google-fit.lua:21> [Java]: in ? ``` It would be great If you can add that permission request in your manifest and let me know
zobnin commented 2022-09-04 01:16:07 -04:00 (Migrated from github.com)

android.permission.START_VIEW_PERMISSION_USAGE permission has nothing to do with your case. It's about something else.

android.permission.START_VIEW_PERMISSION_USAGE permission has nothing to do with your case. It's about something else.

Pull request closed

Sign in to join this conversation.
No description provided.