I am using Onesignal for the first time. I have an ecommerce website. If an order is received the admin should get a push notification with the order amount and delivery date. Please Help me to do this with one signal. how to add dynamic data to the message. Thanks in advance Sourc..
I am using PHP and Curl to extract the OS of a device (IOS or Android) from OneSignal based on the player_id of the device. My code looks like that. I keep on receiving an empty json response $appId = ‘4d2fa828-xxxx-xxx-xxx-ee823915586e’; $fields = array( ‘app_id’ => "4d2fa828-xxxx-xxx-xxx-ee823915586e", ‘include_player_ids’=>[‘a4602bf7-xxxx-xxxx-xxxx-ab484618c03e’], ‘language’ => "en" ); $fields = json_encode($fields); ..
I have a WordPress site and WebView android app.I wanted to send post push-notification into android app via Onesignal with post featured image. I tried many times for solution.Finally I found this.I will explain it for any other crying folks.:) One Signal ask for php code to add your wordpress site via mu-plugin.(like below link) ..