onesignal

Device to Device Notifications in iOS

荒凉一梦 提交于 2019-11-30 20:58:26
问题 I'm a newbie iOS developer and trying to implement device to device notification in iOS something to handle friend requests etc.. I'm looking for documentation that guides me in the process. I'm using firebase as my backend system but I'm cannot find any documentation about device to device notification . I also checked out One Signal but still having hard time figuring out how this is implemented , Can anyone point me in the right direction 回答1: You'd need to implement this logic with server

My exported .ipa file of push notification app didn't send notification on device when installing via iTunes instead of Xcode build [Development]

不打扰是莪最后的温柔 提交于 2019-11-30 20:21:22
问题 I used OneSignal for push notification service. (Development) I set Provision Profile of push notification service for my app When I run from Xcode,everything works fine on every device. But,when I create archive(.ipa) with Debug Scheme and install via iTunes,the device seem to connect to OneSignal Push Notification service.But,can't receive notification from our backend service that was connected to OneSignal. So,I think there is a problem with APNS Any help with that?Did I do something

How to Send push notifications using One Signal + PHP + Server API?

帅比萌擦擦* 提交于 2019-11-30 10:07:06
I am using one signal to send push notification for android app. My question is How Can I setup send push notifications using server rest api? <?PHP function sendMessage(){ $content = array( "en" => 'Testing Message' ); $fields = array( 'app_id' => "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx", 'included_segments' => array('All'), 'data' => array("foo" => "bar"), 'large_icon' =>"ic_launcher_round.png", 'contents' => $content ); $fields = json_encode($fields); print("\nJSON sent:\n"); print($fields); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://onesignal.com/api/v1/notifications"); curl

OneSignal iOS issue “No Push Token” with SDK 2.0.7

被刻印的时光 ゝ 提交于 2019-11-29 17:25:27
I am confronting a weird error from OneSignal and push notifications. I have 3 devices (2 iPhones, 1 mini iPad). After i completed the entire process of Push notifications, only my iPad receives push notifications from OneSignal. All my devices are registered in my Developer Account and what i found is the most weird situation is that i NSLOG the didRegisterForRemoteNotificationsWithDeviceToken to see if each device connected receives a token and they all indeed get a token but for some reason OneSignal doesn't. Only the iPad token. The only difference that i could see is that the iPad is 9.3

OneSignal Push Notification ClickEvent show empty values Windows phone 8.1 C#

故事扮演 提交于 2019-11-29 16:16:00
I'm working on One Signal Push Notifications for windows phone 8.1. Notification works fine. but when I click on notification then the message display empty value. While when application is ON then message display in event. how can I get the notification text to save in my notification screen? My App.Xaml.cs Function code is here. OnLaunched Event: OneSignal.Init("32cdee4b-7838-4b6c-a024-ae25cecb2234", e); OneSignal.Init("32cdee4b-7838-4b6c-a024-ae25cecb2234", e, notificationOpened); Here is notificationOpened Function Code: private async void notificationOpened(string message, IDictionary

OneSignal Push Notification ClickEvent show empty values Windows phone 8.1 C#

痴心易碎 提交于 2019-11-28 10:05:50
问题 I'm working on One Signal Push Notifications for windows phone 8.1. Notification works fine. but when I click on notification then the message display empty value. While when application is ON then message display in event. how can I get the notification text to save in my notification screen? My App.Xaml.cs Function code is here. OnLaunched Event: OneSignal.Init("32cdee4b-7838-4b6c-a024-ae25cecb2234", e); OneSignal.Init("32cdee4b-7838-4b6c-a024-ae25cecb2234", e, notificationOpened); Here is

How to navigate screen on notification open in React Native with One Signal?

安稳与你 提交于 2019-11-27 16:28:53
问题 Here is my code, how can I navigate user to the desired screen when clicked on a notification or button in a notification. componentWillMount() { OneSignal.addEventListener('received', this.onReceived); OneSignal.addEventListener('opened', this.onOpened); OneSignal.addEventListener('registered', this.onRegistered); OneSignal.addEventListener('ids', this.onIds); OneSignal.inFocusDisplaying(2); OneSignal.requestPermissions({ alert: true, badge: true, sound: true }); } componentWillUnmount() {