You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Parashuram N <pa...@microsoft.com> on 2015/10/16 19:25:39 UTC
Using Cordova Plugins with ReactNative
During the Face to Face yesterday, I showed a quick hack that I put together to use Cordova plugins in React Native. I was encouraged to share it on the dev mailing list. Would love to hear what you guys think about the idea.
The basic idea here is that we have more than 1000 Cordova plugins that help us access device capabilities. Why not simply re-use them with react native !!
Here is a demo - https://www.youtube.com/watch?v=h_fKByit6IY
Explanation of how I leverage Cordova plugman to achieve this - http://blog.nparashuram.com/2015/10/using-cordova-plugins-in-react-native.html
Repo - http://github.com/axemclion/react-native-cordova-plugin
NPM - https://www.npmjs.com/package/react-native-cordova-plugin
Re: Using Cordova Plugins with ReactNative
Posted by Carlos Santana <cs...@gmail.com>.
Thanks for sharing Parashuram this is very cool to see the separation and
the API layer in the works, will be cool to do similar POC after
cordova-ios@4 is out with support for plugable web views.
On Sun, Oct 18, 2015 at 11:16 PM Parashuram N <pa...@microsoft.com>
wrote:
> Thanks :)
>
> -----Original Message-----
> From: mikeywbrooks@gmail.com [mailto:mikeywbrooks@gmail.com] On Behalf Of
> Michael Brooks
> Sent: Friday, October 16, 2015 10:29 AM
> To: dev@cordova.apache.org
> Subject: Re: Using Cordova Plugins with ReactNative
>
> So rad! Amazing work Parashuram!
>
> On Fri, Oct 16, 2015 at 10:25 AM, Parashuram N <pa...@microsoft.com>
> wrote:
>
> > During the Face to Face yesterday, I showed a quick hack that I put
> > together to use Cordova plugins in React Native. I was encouraged to
> > share it on the dev mailing list. Would love to hear what you guys
> > think about the idea.
> >
> > The basic idea here is that we have more than 1000 Cordova plugins
> > that help us access device capabilities. Why not simply re-use them
> > with react native !!
> >
> > Here is a demo -
> > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fwww.y
> > outube.com%2fwatch%3fv%3dh_fKByit6IY&data=01%7c01%7cpanarasi%40microso
> > ft.com%7cbdf9c2cbdda2413cd7cf08d2d64f52e3%7c72f988bf86f141af91ab2d7cd0
> > 11db47%7c1&sdata=1CZZlKzjjnzRmGNX0dqMgpcJvw3%2bQ91fLh9qwBGjLxs%3d
> > Explanation of how I leverage Cordova plugman to achieve this -
> > https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fblog.n
> > parashuram.com%2f2015%2f10%2fusing-cordova-plugins-in-react-native.htm
> > l&data=01%7c01%7cpanarasi%40microsoft.com%7cbdf9c2cbdda2413cd7cf08d2d6
> > 4f52e3%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=o8FvbtyzEPPwMjQNfY
> > bn%2b9tsgr5ykw2Tim18ecjxArs%3d Repo -
> > https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fgithub
> > .com%2faxemclion%2freact-native-cordova-plugin&data=01%7c01%7cpanarasi
> > %40microsoft.com%7cbdf9c2cbdda2413cd7cf08d2d64f52e3%7c72f988bf86f141af
> > 91ab2d7cd011db47%7c1&sdata=f43AvMa5bWgYJAS%2fIZy5hWxcSeqBIr4XIZHU77DPx
> > jc%3d NPM -
> > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fwww.n
> > pmjs.com%2fpackage%2freact-native-cordova-plugin&data=01%7c01%7cpanara
> > si%40microsoft.com%7cbdf9c2cbdda2413cd7cf08d2d64f52e3%7c72f988bf86f141
> > af91ab2d7cd011db47%7c1&sdata=F7EcGKZ%2bERdS4wZDEAP83Rbiar9uB%2bMPSFQTO
> > 1JEkAM%3d
> >
> >
>
RE: Using Cordova Plugins with ReactNative
Posted by Parashuram N <pa...@microsoft.com>.
Thanks :)
-----Original Message-----
From: mikeywbrooks@gmail.com [mailto:mikeywbrooks@gmail.com] On Behalf Of Michael Brooks
Sent: Friday, October 16, 2015 10:29 AM
To: dev@cordova.apache.org
Subject: Re: Using Cordova Plugins with ReactNative
So rad! Amazing work Parashuram!
On Fri, Oct 16, 2015 at 10:25 AM, Parashuram N <pa...@microsoft.com>
wrote:
> During the Face to Face yesterday, I showed a quick hack that I put
> together to use Cordova plugins in React Native. I was encouraged to
> share it on the dev mailing list. Would love to hear what you guys
> think about the idea.
>
> The basic idea here is that we have more than 1000 Cordova plugins
> that help us access device capabilities. Why not simply re-use them
> with react native !!
>
> Here is a demo -
> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fwww.y
> outube.com%2fwatch%3fv%3dh_fKByit6IY&data=01%7c01%7cpanarasi%40microso
> ft.com%7cbdf9c2cbdda2413cd7cf08d2d64f52e3%7c72f988bf86f141af91ab2d7cd0
> 11db47%7c1&sdata=1CZZlKzjjnzRmGNX0dqMgpcJvw3%2bQ91fLh9qwBGjLxs%3d
> Explanation of how I leverage Cordova plugman to achieve this -
> https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fblog.n
> parashuram.com%2f2015%2f10%2fusing-cordova-plugins-in-react-native.htm
> l&data=01%7c01%7cpanarasi%40microsoft.com%7cbdf9c2cbdda2413cd7cf08d2d6
> 4f52e3%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=o8FvbtyzEPPwMjQNfY
> bn%2b9tsgr5ykw2Tim18ecjxArs%3d Repo -
> https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fgithub
> .com%2faxemclion%2freact-native-cordova-plugin&data=01%7c01%7cpanarasi
> %40microsoft.com%7cbdf9c2cbdda2413cd7cf08d2d64f52e3%7c72f988bf86f141af
> 91ab2d7cd011db47%7c1&sdata=f43AvMa5bWgYJAS%2fIZy5hWxcSeqBIr4XIZHU77DPx
> jc%3d NPM -
> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fwww.n
> pmjs.com%2fpackage%2freact-native-cordova-plugin&data=01%7c01%7cpanara
> si%40microsoft.com%7cbdf9c2cbdda2413cd7cf08d2d64f52e3%7c72f988bf86f141
> af91ab2d7cd011db47%7c1&sdata=F7EcGKZ%2bERdS4wZDEAP83Rbiar9uB%2bMPSFQTO
> 1JEkAM%3d
>
>
Re: Using Cordova Plugins with ReactNative
Posted by Michael Brooks <mi...@michaelbrooks.ca>.
So rad! Amazing work Parashuram!
On Fri, Oct 16, 2015 at 10:25 AM, Parashuram N <pa...@microsoft.com>
wrote:
> During the Face to Face yesterday, I showed a quick hack that I put
> together to use Cordova plugins in React Native. I was encouraged to share
> it on the dev mailing list. Would love to hear what you guys think about
> the idea.
>
> The basic idea here is that we have more than 1000 Cordova plugins that
> help us access device capabilities. Why not simply re-use them with react
> native !!
>
> Here is a demo - https://www.youtube.com/watch?v=h_fKByit6IY
> Explanation of how I leverage Cordova plugman to achieve this -
> http://blog.nparashuram.com/2015/10/using-cordova-plugins-in-react-native.html
> Repo - http://github.com/axemclion/react-native-cordova-plugin
> NPM - https://www.npmjs.com/package/react-native-cordova-plugin
>
>