如何设置的PhoneGap构建PushPlugin,Apigee在Android [英] How to setup Phonegap Build with PushPlugin, Apigee on Android

查看:289
本文介绍了如何设置的PhoneGap构建PushPlugin,Apigee在Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想设置通过Apigee推送通知一的PhoneGap(V3.0.0)建立项目使用的PhoneGap构建使用命令行界面的项目。

I am trying to setup a Phonegap (v3.0.0) project with push notifications through Apigee and build the project using Phonegap Build using the command line interface.

下面是我到目前为止有:

Here is what I have so far:


  1. 我在我的Windows安装的PhoneGap这些方向以下。
    http://phonegap.com/install/

我用PhoneGap的命令界面来创建一个项目。
http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface

I used the Phonegap command interface to create a project. http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface

我从网上下载Github上Apigee的PhoneGap PushPlugin并且使用命令行界面添加插件到我的项目。
https://github.com/apigee/appservices-phonegap-push-plugin

I downloaded the Apigee Phonegap PushPlugin from Github and added the plugin to my project using the command line interface. https://github.com/apigee/appservices-phonegap-push-plugin

我跟着Apigee推送通知教程设置Apigee和谷歌通知服务。
http://apigee.com/docs/usergrid/content/tutorial-push-notifications

I followed the Apigee push notifications tutorial to setup Apigee and Google notification service. http://apigee.com/docs/usergrid/content/tutorial-push-notifications

这是我迷路了......我试图按照Apigee的PhoneGap的Andr​​oid示例应用程序,但教程文件结构和当前的PhoneGap项目的文件结构是完全不同的。
https://github.com/apigee/appservices-phonegap-android-push-example

This is where I get lost... I am trying to follow the Apigee phonegap android sample app but the tutorial file structure and the file structure of the current phonegap project is completely different. https://github.com/apigee/appservices-phonegap-android-push-example

我需要哪些文件从Apigee演示应用程序使用,我在哪里有他们在我目前的PhoneGap项目?我试图按照指示来配置Apigee PushPlugin但构建过程中的PhoneGap告诉我,这个插件是无效的,不支持的。

Which files do I need to use from the Apigee demo app and where do I include them in my current phonegap project? I tried to follow the directions to configure the Apigee PushPlugin but during build Phonegap tells me the plugin is invalid and not supported.

有人可以帮助,并提供我一步一步的指示,我应该配置哪些文件,复制并在以建设使用的PhoneGap构建和项目,以便成功生成被发送到Apigee设备发件人ID?

Can someone help and offer me step by step instructions which files I should configure, copy and where in order to build the project using Phonegap Build and so the device sender id that is generated successfully gets sent to Apigee?

感谢您
PG

Thank you PG

推荐答案

在现行推送通知插件与PhoneGap的2.6可以使用,所以你需要PhoneGap的旧版本的这个工作。一旦你正在运行2.6,你应该能够得到它在自述中的说明运行。

The current Push notification plugin was made to be used with PhoneGap 2.6, so you will need the older version of PhoneGap for this to work. Once you are running 2.6, you should be able to get it running with the instructions in the readme.

这篇关于如何设置的PhoneGap构建PushPlugin,Apigee在Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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