fixes PushNotification

This commit is contained in:
Matias Alejo Garcia 2016-10-06 10:44:21 -03:00
parent efcfb37ebf
commit ad3bd8d248
No known key found for this signature in database
GPG Key ID: 02470DB551277AB3
3 changed files with 1 additions and 119 deletions

View File

@ -7,7 +7,6 @@
var templates = {
'Makefile': 'cordova/',
'ProjectMakefile': 'cordova/',
'config.xml': 'cordova/',
'config-template.xml': '/',
'ionic.config.json': '/',
'Package.appxmanifest': 'cordova/wp/',

View File

@ -55,6 +55,7 @@
<plugin name="cordova-plugin-customurlscheme" spec="~4.2.0">
<variable name="URL_SCHEME" value="UNUSED" />
</plugin>
<plugin name="phonegap-plugin-push" spec="1.5.3" />
<!-- Supported Platforms -->
<engine name="ios" spec="~4.2.1" />
@ -63,7 +64,6 @@
<!-- Platform Specific Settings -->
<platform name="ios">
<plugin name="phonegap-plugin-push" spec="1.5.3" />
<!-- <hook type="after_prepare" src="util/hooks/ios/add-custom-urls-to-plist.js" />
<hook type="after_prepare" src="util/hooks/ios/add-uistatusbarhidden-to-plist.js" /> -->
</platform>
@ -72,7 +72,6 @@
<hook type="after_prepare" src="util/hooks/android/add-custom-urls-to-android-manifest.js" />
<hook type="after_prepare" src="util/hooks/android/prohibit-cloud-backups-in-android-manifest.js" />
<!-- https://github.com/phonegap/phonegap-plugin-push/issues/424 -->
<plugin name="phonegap-plugin-push" spec="1.2.3" />
</platform>
<platform name="wp8">

View File

@ -1,116 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.bitpay.*BUNDLENAME*"
version="*VERSION*"
android-versionCode="*ANDROIDVERSION*"
ios-CFBundleVersion="*VERSION*">
<name>*USERVISIBLENAME*</name>
<description>
*PURPOSELINE*
</description>
<author email="support@bitpay.com" href="*URL*">
BitPay Inc.
</author>
<content src="index.html" />
<access origin="*" />
<preference name="AndroidPersistentFileLocation" value="Internal" />
<preference name="iosPersistentFileLocation" value="Library" />
<preference name="DisallowOverscroll" value="true"/>
<preference name="HideKeyboardFormAccessoryBar" value="true"/>
<preference name="SplashScreen" value="copayscreen" />
<preference name="ShowSplashScreenSpinner" value="false" />
<preference name="AutoHideSplashScreen" value="false" />
<preference name="FadeSplashScreen" value="true" />
<preference name="FadeSplashScreenDuration" value="1" />
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="StatusBarBackgroundColor" value="#1e3186" />
<preference name="StatusBarStyle" value="lightcontent" />
<preference name="BackupWebStorage" value="none"/>
<preference name="windows-target-version" value="8.1"/>
<preference name="Orientation" value="default" />
<!-- Supported Platforms -->
<!-- <engine name="ios" spec="~4.2.1" />
<engine name="android" spec="~5.2.2" />
<engine name="wp8" spec="~3.8.2" /> -->
<!-- Plugins -->
<plugin name="cordova-plugin-globalization" spec="~1.0.4" />
<plugin name="cordova.plugins.diagnostic" spec="~3.2.1" />
<plugin name="cordova-plugin-splashscreen" spec="~4.0.0" />
<plugin name="cordova-plugin-statusbar" spec="~2.2.0" />
<plugin name="cordova-plugin-inappbrowser" spec="~1.5.0" />
<plugin name="cordova-plugin-x-toast" spec="~2.5.2" />
<plugin name="com.verso.cordova.clipboard" spec="https://github.com/VersoSolutions/CordovaClipboard" />
<plugin name="cordova-plugin-x-socialsharing" spec="https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git" />
<plugin name="cordova-plugin-spinner-dialog" spec="~1.3.1" />
<plugin name="cordova-plugin-dialogs" spec="~1.3.0" />
<plugin name="cordova-plugin-network-information" spec="~1.3.0" />
<plugin name="cordova-plugin-console" spec="~1.0.4" />
<plugin name="cordova-plugin-uniquedeviceid" spec="~1.3.2" />
<plugin name="cordova-plugin-file" spec="~4.3.0" />
<plugin name="cordova-plugin-touch-id" spec="~3.2.0" />
<plugin name="cordova-plugin-transport-security" spec="~0.1.2" />
<plugin name="cordova-ios-requires-fullscreen" spec="~0.0.2" />
<plugin name="cordova-plugin-disable-bitcode" spec="~1.3.2" />
<plugin name="cordova-plugin-android-fingerprint-auth" spec="~0.2.0" />
<plugin name="cordova-plugin-screen-orientation" spec="~1.4.2" />
<plugin name="ionic-plugin-keyboard" spec="~2.2.1" />
<plugin name="cordova-plugin-whitelist" spec="~1.3.0" />
<plugin name="cordova-plugin-wkwebview-engine" spec="https://github.com/driftyco/cordova-plugin-wkwebview-engine.git" />
<plugin name="cordova-plugin-qrscanner" spec="~2.3.3" />
<!-- Hooks -->
<platform name="android">
<hook type="after_run" src="scripts/afterRun.js" />
</platform>
<platform name="ios">
<hook type="before_build" src="../../node_modules/cordova-plugin-qrscanner/scripts/swift-support.js" />
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>The camera is used to read QR codes.</string>
</config-file>
</platform>
<!-- Assets -->
<platform name="ios">
<!-- iOS 8.0+ -->
<!-- iPad Pro -->
<icon src="../ios/icons/icon-83.5@2x.png" width="167" height="167" />
<!-- iPhone 6 Plus -->
<icon src="../ios/icons/icon-60@3x.png" width="180" height="180" />
<!-- iOS 7.0+ -->
<!-- iPhone / iPod Touch -->
<icon src="../ios/icons/icon-60@2x.png" width="120" height="120" />
<!-- iPad -->
<icon src="../ios/icons/icon-76.png" width="76" height="76" />
<icon src="../ios/icons/icon-76@2x.png" width="152" height="152" />
<!-- iOS 6.1 -->
<!-- Spotlight Icon -->
<icon src="../ios/icons/icon-40.png" width="40" height="40" />
<icon src="../ios/icons/icon-40@2x.png" width="80" height="80" />
<!-- iPhone / iPod Touch -->
<icon src="../ios/icons/icon.png" width="57" height="57" />
<icon src="../ios/icons/icon@2x.png" width="114" height="114" />
<!-- iPad -->
<icon src="../ios/icons/icon-72.png" width="72" height="72" />
<icon src="../ios/icons/icon-72@2x.png" width="144" height="144" />
<!-- iPhone Spotlight and Settings Icon -->
<icon src="../ios/icons/icon-small.png" width="29" height="29" />
<icon src="../ios/icons/icon-small@2x.png" width="58" height="58" />
<icon src="../ios/icons/icon-small@3x.png" width="87" height="87" />
<!-- iPad Spotlight and Settings Icon -->
<icon src="../ios/icons/icon-50.png" width="50" height="50" />
<icon src="../ios/icons/icon-50@2x.png" width="100" height="100" />
<!-- Splash -->
<splash src="../ios/splash/Default~iphone.png" width="320" height="480"/>
<splash src="../ios/splash/Default@2x~iphone.png" width="640" height="960"/>
<splash src="../ios/splash/Default-Portrait~ipad.png" width="768" height="1024"/>
<splash src="../ios/splash/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>
<splash src="../ios/splash/Default-568h@2x~iphone.png" width="640" height="1136"/>
<splash src="../ios/splash/Default-667h.png" width="750" height="1334"/>
<splash src="../ios/splash/Default-736h.png" width="1242" height="2208"/>
</platform>
</widget>