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
9
votes
3 answers

10-Day Notification of Google Play Developer Term Violation regarding OneSignal push notification service

Today i received an email from google about policy violation regarding my Onesignal notification service used in my app. It is about collecting personally identifiable information (PII) without disclosure Following email "Hello Google Play…
Sarun1001
  • 191
  • 1
  • 12
9
votes
4 answers

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

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?
user3544256
  • 201
  • 1
  • 3
  • 9
8
votes
4 answers

Android App crashes on OneSignal push notification

I developed a React Native app that crashes every time a push notification from OneSignal is received while the app is active. The error is java.lang.NoSuchMethodError: No static method zzc. If I receive the notification when the app is on…
Arnaud
  • 4,884
  • 17
  • 54
  • 85
8
votes
2 answers

':app' cannot be executed in the current context - android studio 3.2.1

I am using from OneSignal in my project like bellow: def taskRequests = getGradle().getStartParameter().getTaskRequests().toString() def isPlay = !(taskRequests.contains("Foss") || taskRequests.contains("foss")) buildscript { repositories { …
jo jo
  • 1,758
  • 3
  • 20
  • 34
8
votes
2 answers

Get additionalData from Onesignal (Phonegap)

I read the doc here : https://documentation.onesignal.com/docs/cordova-sdk but it's totally not clear ! I try severals test nothing, I event test to get the title but still nothing document.addEventListener('deviceready', function () { // Enable…
Jean R.
  • 476
  • 4
  • 16
  • 44
8
votes
1 answer

OneSignal not accepting player id 'invalid_player_ids' when sending notification via REST API

I'm using OneSignal for mobile push notification, but some devices' ids got in invalid_player_ids when sending the notification from my REST API. It have happened with different devices. Both android and ios. Current i'm using an android device. And…
schirrel
  • 303
  • 2
  • 4
  • 7
8
votes
6 answers

how to test Onesignal push notifications on localhost?

I want to test OneSignal push notifications on localhost before I deploy my app to a remote server. I followed the instructions provided by the documentation. When I enter http://localhost as the site url I get an error message that says: localhost…
Abdelaziz Mokhnache
  • 4,269
  • 3
  • 25
  • 35
8
votes
2 answers

No such module OneSignal

I have an issue with OneSignal module. It keeps giving me No such module OneSignal and I installed it by cocoa pods and have use_frameworks! in my pod file. I really have no clue what else I should configure to make it work I tried other solutions…
AlmoDev
  • 969
  • 2
  • 18
  • 46
8
votes
2 answers

Integrating OneSignal with Angular

I'm trying to integrate OneSignal into my Angular 2 app to receive push notifications. First I did a HelloWorld app using plain old HTML and it works beautifully. So I tried to include it into my Angular app, but users are not getting…
PsyGik
  • 3,535
  • 1
  • 27
  • 44
8
votes
4 answers

One Signal - idsAvailable is deprecated

OneSignal's latest build version generate a warning like 'idsAvailable' is deprecated. How can I get 'playerID' using getPermissionSubscriptionState() instead idsAvailable as I did below? OneSignal.idsAvailable({ (userId, pushToken) in …
iamburak
  • 3,508
  • 4
  • 34
  • 65
8
votes
2 answers

How to resolve: language content complaining with OneSignal in Swift

I'm using OneSignal to manage my push notifications. For some notifications, I'm receiving: Notifications must have English language content But I'm only sending everything in the english language... oneSignal.postNotification(["headings" : ["en":…
David Seek
  • 16,783
  • 19
  • 105
  • 136
8
votes
2 answers

Android: OneSignal how to change Notification bill icon with custom icon or app icon?

When notification is received the bill icon is shown instead of app icon or custom icon that i override it to be shown from code. i could to change the icon from the dashboard but i want to handle it from the code Intilaization …
Mina Farid
  • 5,041
  • 4
  • 39
  • 46
8
votes
2 answers

Milkman's Push ANE not working on iOS10

I'm using the Milkman EasyPush ANE for push notification in my iOS and Android apps. Together with the OneSignal backend. All is fine with iOS 9 and Android, but no iOS 10 devices register. I'm building with AnimateCC (same as Flash CC Pro) and Air…
nbuechi
  • 229
  • 4
  • 20
8
votes
1 answer

Using OneSignal and I'm trying to save player id to javascript variable, API unclear

I have a OneSignal account hooked up to a Cordova/iOS app. I need to save the player id in my own database so I can send push notifications to specific users when tasks are due or events are happening. I've looked at the API here:…
user1840525
  • 201
  • 2
  • 6
8
votes
5 answers

Swift didReceiveRemoteNotification not called

I have an app with oneSignal as push provider. I can receive push notifications, that work good. But if I try to access push payload I get nothing as didReceiveRemoteNotification not called. I have following code func application(application:…
Alexey K
  • 6,537
  • 18
  • 60
  • 118