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

    PhoneGap AngularJs Help


      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







        • 1. Re: PhoneGap AngularJs Help
          kerrishotts Adobe Employee

          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.