NativeScript / NativeScript/android

Annotations with TypeScript decorators

Open
#1,355 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
563
Forks
144
Avg merge
10h 46m
Merged PRs (30d)
14

Description

Hello guys,

I was reviewing the documentation for Android, but I can't see any example using Android annotations with TypeScript, can you give me any example? otherwise it would be a nice to have!

I want to use Annotation Type Subscribe of this Android package: http://greenrobot.org/files/eventbus/javadoc/3.0/ from an extended class of java.lang.Object

Any help is really appreciated, I'm creating my first contribution (plugin) for NativeScript and it works perfect from iOS! 👍

Regards, Juan

Contributor guide

Open the contributing guide

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 by reviewing the Android documentation and the NativeScript Android runtime entry points for TypeScript decorators and Java annotations. Consult the linked greenrobot EventBus Annotation Type Subscribe Javadoc and compare the existing iOS plugin example mentioned in the issue. Done means the supported approach and a clear Android TypeScript example are documented, or the limitation is explicitly recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, typescript
Domain
documentation, mobile-dev
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 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.