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
12
votes
2 answers

Is there a way to delete a user via API for OneSignal?

When I delete a user from my backend I also want to delete the entry from the OneSignal database to keep my numbers and pushes precise (also important for A/B testing). Is there a way to do that? I searched the API but I couldn't seem to find…
Markus
  • 599
  • 1
  • 5
  • 18
12
votes
5 answers

Push notification with OneSignal: What means "No Push Token"?

I'm using OneSignal for push notifications. In the subscribed list some devices/users are marked with No (No Push Token). Explanation says: This user has no push token and cannot be targeted. That occurs for iOS devices as well as for Android…
user6465101
11
votes
3 answers

No such module 'OneSignal' - XCode Swift Compiler Error

I'm currently trying to add OneSignal to my react native expo (bare) IOS build and have followed OneSignal's guide as shown here: https://documentation.onesignal.com/docs/react-native-sdk-setup However, Xcode has flagged up a compiler error of: No…
MartynFItz
  • 153
  • 1
  • 10
11
votes
4 answers

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

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',…
Abid
  • 117
  • 1
  • 2
  • 9
11
votes
4 answers

How posting One Signal notification's additional data and receiving that?

I checked OneSignal documentation but I couldn't understand clearly as beginner how setting dictionary as a post notification's additional data (like postID, userID, type) in iOS Native SDK using Swift to decide and redirect when user interacted…
iamburak
  • 3,508
  • 4
  • 34
  • 65
10
votes
1 answer

Error 'Plugin-Version' of 'unspecified' for 'com.android.build.gradle.AppPlugin@1544e09d' is not a valid version number. Ionic 6

when trying to build the project for android (ionic cordova build android --prod --release), I get the following error: Error 'Plugin-Version' of 'unspecified' for 'com.android.build.gradle.AppPlugin@fbc39d3' is not a valid version number OneSignal…
Martin Lopez
  • 101
  • 1
  • 4
10
votes
2 answers

Onesignal vs GCM(FCM)

I use FCM in my social messaging app. Sometimes FCM messages can not be delivered from the server to client. Is there any benefit to using OneSignal when I've got to do the full FCM setup as well in server and client sides? I reviewed OneSignal…
propoLis
  • 1,229
  • 1
  • 14
  • 48
10
votes
3 answers

Certificate being rejected by Apple

While configuring certificate for Push Notification on my ios build of cordova project using OneSignal, the certificate is getting rejected every time I'm trying to configure it. I've followed steps mentioned in…
imrealashu
  • 5,089
  • 4
  • 16
  • 28
10
votes
5 answers

How to prevent alert with incoming OneSignal notification?

I use OneSignal push notifications. When android app is in foreground and receives a notification, it creates an alert box with the notification. How to prevent this from appearing when receiving notifications?
user3671635
  • 317
  • 1
  • 2
  • 11
10
votes
2 answers

Mismatched Bundle ID (Sandbox) in OneSignal

I'm trying to send PN to my iOS App. I followed the standard steps, i.e.: create new app and upload the development and distribution(sandbox) certificates put the App id in my project: OneSignal.initWithLaunchOptions(launchOptions,…
Rawan
  • 1,589
  • 4
  • 23
  • 47
10
votes
2 answers

Onesignal push notification advanced targeting

I'm using onesignal to handle pish notification for both my web and ionic app. My question is Can I setup user segments using server rest api ? I want to give my users ability to subscribe to specific events (channels) to limit push notifications…
Zalaboza
  • 8,899
  • 16
  • 77
  • 142
9
votes
2 answers

Flutter: Undefined symbols for architecture arm64

After migrating to null-safety and flutter 2 I get problem with ios build: I run flutter clean; rm ios/Podfile.lock pubspec.lock; rm -rf ios/Pods ios/Runner.xcworkspace; flutter run --flavor dev -t lib/main_dev.dart and got this logcat: …
andreich
  • 1,120
  • 1
  • 11
  • 28
9
votes
2 answers

framework not found Pods_OneSignalNotificationServiceExtension

I use OneSignal for push notification in Flutter. I can build it on devices and simulator but has the errors when archiving. ld: framework not found Pods_OneSignalNotificationServiceExtension
akifarhan
  • 1,101
  • 10
  • 26
9
votes
5 answers

How do I open a specific page on onesignal notification click on flutter?

I am using OneSignal push notification service and I want to open the app directly to specific page on notification click. I am sending the page through data. I tried navigator.push but it didn't work i guess because of context issue. I am calling…
Ashutosh Sharma
  • 1,419
  • 2
  • 12
  • 22
9
votes
1 answer

OneSignal - Send scheduled notification

I want to send scheduled messages for OneSignal but instead of using their dashboard I want to use an API to do this and I did read their documentation but I could not find anything is there away to modify their current API so I can send the…
Nouf
  • 733
  • 1
  • 11
  • 32