1

I am using Visual Studio 2015 Community version. I am creating app using Cordova for android mobiles that need an internet connection during access the app.

Everything running fine when I run my app in computer / laptop android emulator but when I install my app in mobile by running that app it disconnect the internet connection and without that my app can't run.

what to do?

I have came across these solutions but no one helps me to solve this problem.

Link 1

Link 2

Link 3

Link 4

Community
  • 1
  • 1
3 rules
  • 1,309
  • 2
  • 24
  • 53
  • Install cordova whitelist plugin – shellakkshellu Nov 09 '15 at 06:23
  • @shammon I am new to cordova can you please tell me how to install it or give me any link that tells the step by step process to install cordova plugin. – 3 rules Nov 09 '15 at 06:30
  • Open command prompt in your project folder and try this `cordova plugin add https://github.com/apache/cordova-plugin-whitelist.git` – shellakkshellu Nov 09 '15 at 06:37
  • I have installed by opening config.xml and go to plugins and Core I add Whitelist from Core. Is it right? If yes do I need to do any changes after adding plugin in my project? – 3 rules Nov 09 '15 at 06:44
  • How did you install it?did you use my commnad? – shellakkshellu Nov 09 '15 at 06:47
  • I have used your command but it does not recognized https and http so I have installed using config.xml plugins. – 3 rules Nov 09 '15 at 06:53
  • Let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/94571/discussion-between-padhiyar-and-shammon). – 3 rules Nov 09 '15 at 06:54

0 Answers0