Acknowledged

[BUG] Fenix6 symbol not found WatchUi.makeReviewTokenRequest

In SDK 6.2.1 simulator, calling WatchUi.makeReviewTokenRequest causes the app to crash with 'symbol not found'.

Docs say it is supported on the F6 series and it passes the test "if (WatchUi has :makeReviewTokenRequest) ".

    function checkReviewNeeded() {
        if (WatchUi has :makeReviewTokenRequest) {
            var nowT = Time.now().value();
            var appInitialStartTime = Storage.getValue(KEY_appInitialStartTime);
            if (appInitialStartTime == null) {
                appInitialStartTime = nowT;
                Storage.setValue(KEY_appInitialStartTime, appInitialStartTime);
            } else if (nowT - appInitialStartTime > APP_START_TIME_DELTA) {
                var lastReviewTime = Storage.getValue(KEY_lastReviewTime);
                if ((lastReviewTime == null ||  nowT - lastReviewTime > REVIEW_TIME_DELTA)) {
                    WatchUi.makeReviewTokenRequest(method(:reviewCallback));
                }
            }    
        }
    }

Parents
  • Looks like we have a bug here. The API is supposed to be available for 3.x devices with ConnectIQ 3.4.2 or later and 4.x devices with 4.2.0 or late. In our implementation we are checking for 4.2.1 support, and if it is not available we generate a symbol not found error.

Comment
  • Looks like we have a bug here. The API is supposed to be available for 3.x devices with ConnectIQ 3.4.2 or later and 4.x devices with 4.2.0 or late. In our implementation we are checking for 4.2.1 support, and if it is not available we generate a symbol not found error.

Children
No Data