nativescript-community / nativescript-community/ui-mapbox

TypeError: PropertyFactory[actualKey] is not a function

Open
#55 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
38
Forks
26
PR merge metrics
No merged PRs in 30d

Description

On Android I've got "TypeError: PropertyFactory[actualKey] is not a function" message when trying add layer with polyline using code from demo.

"dependencies": {
    "@nativescript-community/https": "^3.2.2",
    "@nativescript-community/ui-image": "^4.0.26",
    "@nativescript-community/ui-mapbox": "^6.2.9",
    "@nativescript-community/ui-pager": "^13.0.26",
    "@nativescript/camera": "^5.0.9",
    "@nativescript/core": "~8.0.0",
    "@nativescript/firebase": "^11.1.3",
    "@nativescript/imagepicker": "^1.0.5",
    "@nativescript/localize": "^5.0.4",
    "@nativescript/theme": "~3.0.1"
  },
  "devDependencies": {
    "@nativescript/android": "8.0.0",
    "@nativescript/ios": "8.0.0",
    "@nativescript/types": "8.0.1",
    "@nativescript/webpack": "beta",
    "node-sass": "^6.0.1"
  }

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the demo's polyline-layer example and reproduce the error on Android using the dependency versions listed in the report. No source file or test is named; done means identifying the cause and confirming that the demo polyline layer can be added without the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.