Amazon base config

This decompiled from the flex APK to demonstrate what they know
 avatar
unknown
plain_text
2 years ago
14 kB
183
No Index
I used a CLI to take a part of the entire apk file to demonstrate what's gathered on a basic config level for UK drivers - all in all not very interesting but for some might be ;) 

There's so many folders and json files for different use but below shows what kind of blackbox the APK is for android 

{
  "configData": {
    "StyleSheetConfig": {
      "data": {},
      "treatments": {
        "GetStyleSheet": {
          "name": "GB",
          "variables": {
            "styleSheets": "[{\"id\":\"amazon-delivery-gb\",\"name\":\"Amazon Delivery\",\"url\":\"https://gc-eu.amazon.com/stylesheet/amazon-delivery-gb\",\"cdn\":\"s3://bucket/stylesheet.json\",\"provider\":\"GAIA\",\"maxZoom\":16,\"version\":\"2.6.1\",\"status\":\"EXPERIMENTAL\",\"variant\":\"PRIMARY\",\"layers\":[]}]"
          }
        }
      }
    },
    "ClientConfig": {
      "data": {
        "DarkMaps_enable": "false",
        "MapsSettingsMenu_enable": "true",
        "MBCache_maxSize": "250",
        "OfflineMaps_enable": "true",
        "OfflineStylesheet_useOfflineStylesheet": "false",
        "JCTiles_aid": "unauthorized",
        "JCTiles_lmtinf": "unauthorized",
        "Navigation_enable": "true",
        "Feedback_enable": "true",
        "OfflineRoutingFallback_delayMs": "2000"
      },
      "treatments": {
        "SideOfStreet": {
          "name": "on",
          "variables": {
            "stopsLimit": "4"
          }
        },
        "MapsSensorData": {
          "name": "control",
          "variables": {
            "enableEvents": "false",
            "enableData": "false"
          }
        },
        "Feedback": {
          "name": "on",
          "variables": {
            "enable": "true"
          }
        },
        "DestinationDetection": {
          "name": "arrival_parity_wide",
          "variables": {
            "use_remaining_distance": "true",
            "arriving_remaining_distance": "100",
            "arrived_remaining_distance": "10",
            "use_geofence": "true",
            "geofence_radius": "250"
          }
        },
        "UseGCGzip": {
          "name": "on",
          "variables": {
            "use_gzip": "true"
          }
        },
        "NewOfflineSystemV3": {
          "name": "onNoEvict",
          "variables": {
            "enableNewSystem": "true",
            "autoDownloadEnabled": "true",
            "autoDownloadTTLMinutes": "240",
            "evictionsEnabled": "false"
          }
        },
        "TileRenderingMetrics": {
          "name": "EmitAggregateEventsNoFailures",
          "variables": {
            "enabled": "true",
            "threshold": "3600",
            "shouldRecordFailures": "false",
            "shouldAggregateMetrics": "true"
          }
        },
        "RouteOriginOverride": {
          "name": "ParkingOverride",
          "variables": {
            "locationOverride": "true",
            "fullParkingOverride": "true",
            "maxUserLocationDistance": "500"
          }
        },
        "NetworkConnectivity": {
          "name": "default",
          "variables": {
            "medasConnectTimeout": "2.5",
            "medasTimeoutInterval": "30.0",
            "medasResourceTimeout": "60.0",
            "medasMaxRetryCount": "3",
            "medasRetryBackoffMultiplier": "2.0",
            "offlineDownloadConnectTimeout": "7.0",
            "offlineDownloadTimeoutInterval": "3600.0",
            "offlineDownloadResourceTimeout": "86400.0",
            "offlineDownloadMaxRetryCount": "3",
            "offlineDownloadRetryBackoffMultiplier": "2.0",
            "offlineDownloadMaxConcurrent": "3"
          }
        },
        "LocationEngineSystem": {
          "name": "zeroDisplacement",
          "variables": {
            "useLocationManager": "false",
            "minDistanceMeters": "0.0",
            "minIntervalMs": "1000",
            "maxIntervalMs": "500",
            "maxWaitTimeMs": "750"
          }
        },
        "GeospatialSDK": {
          "name": "default",
          "variables": {
            "diskSizeLimitInMB": "50"
          }
        },
        "LocationSDKGeofence": {
          "name": "default",
          "variables": {
            "deliveryGeofenceRadius": "500.0",
            "deliveryNeighborGeofenceRadius": "60.0"
          }
        },
        "NavigationContextPoints": {
          "name": "off",
          "variables": {
            "drawContextPoints": "false",
            "contextPointsMinZoom": "13.5"
          }
        },
        "TrackerMode": {
          "name": "onWithIMU",
          "variables": {
            "mode": "enabled",
            "TIME_BETWEEN_DEAD_RECKON": "1000",
            "TIME_ADD_FOR_DEAD_RECKON_RENDER": "500",
            "TIME_ADD_FOR_DEAD_RECKON_REROUTE": "1000",
            "MIN_SPEED_FOR_DEAD_RECKON": "5",
            "LOCATION_HISTORY_MAX": "150",
            "LOCATION_HISTORY_TRIM": "100",
            "BACKWARD_RADIUS": "120",
            "FORWARD_RADIUS": "1000",
            "REROUTE_DISTANCE_MAX_THRESHOLD": "25",
            "REROUTE_ROUTE_COMPARISON_THRESHOLD": "50",
            "MIN_SPEED_FOR_REROUTE": "5",
            "VALID_HEADING_THRESHOLD": "100",
            "METRIC_COUNT_TO_EMIT": "300",
            "ENABLE_ACCELEROMETER_DATA": "true",
            "MAX_EVENT_NUM_LOOKBACK": "100",
            "MAX_EVENT_MS_LOOKBACK": "1000",
            "MIN_SPEED_FOR_DEAD_RECKON_USING_SENSOR": "1.0",
            "MIN_ACCELEROMETER_JITTER_FILTER": "-0.02",
            "MAX_ACCELEROMETER_JITTER_FILTER": "0.02",
            "MIN_SENSOR_ACCELERATION": "-8.0",
            "MAX_SENSOR_ACCELERATION": "5.0",
            "NORMALIZE_ACCELERATION": "true",
            "USE_ONLY_FORWARD_ACCELERATION": "true"
          }
        },
        "ModeOfTransport": {
          "name": "off",
          "variables": {
            "parkingDetermination": "legacy",
            "snapParkingLocation": "false",
            "snapParkingLocationFallback": "false",
            "drawParkingLocation": "false",
            "recordSnapRequestMetric": "false",
            "preferOnlineSnapping": "false"
          }
        },
        "MarkerClustering": {
          "name": "off",
          "variables": {
            "enableClustering": "false"
          }
        },
        "FollowMeNavigation": {
          "name": "feature_off",
          "variables": {
            "migrateAPIChanges": "false",
            "enableFollowMe": "false",
            "distanceToUpdateFollowMeView": "0.1",
            "postNavigationFollowMe": "false",
            "overrideNonDrivingToFollowMe": "true",
            "snapIncomingLocations": "false"
          }
        },
        "DarkMode": {
          "name": "automaticNoToggle",
          "variables": {
            "useDarkStyle": "true",
            "useAutomaticTheme": "true",
            "showThemeToggle": "false",
            "showStyleToggle": "false"
          }
        },
        "GraduatedNavigation": {
          "name": "off",
          "variables": {
            "enableGraduatedNav": "false",
            "graduatedNavigationPostNav": "false",
            "useBearingTracking": "false",
            "eligibleScopeList": ""
          }
        },
        "GeocodeScopeValidity": {
          "name": "featureOff",
          "variables": {
            "skipRabbitRestrictionsCheck": "false",
            "shouldFilterTbtScope": "false",
            "scopeFilterCriterion": "13",
            "ignoreGraduatedNavGeocodeScopeValidity": "false"
          }
        },
        "Location": {
          "name": "postracker",
          "variables": {
            "navRequestTraceLength": "20",
            "warmupPosTracker": "true",
            "useProviderAsPrimaryNavSource": "false",
            "backgroundFetchTimeoutMs": "300000"
          }
        },
        "RabbitSreconMigration": {
          "name": "on",
          "variables": {
            "enable": "true"
          }
        },
        "OfflineRegionUpdating": {
          "name": "off",
          "variables": {
            "enable": "false"
          }
        },
        "IncludeCommercialRestrictions": {
          "name": "off",
          "variables": {
            "enable": "false"
          }
        },
        "Lookahead": {
          "name": "on_OneLookaheadStopsOneLookaheadRoutesUTurnBlue",
          "variables": {
            "enabled": "true",
            "maxPinsToDisplay": "1",
            "maxUpNextRoutes": "1",
            "showUturnSymbol": "true",
            "color": "blue"
          }
        },
        "PerformanceMetrics": {
          "name": "on-with-android-interval",
          "variables": {
            "enable": "true",
            "batteryEnable": "true",
            "cpuEnable": "true",
            "memoryEnable": "true",
            "batteryInterval": "60000",
            "cpuInterval": "5000",
            "memoryInterval": "5000"
          }
        },
        "RouteLineColors": {
          "name": "BlueLine",
          "variables": {
            "selectedRoute": "#47C2EC",
            "selectedRouteBorder": "#077398",
            "selectedRouteTrafficMild": "#FF7A00",
            "selectedRouteTrafficHeavy": "#B8002B",
            "selectedRouteTrafficVeryHeavy": "#B8002B",
            "multiStopRoute": "#E5F6FB",
            "multiStopRouteBorder": "#0A9FD2",
            "routeEndCircleFill": "#FFFFFF",
            "routeEndCircleBorder": "#077398",
            "selectedRouteDark": "#00A8E1",
            "selectedRouteBorderDark": "#077398",
            "selectedRouteTrafficMildDark": "#8D4502",
            "selectedRouteTrafficHeavyDark": "#70001A",
            "selectedRouteTrafficVeryHeavyDark": "#70001A",
            "multiStopRouteDark": "#B9E8F7",
            "multiStopRouteBorderDark": "#47C2EC"
          }
        },
        "ShowAllTargetsMaxZoom": {
          "name": "on",
          "variables": {
            "enable": "true",
            "zoomCap": "17.2"
          }
        },
        "ShowRoutelinePastArrival": {
          "name": "on",
          "variables": {
            "enable": "true"
          }
        },
        "NavigationCameraValues": {
          "name": "rabbit",
          "variables": {
            "topPaddingMultiplier": ".625",
            "zoomOutMultiplier": "0.96",
            "zoomInMultiplier": "1.06",
            "defaultCameraTiltRouting": "45.0",
            "defaultCameraZoomRouting": "15.5",
            "speedToZoomMetersPerSecond": "17.5",
            "minDistanceToZoomOutSpeed": "150.0",
            "distanceToZoomInManeuver": "125.0",
            "navigationZoomCap": "17.0",
            "minZoomRouteOverview": "8.5",
            "maxZoomRouteOverview": "16.0",
            "minCameraTiltRouting": "35.0",
            "maxCameraTiltRouting": "50.0",
            "minCameraZoomRouting": "13.5",
            "maxCameraZoomRouting": "16.75",
            "routePaddingOverviewIgnoreBannerPadding": "false",
            "routePaddingOverrideTopDp": "0.0",
            "routePaddingOverrideRightDp": "75.0",
            "routePaddingOverrideBottomDp": "0.0",
            "routePaddingOverrideLeftDp": "75.0",
            "routePaddingPreviewTopDp": "60.0",
            "routePaddingPreviewRightDp": "75.0",
            "routePaddingPreviewBottomDp": "60.0",
            "routePaddingPreviewLeftDp": "75.0",
            "minZoomFollowMe": "8.5",
            "maxZoomFollowMe": "16.0",
            "followMePaddingIgnoreBannerPadding": "false",
            "followMeOverrideTopDp": "60.0",
            "followMeOverrideRightDp": "75.0",
            "followMeOverrideBottomDp": "30.0",
            "followMeOverrideLeftDp": "75.0",
            "trackingCenteredNorthUpGPSZoom": "16.5",
            "trackingCenteredBearingGPSZoom": "16.5"
          }
        },
        "MapCameraSession": {
          "names": "on",
          "variables": {
            "enable": "true"
          }
        },
        "ReformatStreetNameForUtterance": {
          "name": "off",
          "variables": {
            "enable": "false"
          }
        },
        "ManeuverTypePointAction": {
          "name": "off",
          "variables": {
            "enableManeuverPointAction": "false",
            "removeLegacyManeuverField": "false"
          }
        },
        "DistinguishRoadAndPlaceNames": {
          "name": "disabled",
          "variables": {
            "enableOnline": "false",
            "enableOffline": "false",
            "enableBanner": "false"
          }
        },
        "AddressInArrivalUtterance": {
          "name": "off",
          "variables": {
            "enable": "false"
          }
        },
        "StopSignContext": {
          "name": "disable",
          "variables": {
            "useOnline": "false",
            "useOffline": "false"
          }
        },
        "TrafficSignalContext": {
          "name": "disable",
          "variables": {
            "useOnline": "false",
            "useOffline": "false"
          }
        },
        "RoutePrefetch": {
          "name": "off",
          "variables": {
            "enabled": "false",
            "timeToLiveSec": "3600",
            "maxRefreshes": "0",
            "useStale": "false"
          }
        },
        "ContextualFeedback": {
          "name": "off",
          "variables": {
            "enable": "false",
            "enableMapCapture": "false",
            "enableShowEarlierStops": "false",
            "enableOtherIssues": "false",
            "removeFromHamburgerMenu": "false"
          }
        }
      }
    }
  }
}
Editor is loading...
Leave a Comment