PeterStaev / nativescript-masked-text-field

:hash: A NativeScript Masked Text Field widget
Apache License 2.0
25 stars 24 forks source link

Installation causes Android failure #31

Closed mchallenger88 closed 5 years ago

mchallenger88 commented 5 years ago

I installed the plugin in my Angular Nativescript app and got the attached errors in Sidekick, and the app would not start. The only way to remove the error was to remove the plugin and delete the Android folder in platforms. Tried a second time with the same result.

2018-12-22_7-50-05

PeterStaev commented 5 years ago

Hey @mchallenger88 , in the error log I do not see any reference to the plugin itself. So do not think this relates to it. Make sure your developer environment is set up correctly.

mchallenger88 commented 5 years ago

Thanks for responding.

It's possible it's not the plugin, but installing the plugin creates that error. Removing the plugin eliminates the error.

Other plugins works without a problem.

------ Original Message ------ From: "Peter Staev" notifications@github.com To: "PeterStaev/nativescript-masked-text-field" nativescript-masked-text-field@noreply.github.com Cc: "mchallenger88" markc@mindbuilder.com; "Mention" mention@noreply.github.com Sent: 12/22/2018 2:56:32 PM Subject: Re: [PeterStaev/nativescript-masked-text-field] Installation causes Android failure (#31)

Hey @mchallenger88 https://github.com/mchallenger88 , in the error log I do not see any reference to the plugin itself. So do not think this relates to it. Make sure your developer environment is set up correctly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PeterStaev/nativescript-masked-text-field/issues/31#issuecomment-449597126, or mute the thread https://github.com/notifications/unsubscribe-auth/AdACCQn8o-30OVmSVhGbs_km7YeEf2hgks5u7pyAgaJpZM4Zfeq_.

mchallenger88 commented 5 years ago

Although I did just try to install the moment javascript library, and I received a similar error.

Maybe it is something with my environment. My apologies if I spoke too soon.

------ Original Message ------ From: "Peter Staev" notifications@github.com To: "PeterStaev/nativescript-masked-text-field" nativescript-masked-text-field@noreply.github.com Cc: "mchallenger88" markc@mindbuilder.com; "Mention" mention@noreply.github.com Sent: 12/22/2018 2:56:32 PM Subject: Re: [PeterStaev/nativescript-masked-text-field] Installation causes Android failure (#31)

Hey @mchallenger88 https://github.com/mchallenger88 , in the error log I do not see any reference to the plugin itself. So do not think this relates to it. Make sure your developer environment is set up correctly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PeterStaev/nativescript-masked-text-field/issues/31#issuecomment-449597126, or mute the thread https://github.com/notifications/unsubscribe-auth/AdACCQn8o-30OVmSVhGbs_km7YeEf2hgks5u7pyAgaJpZM4Zfeq_.

mchallenger88 commented 5 years ago

Another follow up. It seems the error (at least from the moment install) occurs only in Sidekick. I removed the library, deleted platforms, reinstalled it and compiled from within VS Code and had no errors.

I'll try installing the plugin and compiling in VS Code a bit later since I've moved on from the immediate need.

------ Original Message ------ From: "Peter Staev" notifications@github.com To: "PeterStaev/nativescript-masked-text-field" nativescript-masked-text-field@noreply.github.com Cc: "mchallenger88" markc@mindbuilder.com; "Mention" mention@noreply.github.com Sent: 12/22/2018 2:56:32 PM Subject: Re: [PeterStaev/nativescript-masked-text-field] Installation causes Android failure (#31)

Hey @mchallenger88 https://github.com/mchallenger88 , in the error log I do not see any reference to the plugin itself. So do not think this relates to it. Make sure your developer environment is set up correctly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PeterStaev/nativescript-masked-text-field/issues/31#issuecomment-449597126, or mute the thread https://github.com/notifications/unsubscribe-auth/AdACCQn8o-30OVmSVhGbs_km7YeEf2hgks5u7pyAgaJpZM4Zfeq_.

mchallenger88 commented 5 years ago

I apologize. I just installed and compiled with VS Code and it works great. Thanks for the plugin!

------ Original Message ------ From: "Peter Staev" notifications@github.com To: "PeterStaev/nativescript-masked-text-field" nativescript-masked-text-field@noreply.github.com Cc: "mchallenger88" markc@mindbuilder.com; "Mention" mention@noreply.github.com Sent: 12/22/2018 2:56:32 PM Subject: Re: [PeterStaev/nativescript-masked-text-field] Installation causes Android failure (#31)

Hey @mchallenger88 https://github.com/mchallenger88 , in the error log I do not see any reference to the plugin itself. So do not think this relates to it. Make sure your developer environment is set up correctly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PeterStaev/nativescript-masked-text-field/issues/31#issuecomment-449597126, or mute the thread https://github.com/notifications/unsubscribe-auth/AdACCQn8o-30OVmSVhGbs_km7YeEf2hgks5u7pyAgaJpZM4Zfeq_.

mchallenger88 commented 5 years ago

Peter-

I am experiencing a couple of problems with the Masked Text Box. First, my form values have a trailing underscore "". For example, if I have a telephone number mask, it will look like "(212) 555-5555" when I retrieve the value.

The second thing is odder. When I have a blank field, when pushing a couple of keys I have sometimes ended up with the textbox mask disappearing and in its place is the word "false". It's happened a couple of times, but I just tried to recreate the steps and I couldn't. I'm not sure exactly which keys I'm pressing, but I think it is some combination of the arrow keys or the backspace.

I'm using the Angular version.

Thanks in advance, Mark

------ Original Message ------ From: "Peter Staev" notifications@github.com To: "PeterStaev/nativescript-masked-text-field" nativescript-masked-text-field@noreply.github.com Cc: "mchallenger88" markc@mindbuilder.com; "Mention" mention@noreply.github.com Sent: 12/22/2018 2:56:32 PM Subject: Re: [PeterStaev/nativescript-masked-text-field] Installation causes Android failure (#31)

Hey @mchallenger88 https://github.com/mchallenger88 , in the error log I do not see any reference to the plugin itself. So do not think this relates to it. Make sure your developer environment is set up correctly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PeterStaev/nativescript-masked-text-field/issues/31#issuecomment-449597126, or mute the thread https://github.com/notifications/unsubscribe-auth/AdACCQn8o-30OVmSVhGbs_km7YeEf2hgks5u7pyAgaJpZM4Zfeq_.

PeterStaev commented 5 years ago

@mchallenger88 , please do not revive old tasks when the problem is totally different than the original issue. Created #32