New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WP8 plugin #6
WP8 plugin #6
Conversation
I just want to voice my support for adding WP8 =) We're planning to offer our app on WP8 as well in the future, and it would be great to have the notifications there. |
Updates to the plugins located here are typically driven by what is supported on PhoneGap Build. We are necessarily behind Cordova. That said, we will definitely consider this once WP8 support is available on Build. |
@bobeast So those of us who don't use phonegap build & need new features need to start another fork of PushPlugin? phonegap-build's plugins should not be considered the de facto standard? |
The plugins on phone-gap build are maintained to work with the versions of Cordova that PhoneGap Build supports. PhoneGap Build is often behind Cordova version releases. If you need a plugin to support a version of Cordova that is not yet supported on PhoneGap Build, the appropriate action is to fork the plugin, and make changes to your fork necessary to support the new version. Its actually a pretty rare occurrence that a new release of Cordova introduces backwards compatibility issues. 3.0.0 is unfortunately, one of those exceptions. Bonus points, for submitting a Pull Request back to PhoneGap Build for consideration when PhoneGap Build updates its Cordova support. |
@bobeast It's been nearly 4 months since PhoneGap Build announced beta WP8 support - any idea when GA will actually happen? |
Please pull it, I'd be glad to test it. |
@bobeast Hey Bob! Any news on an update for this now that PhoneGap Build supports WP8? |
|
||
<script type="text/javascript" charset="utf-8" src="PushNotification.js"></script> | ||
|
||
## Automatic Installation (not possible for WP8) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can someone elaborate on this? I don't see any restrictions here. We just need to add the following to plugin.xml
<!-- Windows Phone -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="PushPlugin">
<param name="wp-package" value="PushPlugin"/>
</feature>
</config-file>
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_PUSH_NOTIFICATION"/>
</config-file>
<source-file src="src/wp/PushPlugin.cs" />
</platform>
Hi @darkphantum, thank you very much for the PR. The kind people at Phonegap allowed me write access to this repo, so I've just committed the WP8 implementation, largely based on your changes. I hope we can move this feature to PhoneGap Build quickly. Thanks, |
Hi, just committed a few enhancements based on another PR, I really hope it will be available on Build soon. For people not using Build: please go ahead updating the plugin and test the enhancements (see the readme for details). |
Added a WP8 plugin from my phonegap project