1 Reply Latest reply on Jul 9, 2016 12:22 PM by kerrishotts

    PhoneGap AngularJs Help

    gauravk62018693

      I need your help/suggestion in Phonegap AngularJS  application.  I have created a app where i have 2 pages one is to show the categories and 2nd show the details of it.

       

      I am using $http service in my app to get data but it doesn't work in apk where as it works perfectly in Browser and i have created apk using https://build.phonegap.com/

       

      I am sharing my source code with you. please suggest what i am missing? i tried installing whitelist as well but no luck.

       

      Source Code

       

      https://drive.google.com/file/d/0B4YP3E3lvTIJZ01aS1JKbHo4Rnc/view?usp=sharing

       

      Apk

       

      https://drive.google.com/open?id=0B4YP3E3lvTIJRmhIYlVYRHZ5NHM

        • 1. Re: PhoneGap AngularJs Help
          kerrishotts Adobe Community Professional

          You don't define what you mean by "it doesn't work". Please be more specific. Error messages are exceedingly useful (these could be logged to the device logs or JavaScript console as well).

           

          Also make sure to wait for "deviceready" before attempting any network access, as this involves the whitelist plugin.

           

          Since this is angular, also look up the "ng-csp" directive.