在调用api时,Phonegap angularjs 404 [英] Phonegap angularjs 404 while calling api's

查看:94
本文介绍了在调用api时,Phonegap angularjs 404的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要您在Phonegap AngularJS应用程序中提供帮助/建议。我创建了一个应用程序,其中我有2个页面,一个是显示类别,第二个显示它的详细信息。



我在我的应用程序中使用$ http服务获取数据但它在apk中不起作用,因为它在浏览器中完美运行,我使用https://build.phonegap.com/创建了apk



please建议我缺少什么?



我尝试过:



i尝试安装白名单,但没有运气。

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/

please suggest what i am missing?

What I have tried:

i tried installing whitelist as well but no luck.

推荐答案

我的应用程序中的http服务获取数据,但它在apk中不起作用,因为它在浏览器中完美运行我使用https://build.phonegap.com/创建了apk



请建议我缺少什么?



我尝试了什么:



i尝试安装白名单但没有运气。
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/

please suggest what i am missing?

What I have tried:

i tried installing whitelist as well but no luck.


这篇关于在调用api时,Phonegap angularjs 404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆