summaryrefslogtreecommitdiff
path: root/plugins/phonegap-plugin-push/example/server/pushAPNS.rb
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-10-31 08:21:38 -0400
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-10-31 08:21:38 -0400
commit02811010cf62f1b21a06780d1e470d04bb24c50f (patch)
tree0d933789068aac11c810ed4bb169d14ab16c43c6 /plugins/phonegap-plugin-push/example/server/pushAPNS.rb
parentbca561c1b3989d62a1fba829e0380c6fbf36caf5 (diff)
removed unecessary files from git
Diffstat (limited to 'plugins/phonegap-plugin-push/example/server/pushAPNS.rb')
-rw-r--r--plugins/phonegap-plugin-push/example/server/pushAPNS.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/phonegap-plugin-push/example/server/pushAPNS.rb b/plugins/phonegap-plugin-push/example/server/pushAPNS.rb
deleted file mode 100644
index 45a69a7d..00000000
--- a/plugins/phonegap-plugin-push/example/server/pushAPNS.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-require 'rubygems'
-require 'pushmeup'
-
-
-APNS.host = 'gateway.sandbox.push.apple.com'
-APNS.port = 2195
-APNS.pem = '</path/to/my/certificate/ck.pem>'
-APNS.pass = '<myCertificatePassword>'
-
-device_token = '<device token gleaned from xcode console>'
-# APNS.send_notification(device_token, 'Hello iPhone!' )
-APNS.send_notification(device_token, :alert => 'PushPlugin works!!', :badge => 1, :sound => 'beep.wav')