Tuesday, October 31, 2017

Cancel NORD VPN and get the refund.


Recently I purchased nord-vpn for testing. But I could not use their service due to a technical reason. So I wanted to cancel and get my money back. In their website they don't have any user interface to do such an operation. So only way to cancel nord-vpn is to contact them via Email. 

1. Send an email to support@nordvpn.com saying that you need to cancel nord-vpn and get your money back,

2. They will reply you and ask the reason for cancellation.

3. Reply back with your reason and said you want your money back.

** You only have 30 days to get money back option and if you purchase via itunes they cant refund your money.


Sunday, October 15, 2017

Angular JS drop-down first options vs jQuery UI.


Hi All

Recently I had an issue with angular-js dropdown  which had ng-repeat to load it's options from a web service. Problem was I always could see an empty option even if I dont need that empty option. I needed to show the first real option to my users.

So I googled and see lot of answers but non of them did not work for me. My case was really rare.
My app was kind of converted app from jquery mobile to angular. So I had some jQuery mobile reference as well. Also I realised that my drop down had jquery mobile styles as well.

So all I did was removing all references to jQuery mobile js and jQuery mobile css. So everything works now.


So the conclusion is 

1. If you have any problems with angular data-bindings please remove jquery mobile references.



Removing click delays in iOS - apache cordova apps


 I started to use Angular JS in cordova for iOS. Every thing was perfect except I experienced a delay in response to ng-click function. In windows and android I did not see that delay.

Finally after we searches I found the solutions  You just need to include the fast click library from bellow url.


 https://github.com/ftlabs/fastclick 

Now if you using winstore-js-compact.js to fixed problems with angular in windows environment you cant refer fast-click library as a direct javascript reference. Instead of that add your script as follows.

       if (cordova.platformId == "ios") {
            /*  Add fast-click.j's content  to here */
       }