Removing Support For ForeAthlete 920XTJ

Is there a way to remove support for the ForeAthlete 920XTJ device? I don't see how given the options in the SDK and I have had nothing but complaints and negative reviews on these devices. If this was already covered somewhere sorry for asking but I couldn't locate it.
  • It would also be nice to block certain firmware versions as maybe this is where the complaints are coming from (**shrug***). Without knowing what version and device a user is using, it is impossible for me to tell what platform the complaint it for.
  • Instead of trying to block specific firmware versions, you have to check to see if the functionality your app is using is available before you try to use it. The following code checks to see that the runtime environment has support for a handful of features, and if it doesn't it will show a different view (that could tell the user about the problem, or just avoid using those features).

    function getInitialView() {
    var view;
    var delegate;

    if (Toybox has :ActivityRecording &&
    Toybox.WatchUi has :Confirmation &&
    Toybox.WatchUi has :ProgressBar &&
    Toybox.System has :DeviceSettings &&
    Toybox.System.DeviceSettings has :phoneConnected) {
    view = new ApplicationMainView();
    delegate = new ApplicationMainViewDelegate();
    }
    else {
    view = new FirmwareNotSupportedView();
    delegate = new FirmwareNotSupportedViewDelegate();
    }

    return [ view, delegate ];
    }


    You can put these checks in various places in your code, it doesn't have to be done at startup.

    Travis
  • I think that is fine but I am not sure it is broken and it is a data field so it probably doesn't help in this case. For applications, I might try that. The comment received after on-line translation was: "After flying under three where enabled? Half did not find.". I understand there is a language barrier but I am not able to respond to the comment or even tell if it is user error or coding error.
  • "After flying under three where enabled? Half did not find."

    Wow. Google translate is good, but it isn't that good... :)
  • There isn't a way to remove support for the ForeAthlete 920XTJ, but we do have plans to allow control of whether apps can be loaded to a device from the store based on the firmware. For now, the suggestion Travis provided is the best approach.