Questions tagged [onesignal]

OneSignal is mobile and web push notification and SMS/email messaging service and API. Developers and marketers use OneSignal to deliver and track targeted transactional and promotional messages to their customers.

Official Resources:

1638 questions
34
votes
16 answers

How to get One Signal unique user id in Mobile?

I am developing a restaurant app. I am using One Signal in my app to send notifications. Here while I place the order I need to send the unique Id of the one signal for a specific user for getting notification of "Your Order is placed…
Parama Sudha
  • 2,583
  • 3
  • 29
  • 48
26
votes
5 answers

How to make a external API call inside express server?

Hello I ve been trying to implement OneSignal API on my dashboard and I wonder if it is possible to make a API external call inside express server. Here is an example: var sendNotification = function(data) { var headers = { "Content-Type":…
enrico_alvarenga
  • 371
  • 1
  • 3
  • 5
23
votes
1 answer

OneSignal how to send Push to specific device - ionic

I want onesignal to be able to send push notification to a specific device. How do I capture the device id of the device ? And what API do I use to push to that specific device ? Thanks.
Axil
  • 3,606
  • 10
  • 62
  • 136
23
votes
8 answers

No such module 'OneSignal'

I'm trying to integrate OneSignal SDK in Xcode 7.2.1 with CocoaPods 1.0.0.beta.2 and use_frameworks! directive. When I try to import the framework in AppDelegate.swift I get No such module 'OneSignal'. I also have other frameworks included from…
Mihai
  • 711
  • 1
  • 9
  • 14
22
votes
4 answers

Flutter Cannot run Project.afterEvaluate(Closure) when the project is already evaluated

Workaround way: Looks like there is dependecy of onesignal plugin on flutter_tools. The solution is to place onesignal plugin after it in the sequence in the "android/app/build.gradle": apply from:…
Aksoyhlc
  • 285
  • 1
  • 3
  • 11
17
votes
4 answers

Web Push notifications with iOS 11.3

EDIT - MARCH 2023 ITS HERE iOS With 16.4 With the release of iOS 11.3 and it's inclusion of service workers, I have been trying to find information about whether or not web push is also available now, particularly for the usage in PWA's. Does…
Nicholas Tsaoucis
  • 1,381
  • 2
  • 17
  • 39
16
votes
1 answer

OneSignal's Provisionator Tool doesn't authenticate: Incorrect 2 factor auth code

https://onesignal.com/provisionator always returns "Incorrect 2 factor auth code! Please double check the code and try again." - when code is correct. Tried 3 times - always the same error. Support suggests to manually generate certificates, though…
Daniel Garmoshka
  • 5,849
  • 39
  • 40
15
votes
3 answers

how to check if the SDKs in my app are collecting any Advertising ID

Google sent me a warning to inform me about one of my apps collecting Android Device Id and Advertising ID informations. Is there any tool i can use to test which SDK is involved in this activity? P.s: I'm using the following SDK: Admob mediation,…
ALAEDDIN
  • 209
  • 3
  • 10
15
votes
7 answers

How to get One Signal user's unique player id in iOS?

How to retrieve the OneSignal users' unique player id in iOS? I only found iOS SDK Setup in OneSignal Official Documentation. Thanks if any suggestions are given.
aznelite89
  • 2,025
  • 4
  • 21
  • 32
14
votes
2 answers

Bad Notification: Couldn't expand RemoteViews for: StatusBarNotification. on Android Nougat

I use OneSignal SDK to show notifications. I do it in OneSignalPushService.java. OneSignalPushService.java: public class OneSignalPushService extends NotificationExtenderService { @Override protected boolean…
14
votes
2 answers

OneSignal: How to Handle notificationOpened in AppDelegate of a Xamarin.Forms app?

I am working on implementing OneSignal push-notification in Xamarin.Forms. I need to pass the string returned by OneSignal AdditionalData into the constructor of App(). So I used HandleNotificationOpened(OSNotificationOpenedResult result) for…
Apoorv Mehrotra
  • 607
  • 5
  • 13
13
votes
4 answers

Hide push notification if it contains specific elements

I won't show a received push notification from appearing top notifications menu my notification if it has for example key update. For now if I get notification with this key, all notifications are in the notification bar. I want to not present this…
Robson
  • 1,207
  • 3
  • 21
  • 43
13
votes
1 answer

How to send some additional data while sending push notifications using OneSignal?

I am developing an Android application as well as writing writing a C# Web Api for it. Now i can send push notifications using the code below. But i have to send a json object which will contain a url for an image so that when user clicks the…
Harry .Naeem
  • 1,245
  • 3
  • 20
  • 33
13
votes
2 answers

Send tag to OneSignal after log in

I want to send tag to a specific user after he/she logged in so he/she can receive notifications. Only logged in users will receive notifications. When he/she logs out, I will delete his/her tag. How can I do this? My code in AppDelegate: let…
Apple Ramos
  • 265
  • 3
  • 13
12
votes
3 answers

Why am I receiving the message "All included players are not subscribed"?

I'm trying to setup location based push notifications using OneSignal and I'm not receiving notifications. I am getting the error All included players are not subscribed. I don't see what the problem is, any ideas? On the OneSignal list of "All…
user1532669
  • 2,288
  • 4
  • 36
  • 72
1
2 3
99 100