We tried to implement the push notification in blackberry. We followed the steps provided in BB developer guide.
We installed the push SDK in our system. once the SDK is installed, we checked whether the tomcat is running ... It was running fine. But, we could not find the sample push server app. (war file is missing in the webapps folder of tomcat).
Are we missing anything or should we install the push server sample app seperately from elsewhere ?
Any pointers where the steps for configuring a push server and a push client app (in device) would be very much helpful ....
Thanks in advance.
php Server side code reference
This is very helpful for the server side code.
Related
I have the certificate from the Apple Push Notification Services. My App developer has not idea on how to install that on the server and neither do I. My server information
Apache Version 2.2.34
PHP Version 5.6.30
MySQL Version 5.6.41-84.1
You need to put it in the same path as your php script that contains the code to trigger the push for example in terms of local Mamp
hdocs
scrip.php ----------=> access would be $pushCertAndKeyPemFile = 'certificate.pem';
certificate.pem
For php code example look here Using PHP to send iOS Push Notifications via APNs
can't get my head around hot code push in my setup:
on server A (osx with xcode and add-platform ios) i built a meteor cordova app with
meteor run ios-device --mobile-server https://productionserver.com
(when i point my cordova app at my localhost:3000 hot code push is working just fine).
on server B (linux, nginx, some meteor instances on port 808x) i run
meteor --port=127.0.0.1:8080
server B runs without add-platform ios (linux), but i found an interesting discussion from slava here and did:
meteor add-platform firefoxos
and thought that hot code push would trigger with this stub.
when i change the code (client directory) on server B, the change is reflected when i call the web interface.
But in my cordova app no change is happening even after app restart.
can you please point me in the right direction?
how is the code push happening behind the scenes?
how should i set up my build/prod environment the make hot code push working?
thanks for your help
I got my app working. The problem was that I had removed android from the platforms list. I'm guessing you still have ios in your platforms.
Your Meteor setup strikes me as a little odd:
1. you say you have multiple Meteor instances on port 8080?
2. Also starting Meteor on a specific port uses command meteor --port 8080 and not the IP.
3. Does the app actually connect to the server? As in databases get synced and new information gets sent across?
Tested java build with ios production certificate from local windows machines. It was working fine and the push notifications were sent successfully to iphone and ipad.Push notifications are done using javapns.
Deployed the same build in Linux machine, but the push notifications are not working now.
Granted full permission for p12 file in linux server.
should we add/grant anything in the linux server for sending push notification from Linux.
Please help to sort out this issue.
check your java version
JavaPNS javapns-jdk16 Java1.6 compatible
When I create new project in Xcode 5, Am trying to add new server for source control. But am getting error alert like this "The Xcode service is disabled on this server. Please contact your administrator for help".
Please check out how to turn on the OSX Server Xcode service at the following link:
https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/200-Adopting_a_Continuous_Integration_Workflow/adopt_continuous_integration.html#//apple_ref/doc/uid/TP40013292-CH3-SW1.
If review of this guide does not fix your issue please let me know more specifics about your environment. If it does help please consider accepting the answer so others will locate the resource.
Important Conceptual Notes:
When you setup a new project and you are offered a server this refers to an OSX Server only (not github or any non-OSX external server):
So basically just make sure the OSX Xcode service is ON or restart your 10.9+ OSX server if possible...
NB: If what you want to do is to push your repository to github.com or code.google.com please see the following links for instructions on getting this to run in Terminal. Once the link between the remote repository and your local directory then Xcode will be able to push updates to your remote repositories (this will be available as a checkbox when you commit your project).
Github Help
Pushing to Google Code
It sounds like you want to add a repository, not an XCode Continuous Integration server.
Adding a server is adding an XCode Continuous Integration server.
Use add repository instead. See the guide in the first link.
It seems like a "Server" in apple's definition is not a BitBucket server or GitHub server, it has to be a server that you host by yourself. Otherwise you are looking at adding a "repository".
I got enlightened by the screenshot below, note the server address:
I tried the apple push notification API and made it work on my local mac(environment). I tested it in my local tomcat, everything works fine and iOS devices receive notifications as excepted.
But when I deploy my war into the tomcat at remote server( Amazon EC2 instance), noted that I use the same .p12 file for verification. The application returns a successful message but the iOS devices could not receive any messages.
I checked the connection with Apple push server, everything seems fine.
I am wondering if I missed any other system set up for this Amazon EC2. The same code works on a tomcat on windows machine as well.
Thanks!
I have verified that sending a push notification from ec2 through Apns works great. I was having trouble, but it turned out to be using a cert for the wrong app and it failed silently. If you have trouble connecting then check firewall. If it is saying that it sends successfully but there is no delivery then eliminate variables in your certs.