nativescript-community / nativescript-community/ui-canvas

Error after instaling ui-canvas

Open
#70 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I'm getting an error after installing this package through the ui-charts plugin. It says Exception occurred on "main" thread. Unable to create application and it points to this line on the canvas.android.js file:

Image

If I comment it out the app starts normally.

I'm using Nativescript + Angular and I've only tested it on Android, not on iOS

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

Reproduce the ui-charts installation in a NativeScript + Angular app on Android and inspect the failing line in canvas.android.js during application startup. Confirm the cause and verify that the app launches without the exception while ui-canvas remains installed; no test file is mentioned in the issue.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.