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

apps not connection to external links

2 Answers 40 Views
HTML5, CSS, JavaScript
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
olu
Top achievements
Rank 1
olu asked on 23 Mar 2015, 09:54 AM
I  developed an app which works well in the simulator and on device, but when published to google play app store , my app could not reference jQuery mobile/jQuery link as well as  linking to external pages and sites. Could it be a problem on the Google or the inApp browser has to be enabled or JQuerymobile  referencing. This is how I referenced the jQuery links:

 <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" />
    <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
    <script type="text/javascript" src="cordova.js"></script>
    <script type="text/javascript" src="js/index.js"></script>

This is my first app and have just been 3 weeks.
I am using jquery mobile cordova template.
Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Zdravko
Telerik team
answered on 26 Mar 2015, 07:26 AM
Hello Olu,

Thank you for contacting us.
Since AppBuilder 2.7 we updated our templates so they no longer have any enabled Android permissions by default.
However, when in debug mode our LiveSync feature enables the INTERNET permission and if you are using any functionality that requires internet connection it will work fine.
Building in Release mode disables the LiveSync and as a consequence the INTERNET permission.

Would you please check whether you have enabled this permission in your project ?


Regards,
Zdravko
Telerik
 

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

 
0
olu
Top achievements
Rank 1
answered on 01 Apr 2015, 09:57 AM
Thank you this now works great. Cheers
Tags
HTML5, CSS, JavaScript
Asked by
olu
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
olu
Top achievements
Rank 1
Share this question
or