getInitialView() error on fenix 6pro/6s solar etc but not on fenix 6x pro

code is 

28    // Return the initial view of your application here
29    function getInitialView() as Array<Views or InputDelegates>?
30        {
31           return [ new DrakeBallonFlight01View(), new DrakeBallonFlight01Delegate() ] as Array<Views or InputDelegates>;
32       }
error is
Error: Symbol Not Found Error Details: Failed invoking <symbol> Stack: - getInitialView() at D:\750 Visual Studio Code\DrakeBallonFlight01\source\DrakeBallonFlight01App.mc:31 0x1000007d
thank you very much
  • Are you doing things in your monkey.jungle based on the different devices?

  • my file monkey.jungle is the standard:

    project.manifest = manifest.xml
  • investingating a bit more i discovered that many other devices works fine, many other shows the same error... 

  • the class xxxview is the following:

    class DrakeBallonFlight01View extends WatchUi.MapTrackView
     
    i think it is impossible that fenix 6s, 6pro solar etc have not the MapTrackView!! 8-|
  • This is a bit complicated, but Sapphire and Solar variants notwithstanding, there are really only 5 kinds of Fenix 6 devices, as far as CIQ is concerned:

    - Non-pro: fenix6, fenix6s

    - Pro: fenix6pro, fenix6spro, fenix6xpro

    Any sapphire/solar variants are functionally equivalent as far as CIQ is concerned (except of course for any solar-related features).

    Having said all of that, MapTrackView is only supported for devices that have maps (not just navigation). For the Fenix 6 family, only the Pro variants support maps.

    So I would expect you to get an error for Fenix 6S (including Solar), but not Fenix 6 Pro.

    https://developer.garmin.com/connect-iq/api-docs/Toybox/WatchUi/MapTrackView.html

    Supported Devices:

    [Hide devices]

    • D2Tm Charlie
    • D2Tm Delta
    • D2Tm Delta PX
    • D2Tm Delta S
    • D2Tm Mach 1
    • DescentTm Mk1
    • DescentTm Mk2 / DescentTm Mk2i
    • DescentTm Mk2 S
    • Edge® 1030
    • Edge® 1030 / Bontrager
    • Edge® 1030 Plus
    • Edge® 1040 / 1040 Solar
    • Edge® 520 Plus
    • Edge® 530
    • Edge® 820 / Explore
    • Edge® 830
    • Edge® Explore
    • Edge® Explore 2
    • epixTm (Gen 2) / quatix® 7 Sapphire
    • Forerunner® 945
    • Forerunner® 945 LTE
    • Forerunner® 955 / Solar
    • fēnix® 5 Plus
    • fēnix® 5S Plus
    • fēnix® 5X / tactix® Charlie
    • fēnix® 5X Plus
    • fēnix® 6 Pro / 6 Sapphire / 6 Pro Solar / 6 Pro Dual Power / quatix® 6
    • fēnix® 6S Pro / 6S Sapphire / 6S Pro Solar / 6S Pro Dual Power
    • fēnix® 6X Pro / 6X Sapphire / 6X Pro Solar / tactix® Delta Sapphire / Delta Solar / Delta Solar - Ballistics Edition / quatix® 6X / 6X Solar / 6X Dual Power
    • fēnix® 7 / quatix® 7
    • fēnix® 7S
    • fēnix® 7X / tactix® 7 / quatix® 7X Solar / EnduroTm 2
    • GPSMAP® 66s / 66i / 66sr / 66st
    • GPSMAP® 86s / 86sc / 86i / 86sci
    • MARQ® (Gen 2) Athlete / Adventurer / Captain / Golfer
    • MARQ® (Gen 2) Aviator
    • MARQ® Adventurer
    • MARQ® Athlete
    • MARQ® Aviator
    • MARQ® Captain / MARQ® Captain: American Magic Edition
    • MARQ® Commander
    • MARQ® Driver
    • MARQ® Expedition
    • MARQ® Golfer
    • Montana® 7 Series
    • Oregon® 7 Series
    • Rino® 7 Series
  • thank you for the reply ... yes ... i wrongly assumed that navigation means maps. Sorry for that, i promise to better check for device compatibility next before ask! 

  • MapView/MapTrackView are only available on devices that have on-board maps.

    So the f6 pro devices have them, while the f6 non-pro don't.  The f5+ devices have them, but only the f5x for f5 devices.

    None of the va/venu devices have them.

    the fr945/955 have them, but other forerunners don't