nativescript-community / nativescript-community/ui-label
Not working on IOS this happens from version 1.2.9 and up
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 20
- Forks
- 9
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 3
Description
Which platform(s) does your issue occur on?
- iOS
- iOS 15.4
- emulator
This has something to do with the maxLinesPropery.
NativeScript encountered a fatal error: Uncaught TypeError: Cannot read property 'setNative' of undefined
at
./node_modules/@nativescript-community/ui-label/label.ios.js(file: app/webpack:/rapi-freelancer-app/node_modules/@nativescript-community/ui-label/label.ios.js:621:5)
at __webpack_require__(file: app/webpack:/rapi-freelancer-app/webpack/bootstrap:24:0)
at fn(file: app/webpack:/rapi-freelancer-app/webpack/runtime/hot module replacement:61:0)
at ./app/vendor/components.ts(file: app/webpack:/rapi-freelancer-app/app/vendor/components.ts:4:0)
at __webpack_require__(file: app/webpack:/rapi-freelancer-app/webpack/bootstrap:24:0)
at fn(file: app/webpack:/rapi-freelancer-app/webpack/runtime/hot module replacement:61:0)
at ./app/app.ts(file:///app/bundle.js:19:76)
at __webpack_require__(file: app/webpack:/rapi-freelancer-app/webpack/bootstrap:24:0)
at __webpack_exec__(file:///app/bundle.js:12881:39)
at (file:///app/bundle.js:12882:221)
at __webpack_require__.X(file: app/webpack:/rapi-freelancer-app/webpack/runtime/startup entrypoint:6:0)
at (file:///app/bundle.js:12882:47)
at (file:///app/bundle.js:12887:3)
at require(:1:137)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure on the iOS 15.4 emulator with maxLinesProperty enabled, then inspect label.ios.js at line 621 and the import from app/vendor/components.ts. Done means the app no longer raises the setNative TypeError when this property is used on iOS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100