This is a migrated thread and some comments may be shown as answers.

AppBuilder works poorly with ng-cordova

6 Answers 92 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tyler
Top achievements
Rank 1
Tyler asked on 27 Jun 2014, 02:57 PM
So this was an interesting bug that I stumped upon. There is a new library at ngcordova.com that makes using cordova plugins easier with Angular. Anyway, the javascript file is called "ng-cordova.js". When the simulator runs, code gets tacked onto this file by AppBuilder. I think AppBuilder looks for any file that ends in "cordova.js" and tacks on javascript code to it before runtime.

6 Answers, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 02 Jul 2014, 01:35 PM
Hi Tyler,

Thank you for reporting this issue - we can confirm it is a bug and I logged it in our internal bug tracking system. As a small sign of appreciation for bringing it to our attention, I updated your Telerik points.

As for the support of ng-cordova, please note that the AppBuilder Simulator cannot work with custom plugins. Please have a look at its limitations for more information. This means that you might not be able to test any plug-in related logic implemented via ng-cordova in the Simulator. However, if you share a sample app utilizing ng-cordova, we will gladly take a closer look at it.

Regards,
Tina Stancheva
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
0
Tyler
Top achievements
Rank 1
answered on 02 Jul 2014, 01:44 PM
Once I renamed ng-cordova.js to something else, I have had no problems using it in the simulator. ng-cordova is just a wrapper for the core cordova plugins. Thank you for your support.
0
Bala Chandra
Top achievements
Rank 1
answered on 09 Jul 2014, 08:58 AM
I am also facing Same issue. Is there any work around for this?
0
Tyler
Top achievements
Rank 1
answered on 09 Jul 2014, 12:32 PM
Yes, rename "ng-cordova.js" to something else like "ng-c.js"
0
Darren
Top achievements
Rank 1
answered on 12 Sep 2014, 07:05 AM
Hi Tina

Can you tell me if this bug/problem has been fixed in the latest AppBuilder 2.5?
I checked the changelog and couldn't see it.

Thanks
Darren
0
Tina Stancheva
Telerik team
answered on 16 Sep 2014, 02:02 PM
Hi Darren,

This issue is not yet resolved but we will do our best to address it for the AppBuilder 2.6 release. In the meantime, I hope renaming the files as a workaround is an acceptable approach for you.

Regards,
Tina Stancheva
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Report a bug
Asked by
Tyler
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Tyler
Top achievements
Rank 1
Bala Chandra
Top achievements
Rank 1
Darren
Top achievements
Rank 1
Share this question
or