aws-amplify / amplify-js

A declarative JavaScript library for application development using cloud services.
https://docs.amplify.aws/lib/q/platform/js
Apache License 2.0
9.42k stars 2.12k forks source link

Nativescript aws amplify #9760

Open arpit2438735 opened 6 years ago

arpit2438735 commented 6 years ago

[Feature Request] Support for nativescript

Currently we don't have nativescript support for aws-amplify.Do you guys any plans/milestone to support for nativescript or shall I contribute and create from scratch?

praveshkhatana commented 6 years ago

+1

IamManchanda commented 5 years ago

Please also add support for https://github.com/nativescript-vue/nativescript-vue

jbarnabe commented 5 years ago

Hi, any plans about this feature request ? (@powerful23)

arpit2438735 commented 5 years ago

@jbarnabe We can go ahead and built it, rather wait for it...what say?

jbarnabe commented 5 years ago

@arpit2438735 the proposal is interesting but I doubt to have the skills to do that 😕

ggriffin commented 5 years ago

I'm also interested in nativescript-vue. Using nativescript-nodeify and the instructions here it seems I am able to integrate amplify-js, but must now reproduce components similar to the ones included with aws-amplify-vue

jbarnabe commented 5 years ago

a dumb question but the native libraries for android and ios and these instructions : here and here can't help?

arpit2438735 commented 5 years ago

No, it will not help...currently I have limited knowledge what amplify solves.If I get the use case, I started the development for it.

ggriffin commented 5 years ago

@jbarnabe creating nativescript plugins that wrap the native pods does appear to be another option, and may be the better technical solution, but it appears much more involved.

S3 access from the AWSS3 pod has been wrapped in a plugin by @triniwiz, but other services have not. I have not determined how much effort is needed to further this work. I wonder what the effort would be to have amplify-js working under nativescript the same way it does for reactnative.

Ref: Amplify support for ReactNative

arpit2438735 commented 5 years ago

Need to walkthrough the code or support from Amplify-js team to get architecture for react native and in the same way we can implement it

mattiLeBlanc commented 5 years ago

Hi, will this cause an issue on NativeScript? The required polyfill (window as any).global = window;. I believe nativescript doesn't have a window object?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mwhardesty commented 5 years ago

+1 for this. In particular, support for https://github.com/nativescript-vue/nativescript-vue is highly desirable.

RichardM99 commented 5 years ago

+1 for support for nativescript

brandonwood98 commented 5 years ago

+1

Version2beta commented 5 years ago

+1

StefNewton commented 5 years ago

+1

nirmay commented 4 years ago

+1 for nativescript

cnegrisanu commented 4 years ago

Please support for https://github.com/nativescript-vue/nativescript-vue !!

toddsampson commented 4 years ago

Haven't seen any updates in a few months... Any progress/thoughts on this? Would love to see nativescript-vue + amplify happen.

asciidiego commented 4 years ago

I am interested simply in NativeScript + Amplify. Not just Nativescript-Vue, there are people who use NativeScript Core, others (myself) use NativeScript Angular and then there's NativeScript-Vue people. I am trying to follow the instructions as if it were React or React Native to no avail.

Apparently I have to nodeify my whole application to make it work, I will keep you guys updated.

trentmurray commented 4 years ago

I am interested simply in NativeScript + Amplify. Not just Nativescript-Vue, there are people who use NativeScript Core, others (myself) use NativeScript Angular and then there's NativeScript-Vue people. I am trying to follow the instructions as if it were React or React Native to no avail.

Apparently I have to nodeify my whole application to make it work, I will keep you guys updated.

If you're working in a public repo, I'd love to help if I can. @diegovincent

asciidiego commented 4 years ago

I managed to nodeify my whole application and it did not work because Amplify simply does not support it. They literally have a line saying "Node is not supported". I cannot tell you exactly where out of my head, but I am thinking that, since {N} has direct access to the native APIs (unlike React Native, that needs bridging / injection), it should be even easier than React Native. Especially taking into account the following points:

  1. Google Firebase already has support thanks to @EddyVerbruggen
  2. AWS already officially supports both iOS, Android and JavaScript. And NativeScript is simply a combination of those technologies without any wrapping or bridging involved.
  3. AWS officially supports Ionic as well.

@trentmurray I described the issue to the new responsibles for NativeScript development (@nstudio), and they might be able to help the community along AWS (maybe?).

I will create a public repository between today and next week. I will keep you updated. Can you confirm that you are still interested?

dbybanez commented 4 years ago

+1

joshua1 commented 4 years ago

+1

asciidiego commented 4 years ago

Public repository where the bug (as in why it does not work while following the documentation of AWS Amplify) is reproduced. As soon as I manage to make it work, the results will be published here:

https://github.com/diegovincent/nativescript-aws-amplify-demo

praveshkhatana commented 4 years ago

You can try this

https://github.com/praveshkhatana/nativescript-iot/tree/master/demo

asciidiego commented 4 years ago

You can try this

https://github.com/praveshkhatana/nativescript-iot/tree/master/demo

Does it work for Amplify v3+ with Angular 8+? @praveshkhatana

praveshkhatana commented 4 years ago

Haven’t tried it with latest version. Will check and update you all.

asciidiego commented 4 years ago

@praveshkhatana do you have any updates?

ali-habibzadeh commented 3 years ago

Any updates?

romislovs commented 2 years ago

Any updates?

bourkison commented 2 years ago

+1

RedZepplin commented 1 year ago

Hi All,

Any updates on this?

SidharthPHariharan commented 1 year ago

I think there are people around here asking for updates until Dec 2nd and I presume nothing has been done on these lines