nstudio / nativescript-cardview

:diamonds: :clubs: NativeScript widget for Material Design CardView
MIT License
282 stars 51 forks source link

Not working in Android #35

Closed MadhuSudhanBhaskar closed 7 years ago

MadhuSudhanBhaskar commented 7 years ago

I have installed cardview, this is installed with in parent node_module where tns-core-module resides. I have updated my .xml page to include it like that way you have told, when I emulate it breaks saying nativescript-cardview not found on .xml page when trying to build the ui. So I tried including the model in .page.js files with both relative and absolute path to module again it says not found.

I am not using any angular 2 here, I found some solutions but things are not working.

screenshot_1478966494

bradmartin commented 7 years ago

Try the following steps in the blog post then include your markup and the exact error thrown if this blog post doesn't help you. Thanks https://bradmartin.net/2016/07/20/ahhh-this-nativescript-plugin-doesnt-work/

On Sat, Nov 12, 2016, 10:06 AM Madhu notifications@github.com wrote:

I have installed cardview, this is installed with in parent node_module where tns-core-module resides. I have updated my .xml page to include it like that way you have told, when I emulate it breaks saying nativescript-cardview not found on .xml page when trying to build the ui. So I tried including the model in .page.js files with both relative and absolute path to module again it says not found.

I am not using any angular 2 here, I found some solutions but things are not working.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bradmartin/nativescript-cardview/issues/35, or mute the thread https://github.com/notifications/unsubscribe-auth/AFulhDoNb3faFLEl1zarX_O6Jo4f-O9lks5q9eLMgaJpZM4Kwc6P .

MadhuSudhanBhaskar commented 7 years ago

Hi that dint work also. Here is my code .xml page `<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="onNavigatingTo" xmlns:Card="nativescript-cardview">

bradmartin commented 7 years ago

Can you put your package.json also?

On Sat, Nov 12, 2016, 10:45 AM Madhu notifications@github.com wrote:

Hi that dint work also. Here is my code .xml page <Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="onNavigatingTo" xmlns:Card="nativescript-cardview">

MadhuSudhanBhaskar commented 7 years ago

{ "description": "NativeScript Application", "license": "SEE LICENSE IN <your-license-filename>", "readme": "NativeScript Application", "repository": "<fill-your-repository-here>", "nativescript": { "id": "org.nativescript.crossCommunication", "tns-android": { "version": "2.3.0" } }, "dependencies": { "nativescript-cardview": "^1.2.0", "tns-core-modules": "2.3.0" }, "devDependencies": { "babel-traverse": "6.18.0", "babel-types": "6.18.0", "babylon": "6.13.1", "lazy": "1.0.11", "nativescript-cardview": "^1.2.0" } }

bradmartin commented 7 years ago

I'll try a new project and see what happens when I get some time. I've only seen this issue when I forget a step after adding the plugin but it seems you've done the correct steps so I'm not sure.

On Sat, Nov 12, 2016, 11:19 AM Madhu notifications@github.com wrote:

{ "description": "NativeScript Application", "license": "SEE LICENSE IN ", "readme": "NativeScript Application", "repository": "", "nativescript": { "id": "org.nativescript.crossCommunication", "tns-android": { "version": "2.3.0" } }, "dependencies": { "nativescript-cardview": "^1.2.0", "tns-core-modules": "2.3.0" }, "devDependencies": { "babel-traverse": "6.18.0", "babel-types": "6.18.0", "babylon": "6.13.1", "lazy": "1.0.11", "nativescript-cardview": "^1.2.0" } }

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/bradmartin/nativescript-cardview/issues/35#issuecomment-260135037, or mute the thread https://github.com/notifications/unsubscribe-auth/AFulhPIDvhLpC5GpmeXmCHOternnC9Vbks5q9fUWgaJpZM4Kwc6P .

MadhuSudhanBhaskar commented 7 years ago

Sure, I just started with native script and started of a basic project.

bradmartin commented 7 years ago

I just cloned the repo and ran the demo successfully.

MadhuSudhanBhaskar commented 7 years ago

Hmmm can you please put your markup here?

with package.json, I have trying it no luck!

bradmartin commented 7 years ago

It's the demo app for this repo. https://github.com/bradmartin/nativescript-cardview

bradmartin commented 7 years ago

Did you ever get this working? I've still not had an issue and doesn't seem to be a common issue so it's hard to verify exactly what's wrong with your case unfortunately.

MadhuSudhanBhaskar commented 7 years ago

Hi,

Yes and no, if I checkout git repo and run it it seems to be working. But if I try to include this to already existing JavaScript project it seems to break.

I am not using angular 2.

Regards, Madhu On 17-Nov-2016 3:13 AM, "Brad Martin" notifications@github.com wrote:

Did you ever get this working? I've still not had an issue and doesn't seem to be a common issue so it's hard to verify exactly what's wrong with your case unfortunately.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bradmartin/nativescript-cardview/issues/35#issuecomment-261134737, or mute the thread https://github.com/notifications/unsubscribe-auth/ABE_T_sJWl6F-MLCo9lbnOv2v0LIj4YPks5q-7hOgaJpZM4Kwc6P .

bradmartin commented 7 years ago

Okay, I'll try it with a project I have later on and see what happens. It's odd but we'll figure it out 😄

MadhuSudhanBhaskar commented 7 years ago

Thank you very much!!

I have too many doubts, not getting my head around it. Basically I am a Ionic framework user, wanted to prove my team to use NS. So trying to come up with a POC.

I hope you don't mind if I ask something other than card views.

Regards, Madhu On 17-Nov-2016 6:08 AM, "Brad Martin" notifications@github.com wrote:

Okay, I'll try it with a project I have later on and see what happens. It's odd but we'll figure it out 😄

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bradmartin/nativescript-cardview/issues/35#issuecomment-261156833, or mute the thread https://github.com/notifications/unsubscribe-auth/ABE_TzpeFNrbtY2kiSbAST_nLPdwToY1ks5q--FLgaJpZM4Kwc6P .

bradmartin commented 7 years ago

Understand, I was in that position a year ago and switched a few companies over once they had the POC set up. If you aren't on the NativeScript slack channel, you might want to join that since you're starting out. Tons of helpful information and knowledgable devs with NativeScript. You might get an answer there faster than I can provide on github sometimes 👍 You can also ping me on the slack channel.

MadhuSudhanBhaskar commented 7 years ago

That will be super cool, will slack you in some time now :)

Regards, Madhu On 17-Nov-2016 6:18 AM, "Brad Martin" notifications@github.com wrote:

Understand, I was in that position a year ago and switched a few companies over once they had the POC set up. If you aren't on the NativeScript slack channel, you might want to join that since you're starting out. Tons of helpful information and knowledgable devs with NativeScript. You might get an answer there faster than I can provide on github sometimes 👍 You can also ping me on the slack channel.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bradmartin/nativescript-cardview/issues/35#issuecomment-261157892, or mute the thread https://github.com/notifications/unsubscribe-auth/ABE_TzirqLGjL4sBZTe3J-LbZojn4UoOks5q--OagaJpZM4Kwc6P .

MadhuSudhanBhaskar commented 7 years ago

Brad,

http://developer.telerik.com/wp-login.php?action=slack-invitation

Tried this, I think invites are not sent or its not working.

Can you please add me or invite me?

madhusudhan. bhaskar@gmail

Regards, Madhu On 17-Nov-2016 6:22 AM, "madhu sudhan" madhusudhan.bhaskar@gmail.com wrote:

That will be super cool, will slack you in some time now :)

Regards, Madhu On 17-Nov-2016 6:18 AM, "Brad Martin" notifications@github.com wrote:

Understand, I was in that position a year ago and switched a few companies over once they had the POC set up. If you aren't on the NativeScript slack channel, you might want to join that since you're starting out. Tons of helpful information and knowledgable devs with NativeScript. You might get an answer there faster than I can provide on github sometimes 👍 You can also ping me on the slack channel.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bradmartin/nativescript-cardview/issues/35#issuecomment-261157892, or mute the thread https://github.com/notifications/unsubscribe-auth/ABE_TzirqLGjL4sBZTe3J-LbZojn4UoOks5q--OagaJpZM4Kwc6P .

bradmartin commented 7 years ago

Go to the NativeScript site here https://www.nativescript.org/ and try the SLACK button on the homepage.

bradmartin commented 7 years ago

snip20161116_5

MadhuSudhanBhaskar commented 7 years ago

Sorry for bothering you a lot, I don't see it.

Regards, Madhu On 17-Nov-2016 6:44 AM, "Brad Martin" notifications@github.com wrote:

[image: snip20161116_5] https://cloud.githubusercontent.com/assets/6006148/20377629/8b88c388-ac56-11e6-942e-d9e44246d47e.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bradmartin/nativescript-cardview/issues/35#issuecomment-261160824, or mute the thread https://github.com/notifications/unsubscribe-auth/ABE_T80IncrXSaC5pV4GctBUK3dJtkFpks5q--mmgaJpZM4Kwc6P .

bradmartin commented 7 years ago

No worries 😄
snip20161117_6

bedtime here 💤 hope you find it on the site there, I don't control slack or I'd just send you a link 👍

MadhuSudhanBhaskar commented 7 years ago

Brad,

I see slack, but its same not generating any invite. May be something that you can help me tomorrow with when you are free or have time to.

Good Night!!

Regards, Madhu

On Thu, Nov 17, 2016 at 7:24 AM, Brad Martin notifications@github.com wrote:

No worries 😄

[image: snip20161117_6] https://cloud.githubusercontent.com/assets/6006148/20378486/15c5fb06-ac5c-11e6-8ff2-e205e8c02734.png

bedtime here 💤 hope you find it on the site there, I don't control slack or I'd just send you a link 👍

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bradmartin/nativescript-cardview/issues/35#issuecomment-261166090, or mute the thread https://github.com/notifications/unsubscribe-auth/ABE_TzEOnDGMo5sdP7CK2BRqlgL3aOICks5q-_MPgaJpZM4Kwc6P .

Regards, Madhusudhan Bhaskar Cell: +31 685898121

MadhuSudhanBhaskar commented 7 years ago

Brad,

I have a grid layout, that has button images and some text. I use clip path: circle to show 1/4 of a circle.

Have added tap on grid, how do I say that tap should work only on 1/4 circle.

Regards, Madhu On 17-Nov-2016 8:49 AM, "madhu sudhan" madhusudhan.bhaskar@gmail.com wrote:

Brad,

I see slack, but its same not generating any invite. May be something that you can help me tomorrow with when you are free or have time to.

Good Night!!

Regards, Madhu

On Thu, Nov 17, 2016 at 7:24 AM, Brad Martin notifications@github.com wrote:

No worries 😄

[image: snip20161117_6] https://cloud.githubusercontent.com/assets/6006148/20378486/15c5fb06-ac5c-11e6-8ff2-e205e8c02734.png

bedtime here 💤 hope you find it on the site there, I don't control slack or I'd just send you a link 👍

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bradmartin/nativescript-cardview/issues/35#issuecomment-261166090, or mute the thread https://github.com/notifications/unsubscribe-auth/ABE_TzEOnDGMo5sdP7CK2BRqlgL3aOICks5q-_MPgaJpZM4Kwc6P .

Regards, Madhusudhan Bhaskar Cell: +31 685898121

bradmartin commented 7 years ago

Hey @MadhuSudhanBhaskar did you ever get into the Slack group? That's going to be easier to help with a question like that on Stack Overflow or on Slack. Sorry, I'm at a conference the next few days so I'll be MIA.

MadhuSudhanBhaskar commented 7 years ago

Hi Brad!!

Slack tried multiple times, I did not get any invitation from slack.

Regards, Madhu On 17-Nov-2016 11:50 PM, "Brad Martin" notifications@github.com wrote:

Hey @MadhuSudhanBhaskar https://github.com/MadhuSudhanBhaskar did you ever get into the Slack group? That's going to be easier to help with a question like that on Stack Overflow or on Slack. Sorry, I'm at a conference the next few days so I'll be MIA.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bradmartin/nativescript-cardview/issues/35#issuecomment-261395218, or mute the thread https://github.com/notifications/unsubscribe-auth/ABE_TyCpvoJbPfPBb-iwxN_ly8q7rN5Tks5q_No_gaJpZM4Kwc6P .

bradmartin commented 7 years ago

@MadhuSudhanBhaskar - let me know if you still have issues but I'm using this fine in a couple of apps with no issue. Let me know and we can revisit possibly with a new issue to keep things cleaner than the messages above ^^^ just to keep it easier on the 👀

MadhuSudhanBhaskar commented 7 years ago

Sure, I have to use it now for my project will keep you posted.

Regards, Madhu

On Thu, Dec 8, 2016 at 5:56 AM, Brad Martin notifications@github.com wrote:

Closed #35 https://github.com/bradmartin/nativescript-cardview/issues/35 .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bradmartin/nativescript-cardview/issues/35#event-886346415, or mute the thread https://github.com/notifications/unsubscribe-auth/ABE_T4HrdQ7KOyJg9cW7iOiJ3-Xe-XQTks5rF438gaJpZM4Kwc6P .

-- Regards, Madhusudhan Bhaskar Cell: +31 685898121