Comments (7)
My using now https://www.domain.com/safari/index.php/v1/pushPackages
You must be providing a URL in the form https://www.domain.com/v1/pushPackages
, if you put the files, including the .htaccess in your root folder https://www.domain.com/
then it should work correctly.
from safari-push-notifications.
here whats the meaning of $body = @file_get_contents("php://input"); ?
from safari-push-notifications.
That captures the JSON request from Safari
from safari-push-notifications.
Sorry Jack James am not getting application, please can you help me out?
You mention that "You must be providing a URL in the form https://www.domain.com/v1/pushPackages" so which form?
I am direct entering https://www.domain.com/v1/pushPackages url in safari,
now debugging code like:
if ($function == "pushPackages") { //Build and output push package to Safari $body = @file_get_contents("php://input"); $body = json_decode($body, true); echo "< pre >---"; print_r($body); exit;
so here am getting blank array.
so whatβs wrong I am doing here?
from safari-push-notifications.
please provide me with a link to your site, and undo any changes to index.php
from safari-push-notifications.
Here is the link https://www.domain.com/safari/index.php/
from safari-push-notifications.
As I said before, that URL will not work. Your push service must be the root, https://www.imobdevtech.com not https://www.imobdevtech.com/safari/
from safari-push-notifications.
Related Issues (17)
- Denied permission HOT 8
- Not possible to add new tokens in the database if the user is not connected HOT 12
- Send Notifications by Packages HOT 13
- urgent! support TLS instead of SSL HOT 3
- No pushs, no registration and errors in logs HOT 14
- No input file specified. HOT 9
- You have denied this website permission to send push notifications. HOT 11
- PHP Warning: openssl_x509_read HOT 6
- Sign Package with AppleWWDCA
- Not Getting Request Dialog HOT 7
- You have denied this website permission to send push notifications. HOT 1
- Doesn't send any push notification! HOT 10
- I'm trying to change the index.php to something else HOT 1
- Delete push* and push*.zip in the /tmp folder from the server after sending the push. HOT 4
- No check after send push HOT 42
- Is SSL obligatory? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from safari-push-notifications.