I was developing an application with push notification enabled. It is working perfectly in the local server (company server - PHP), but when I change the server to the client server, the push notification is not working.
I used both the development and distribution profile with push notification enabled.
Please help me to overcome this situation.
Are still using a Development Certificate when your client has a Ad Hoc (or App Store) provisioned App?
If your client has the App provisioned / signed for Ad Hoc (or App Store) then you need to use the Production certificate to send Push Notifications via the APNS. You also need to make sure you connect to the Apple's production server, and not the sandbox alternative.
It seems a little odd that Ad Hoc has to use the production versions of Certificate and Push Notification server, but that's how it is.
Related
I am creating a web portal using laravel framework to which one of its functionality is to send remote push notification on IOS App remotely. Many article in the internet is saying that we need the pem certificate file not p12. Why?
My co-worker who is developing the IOS mobile app, says that he is using the p12 certificate to get the push notifications from the Azure portal and successfully send push notification.
Is this because that he is pushing the app locally? Meaning the app directly sends the notification? And I am pushing notifications remotely from the web portal? Is there any difference when pushing the app remotely and locally?
Seems you are using Azure Notification Hubs. In Azure's official tutorial, they are obviously using the .p12 push certificate to configure authentication. So I think you don't need to worry to use it.
I am developing a tablet based android application and its back-end and api calls are done in php (slim lib) and mysql.
the app architecture is bellow.
there will be a local server machine in the building / room for handling api calls from android app through wifi network. all the data and media files uploaded /stored in the local machine. android app fetches the data/media files form server on demand via api calls.
Now am using xampp server for my test purpose and its work decently up to 10 devices . if the number of devices increases some devices lost the response from server or wait long time for response especially in file downloading from server to tab.
I have tested the app with real devices and commercial router. I need to improve the response speed from server and fast simultaneous file downloading.
Is there any commercial local apache server package available other than xampp and wampp.
Use EasyPHP. It is is one of the best contenders to Xampp.
Laragon
Easy Php
There are others, check out:
http://alternativeto.net
We are facing issue with push notification kind of feature in intranet.
we have PHP web server on localhost and client on android application.
We want to keep all devices updated even if there is update form any device.
here we can update server from client using web service but what about server to client notification.
We are using intranet only not internet so is there any push notification facility for such scenario. Because server needs to send update on all android devices if there is any change
I am new to web services and planning to design a php webservice for my android app on my local machine which will send some user informations to database and generate some JSON data. But the problem is i am little confused about how to test it.
For example lets say that my webservice will locate on my local machine like below http://localhost:80/webservice/register.php
And my ip address is 192.168.1.X
Than is it possible for my android app to use this web service by using this url http://192.168.1.X:80/webservice/register.php
Normally since webservices are on the internet any program can access them. But i thought that i can test my webservice with my android app since both my pc and android device are on the same subnet.
If someone make things clear and tell me a way for testing a web service locally i appreciated
This is possible to call the web service in the local network also from the android app. But Your device and Your server on which Web Service running must have on the same network and Your firewall or any proxy server must be off on the server.
I want a develop a web application with php, and I want a run my apps with a android device. But my device will not be connected to internet, so I must create a local server on the device to run my php code. Is it possible? And if it's possible how?
Based on this page, developing Web Server for mobile devices is still on the research phase. Most probably you would need to use some kind of simulator for Android and develop your App on powerful desktop PC.
EDIT: Looks like such a server exists for Android.
Please use KSWEB.apk. This app supports PHP, SQL, html, csc, but it requires 3 android devices. The first serves as router, the 2nd device is a local server and the 3rd devices is a monitor.
I'm not sure about your need to have a web server running on your phone, but if you have a wireless router and your phone can connect to it, can you not install an Apache server with PHP support on your development PC and access it via your phone's wireless connection?