18
Views
4
Comments
[Health & Fitness Plugin] 'Health & Fitness Plugin - Demo'  error
Question
health-fitness-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile

Dear customer support,

I am writing to report an issue I encountered while attempting to run the 'Health & Fitness Plugin - Demo' application.

When I launched the demo app, I received an error message indicating that the application requires certain dependencies to function properly. Specifically, it mentioned:

  • Sleep

Upon further investigation, I discovered that 'Sleep' is actually a server action within the application.

I would greatly appreciate your guidance on how to resolve this issue and ensure that the 'Sleep' server action is properly configured and available for the demo app to function as intended.

Could you please provide me with instructions on how to set up or enable the 'Sleep' server action correctly? If there are any specific configurations or settings I need to modify, kindly let me know.

Additionally, I wanted to inquire about the compatibility of the demo app with Progressive Web Apps (PWA). Is it possible that the demo application cannot be run as a PWA? If so, could you please clarify the limitations or requirements for running the 'Health & Fitness Plugin - Demo' application as a PWA?

If there are any logs, error messages, or additional information that I can provide to assist in troubleshooting these problems, please let me know, and I will be happy to gather and share those details with you.

Thank you for your attention to these matters and your assistance in resolving these issues. I am eager to get the 'Health & Fitness Plugin - Demo' application up and running smoothly, both in terms of the 'Sleep' server action and its compatibility with PWA.

Best regards,

Health.&.Fitness.Plugin-2.0.0_O11 - Demo.oap
2021-02-17 18-31-05
Alexandre Jacinto
Staff

Hi there!

First of all, thank you for your interest in our Health and Fitness plugin.
What version of the plugin and demo app are you using? Also, did you run the demo in Android or iOS? 

For context, "Sleep" is one of the variables that the Health and Fitness plugin exposes, and the end-user needs to allow access to it when requested, so that the app functions properly. If you don't want access to this variable to be required, you can remove it from the "RequestPermissions" parameters.


Regarding PWA support, the Health and Fitness plugin uses native libraries for both Android and iOS for apps to work with Health and Fitness data. With that said, it currently doesn't support PWA.

Please let us know if you need anything else.
Alexandre Jacinto

UserImage.jpg
Yi Chen

The plug-in version is 2.0.0, and the Demo app can be downloaded as shown in the screenshot. If I want to run the app on both Android and iOS, do I need to develop two separate projects?

2021-02-17 18-31-05
Alexandre Jacinto
Staff


To run the app on both Android and iOS, you simply need to generate a build for each platform.

UserImage.jpg
Yi Chen


I am trying to generate an Android APK, but it keeps getting stuck at the "preparing" stage.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.