Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are you accepting contributions? #4

Closed
ihadeed opened this issue Feb 12, 2016 · 11 comments
Closed

Are you accepting contributions? #4

ihadeed opened this issue Feb 12, 2016 · 11 comments

Comments

@ihadeed
Copy link
Collaborator

ihadeed commented Feb 12, 2016

Hi there,

I'm currently working on my own library that gives me functionality similar to ngCordova for Ionic 2 ... Just simplifying plugin calls.

I thought I could help build Ionic-native instead of building my own thing and I was wondering if you are accepting contributions to this repository at the moment?

@tlancina
Copy link
Contributor

Hey @ihadeed, thanks for reaching out! We are definitely accepting contributions, but will need to discuss how we evaluate new plugins to add to Ionic Native. I think if you're looking to contribute, probably the easiest way to do so right now would be to take a look at adding interfaces for any of the core Cordova plugins that are missing.

Ionic Native should be going up on the v2 docs with the first batch of plugins this week, and after that we will continue to add more.

Please let me know if you have any questions about the project or need help with anything.

@ihadeed
Copy link
Collaborator Author

ihadeed commented Feb 15, 2016

Thanks @tlancina for your response.

  1. So if I understood correctly you are looking to create the interfaces only for now without any functionality?
    I will follow the way you have the files in this directory are written: https://github.com/driftyco/ionic-native/blob/master/src/plugins
  2. I was looking at https://github.com/driftyco/ionic-native/blob/master/src/plugins/statusbar.ts#L67 and I noticed that lines 67-70 are referring to properties of StatusBar that are not defined. I understand those properties exist in the actual plugin but wouldn't it throw TypeScript/JavaScript errors unless it's ran on a device/emulator? Shouldn't we define/declare an alias for those properties?

@tlancina
Copy link
Contributor

Yep, the goal for the moment is to just be a wrapper, with no plugin specific logic. A simple example is BarcodeScanner.

StatusBar has not been updated yet, but should be by the end of the week. Plugins that still have work to be done are: File, Push, StatusBar, Toast and TouchID. These are somewhat arbitrary and are just the plugins that were added when the project was started. We will be fleshing things out to add the Cordova core plugins and many of the plugins from ngCordova over the coming weeks.

@ihadeed
Copy link
Collaborator Author

ihadeed commented Feb 15, 2016

Ok thanks for clearing things up.

Just submitted a PR .. let me know if I should tweak anything..

Off-topic question: I instealled commitizen but when I run git cz it only shows me a text editor similar to vi instead of options to pick from like the screenshot here . I'm using Windows 10. Any clue what I might be missing?

@tlancina
Copy link
Contributor

PR looks great, thanks! I left a few comments on the diff. If you want to add the descriptions of the options that would be awesome, but I can also do it after merge.

I'm actually pretty unfamiliar with commitizen still (I still type the commit messages out by hand) so I'm not sure. What shell are you using?

@ihadeed
Copy link
Collaborator Author

ihadeed commented Feb 17, 2016

Thanks. I forgot to add the lines you mentioned. Going to fix it and resubmit the PR.

I tried cmd and Git Bash .. Same result.

image

@tlancina
Copy link
Contributor

Hey @ihadeed apologies that I haven't gotten your PRs merged in yet. They're looking good, but I'd like to test the plugins to make sure everything is working as expected. If they haven't gotten in by next week please ping me.

Not sure about the commitizen thing, maybe @jimthedev can chime in quickly on whether there are any windows related commitizen quirks.

@jimthedev
Copy link

@ihadeed As far as I can see ionic-native isn't configured to use commitizen. Whenever commitizen encounters a project that doesn't have a commitizen adapter configured (usually done with commitizen init), it falls back to the git default which is to ask you to manually enter a message (using the built in git editor). If you prefer not to use the editor, you can just provide a message to commitizen using git cz -m "fix(blah): My message here" and it will do a normal git commit.

@tlancina
Copy link
Contributor

Ah derp, didn't realize it was configured on our end. Thanks!

@ihadeed try pulling latest and running npm install, and let me know if you still have issues.

There's no conventional changelog yet, but I'll add it before the next release.

@ihadeed
Copy link
Collaborator Author

ihadeed commented Feb 18, 2016

Thank you @jimthedev @tlancina

I didn't know you need to configure anything for commitizen

@ihadeed
Copy link
Collaborator Author

ihadeed commented Mar 4, 2016

@tlancina

@ihadeed ihadeed closed this as completed Mar 6, 2016
ihadeed pushed a commit that referenced this issue May 9, 2017
…plugin (#1474)

* typo(barcode-scanner): fixe circle lint error

* typo(docs):  Unified the documentations

In some plugins the typescript markup was missing.
I also unified the console.log string from console.log("hello") to console.log('Hello') so any plugin page look the same.

* added phonegap-local-notifications

* update #1

* update #3

* update #4

* cleaned up the usage part

* removed old folder

* Update index.ts

* Update index.ts

* Update index.ts

* Update index.ts

* Update index.ts

* Update index.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants