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

NativeScript #26

Open
pipeserrano opened this issue Jun 26, 2017 · 4 comments
Open

NativeScript #26

pipeserrano opened this issue Jun 26, 2017 · 4 comments

Comments

@pipeserrano
Copy link

How can I use it in a NativeScript project?

@amark
Copy link
Contributor

amark commented Jun 26, 2017

@pipeserrano thanks for moving this from amark/gun#391 , gonna close that and open the discussion here to people smarter than me. I'll mention it on gitter too.

@d3x0r
Copy link

d3x0r commented Jun 26, 2017

I can throw out a couple things; but I'm sure you could have as easily found this so I'd hope it's not news.

https://www.nativescript.org/blog/how-to-use-any-npm-module-with-nativescript
'A (partial) solution
What Browserify does for a browser, we can do for the NativeScript runtime. However, we don't want to impose a tool like Browserify or Webpack on you and your project (and we need a bit more flexibility as well), so the nativescript-nodeify plugin was made as a special purpose tool to swap out built-in Node modules from anything in your dependency tree by NativeScript compatible implementations.'
not it
I'm just guessing after a quick browse of what is 'nativescript'
https://www.npmjs.com/package/nativescript-nodeify

@amark
Copy link
Contributor

amark commented Jun 26, 2017

@d3x0r makes some other good recommendations starting at https://gitter.im/amark/gun?at=5951567676a757f808aa7a05

@romcok
Copy link

romcok commented Nov 15, 2018

I have working example. You can try it here https://play.nativescript.org/?template=play-vue&id=Xlexhs
But I think it will need some changes to work with localStorage and WebCrypto.

img_2023

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

4 participants