Acknowledged

bug: app trials documentation page has invalid example OR simulator bug

On this page: https://developer.garmin.com/connect-iq/core-topics/trial-apps/ there's an example manifest:

See in 1st comment, can't post here

however this example is invalid or probably more precisely misleading, because it won't work with any device that has minSdkVersion="1.3.1" (or greater), only with devices that have 2.3.0. If you add the iq:trialMode section to the manifest you can still compile it for older devices, for example fenix3, epix, but it will fail to start in the simulator:

Error: Symbol Not Found Error Details: Failed invoking <symbol> Stack:
Error: Symbol Not Found
Error Details: Failed invoking symbol
Stack:
Encountered app crash.

Another possibility is that the bug is not in the documentation and apps with iq:trialMode section in the manifest are supposed to work (without the trial feature, similar to how epix works if iq:uses-permission id="FitContributor" is in the manifest, even though it doesn't have fit) and the bug is in the simulator (at least in fenix3, epix)

Parents
  • <iq:application entry="CommExample" id="a3421feed289106a538cb9547ab12095"
    name="AppName" launcherIcon="LauncherIcon" type="widget" minSdkVersion="1.3.1">
    <iq:trialMode enable="true">
    <iq:unlockURL>a.custom.unlock.url.info</iq:unlockURL>
    </iq:trialMode>
    </iq:application>

Comment
  • <iq:application entry="CommExample" id="a3421feed289106a538cb9547ab12095"
    name="AppName" launcherIcon="LauncherIcon" type="widget" minSdkVersion="1.3.1">
    <iq:trialMode enable="true">
    <iq:unlockURL>a.custom.unlock.url.info</iq:unlockURL>
    </iq:trialMode>
    </iq:application>

Children
No Data