问题标签 [phonegap-build]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
4 回答
8711 浏览

cordova - How to see javascript console output from Windows Phone 8 Emulator or device running Phonegap app

I am developing a mobile app using Phonegap Build to generate for different mobile platforms. I have successfully deployed and debugged my APK file on Android devices using adb tools and ddms. Now on to Windows Phone 8, but I am having trouble figuring out how to debug.

I have a Windows 8 Pro machine and have successfully installed Windows Phone SDK, deployed the XAP file to both the emulator and a Windows Phone 8 device using the Application Deployment tool (got the MS Dev subscription, registered the phone, all that stuff). The app loads but appears to not receive the deviceready event, but I really have no idea because I can't see the console log.

The SDK came with Visual Studio Express, but I don't see how to open an XAP to run it from VS so the output might go to the VS debug windows. Is there any way to see the console.log statements from my XAP from Phonegap Build? or must I create a VS project and compile/run from there?

0 投票
1 回答
294 浏览

windows-phone-7 - Phonegap 构建 windows phone 7 应用程序磁贴标题

当我将我的 pgb wp7 项目固定到开始屏幕时,磁贴标题是 cordova_1.5.0etc

我该如何改变它?

有没有办法在配置 .xml 中做到这一点?

0 投票
2 回答
3390 浏览

android - 您如何强制使用 cordova-cli 构建的移动应用程序为横向?

我正在使用cordova cli来构建我的应用程序。我想同时针对 android 和 ios(也许更多)。

因为我希望这适用于所有平台,所以我希望我可以简单地将其定义为 config.xml 中的首选项,如下所示:

因为这显然是它在 phonegap 构建中的工作方式https://build.phonegap.com/docs/config-xml

我假设 phonegap build 在 config.xml 中支持的功能与 cordova-cli 支持的功能不同?

我知道我可以通过将它插入到我的 AndroidManifest.xml 中来强制它在 android 应用程序中android:screenOrientation="landscape",但这并不好,因为它会在我下次执行cordova build.

有什么建议么?

0 投票
1 回答
1515 浏览

android - 将 PhoneGap Build App 部署到 Google Play 商店:多个密钥?

我用 PhoneGap Build 构建了一个应用程序。我用密钥签名并将有效期设置为 50000 天。PhoneGap 似乎可以很好地构建它。所以我下载它并尝试将它上传到 Google Play 商店。我得到这个错误:

您的 APK 已使用多个证书进行签名。请仅用一张证书签署并重新上传。您上传的 APK 使用过早过期的证书签名。您需要使用在将来过期的证书对您的 APK 进行签名。

?? 我不知道还能做什么,也不知道为什么要使用多个证书进行签名。我有一个来自 Go Daddy 的 pfx 格式的代码签名证书。我使用密钥库将其转换为 JKS 格式。

0 投票
3 回答
5669 浏览

cordova - PhoneGap builder的替代品?

我一直在使用 PhoneGap 的 Build 来组装我的应用程序,但最近意识到他们将压缩后的应用程序大小限制在 9.5 mb。这让我的项目搁置,直到我想出我的下一个方法,因为最终大小现在是 20+ mb。

为了节省时间 - 我怎样才能通过 PhoneGap Build 轻松快速地创建这个应用程序?

0 投票
1 回答
482 浏览

android - Phonegap Build ios 6 iphone 5 splash 不会消失

嘿,我已经创建了一个在 android 上运行良好的 android/iphone 应用程序,但由于某种原因,它只是显示启动屏幕/加载动画,而不是过去。

这是屏幕的样子:

在此处输入图像描述

在我的 config.xml 文件中,我有:

在我的javascript中,我有:

但是,我将此代码用于 index.html 文件:

我缺少什么设置?可能是因为我在 .html 之后调用了 .php 页面吗?

0 投票
3 回答
4247 浏览

android - iOS 6 iPhone 5 App 在Phonegap Build 中没有全屏显示?

嘿,我正在运行我的应用程序,它似乎在我的 android 设备上是全屏的,但它在 iPhone 5 的顶部/底部有黑条......我需要设置哪些设置才能使它们工作?

我的应用在我的 android 上的外观是这样的:

在此处输入图像描述

它在我的 iPhone 5 上的外观是这样的:

在此处输入图像描述

0 投票
1 回答
430 浏览

cordova - 页脚问题中的滑块/范围控制

在将 PhoneGap (Android) 添加到 jQM Web 应用程序时,应位于页脚中的 jQM 滑块控件被移除并由 PhoneGap (?) 放置在页脚中。使用 Adob​​e PhoneGap Build。

可能是什么原因?对 jQM 页脚中的内容是否有任何限制(通过 PhoneGap)?

0 投票
3 回答
2288 浏览

cordova - PhoneGap: BarcodeScanner 分享插件

笔记:

  1. 我想开发具有二维码扫描功能的 IOS 和 Android 应用程序。

  2. 我没有 Mac 机器,我在 WIndows OS 中使用Netbean/ 。Eclipse


问题:

  1. 是否可以使用 Eclipse Windows OS + android BarcodeScanner Plugin编写单个代码库,并通过Adob​​e Cloud Build 服务内置到 IOS 应用程序中

如果有人能给我一个建议,我将不胜感激。

0 投票
1 回答
1204 浏览

ios - “应用程序未能通过代码验证”Phonegap 构建应用程序无法上传到 App Store

我已经使用 Phonegap 开发了一个应用程序。我可以使用开发证书构建应用程序进行测试。该应用程序运行良好。

现在我想将应用上传到应用商店。但我得到一个错误说

“应用程序失败的共同签名验证。签名失败,包含不允许的权利,或者没有使用 iPhone 证书签名。”

在此处输入图像描述