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
0
votes
1 answer

Problems with implementing OneSignal Corna SDK

I am trying to implement OneSignal Corna SDK for receiving PUSH NOTIFICATIONS, But it is giving me a runtime error stack traceback: /Users/ojussave/Library/Application Support/Corona/Simulator/Plugins/plugin_OneSignal.lua:49: in function…
ojus
  • 128
  • 5
0
votes
2 answers

React-native-onesignal : duplicate error with Pods

I'm losing my mind on a problem since 1 entire week... I have a ReactNative project, that runs very well on Android Simulator, but not on Xcode. My code Actually, I have in my package.json : Package.json ... "react": "15.4.2", "react-native":…
John
  • 226
  • 1
  • 3
  • 14
0
votes
0 answers

How use notifications for iOS 10 without UserNotifications framework for OneSignal and Swift 2.3?

I'm trying to let me users receive notifications over OneSignal, but I'm using Swift 2.3 and have an older Macbook that cannot upgrade to XCode 8. Is this possible? And how? Here is the suggested OneSignal Swift Code... …
Charles Jr
  • 8,333
  • 15
  • 53
  • 74
0
votes
2 answers

Syntax issue while sending data using OneSignal sendTags in swift3

I am facing build issue in this line. It's taking lot of time to buid. strJsonBody = "{" + "\"app_id\": " + GUARD_APP_ID + "," + "\"included_segments\": [\"All\"]," + …
Rahul Gupta
  • 501
  • 1
  • 7
  • 15
0
votes
1 answer

redux-saga execute generator from classic callback function

I'm creating a ReactNative app using redux-saga, but I have some problem to use some of the plugins in combination with redux-saga. My code looks like that. How can I execute the IdsAvailable generator?? function *IdsAvailable(pushToken,…
0
votes
2 answers

ANDROID: onesignal notifications using tags

I am creating push notifications using onesignal,I send push notifications by player ids but it has a limitation. I have a login system and i want to send notifications for different users and if two or more users login from same device then i can't…
Hena Shiekh
  • 803
  • 3
  • 9
  • 13
0
votes
1 answer

How do I store notifications details in iOS app?

I want to store the title and body of a oneSignal notification. How do i do it? i tried storing those values in UserDefaults, but when the app is terminated, total data is lost. How do I store and display notifications?
Rohit Dulam
  • 105
  • 1
  • 7
0
votes
3 answers

React-Native render a page on push notification

My index.ios.js responds to a push notifications. I want this to send the user to a different page if the phone is open. I am unsure how to do that. I am using OneSignals for push. import React, { Component } from 'react'; import { ... } from…
Alain Goldman
  • 2,896
  • 5
  • 43
  • 75
0
votes
1 answer

Unable to receive notification when app closed

How I can receive push notification when app was closed? When I roll up app notification received, but when I close - no. I`m using react-native and onesignal.
Vadim
  • 68
  • 6
0
votes
1 answer

How to work with existing action Buttons

I am receiving notifications from onesignal with actionButtons sent from the service. How can I deal with those buttons and handle their events? protected boolean onNotificationProcessing(final OSNotificationReceivedResult receivedResult) { …
Mlle 116
  • 1,149
  • 4
  • 20
  • 53
0
votes
1 answer

Adding multiple results for js if statement

Setting up a couple of things with OneSignal sdk. Basically, I want the site to show a certain piece of content only to people who have subscribed to my notifications. Copied a piece of code from their tutorial section. Everything works fine, if…
Arlindo
  • 13
  • 5
0
votes
1 answer

Android Grouped Notification (from OneSignal) crashes app when trying to open

Clicking on single notifications from OneSignal opens my app without issues, but if I have a grouped notification, it attempts to open the app and then closes it without much error. The only thing I can really see of relevance in my output logs is…
hamham
  • 561
  • 4
  • 13
0
votes
1 answer

Swift Send additional data through Notification

How can I pass additional data in my notifications im currently using Onesignal to send notification. im not sure if im using the key additionalData to send the additional data. I receive the notification but I do not receive the additional…
SwiftER
  • 1,235
  • 4
  • 17
  • 40
0
votes
1 answer

Is it possible to make a notification using geolocation as a condition?

Example: Schedule a notification for 15 minutes and save the user's location. If the user leaves radius, the notification will not be sent. Would it be possible to do this using onesignal or just with cordovaLocalNotification? var notificationObj =…
0
votes
1 answer

OneSignal @Override not applicable to type

{Novice Android Developer} I am following this tutorial regarding adding OneSignal Push notifications to my application. One thing that I am having difficulty with is the adding of the MainActivity.java code found at the end of the tutorial. I…
abbanoob
  • 216
  • 1
  • 16
1 2 3
99
100