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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
7 views

Unable to view web push notification in MacOS Chrome

MacOS Ventura Chrome v111.x I have been stuck literally for a week trying to work out this issue. I am not able to "view" web push notifications in Chrome in my MacBookPro on some websites. ...
0 votes
0 answers
17 views

Users get unsubscribe after sending a notification - Laravel 5.8 - OneSignal - Send Notification

I am using this api to register user curl --location 'https://onesignal.com/api/v1/players' \ --header 'Content-Type: application/json' \ --header 'Authorization;' \ --header 'Cookie: ...
0 votes
0 answers
18 views

Wait for variable to declared on startup in flutter with onesignal

I'm currently trying to build a flutter app that reflects a website. This works so far, but now I want to control the initURL for the webview via a push notification from OneSignal. If the app is ...
  • 31
2 votes
3 answers
111 views

Recurring Notifications- OneSignal API Flutter

I am making a Calendar app where the user can schedule events. The problem: User creates an event that repeats every week/day/month/year. I need to schedule a notification for every week/day/month/...
0 votes
0 answers
9 views

Flutter how can I use Onesignal and workmanager plugin in same project

in my flutter project I want to use workmanager plugin and onesignal plugin same time but workmanager plugin request minimum gradle level 7.1.2 but onesignal doesn't work with this gradle level. ...
  • 23
0 votes
0 answers
13 views

or operator in filter tags on Onesignal

Just a quick question. So we are using mobile push notifications with Onesignal. When users mobile devices are registered, it initialize with their own tags registered. Now, I am sending via REST the &...
1 vote
0 answers
22 views

OneSignal In App Messaging always display full screen dialog in android

Get full-screen dialog when firing In-App message in android, I also set the center view in one signal console, is anyone have any idea about this problem? OneSignal setUp: Get Notifications in ...
0 votes
0 answers
17 views

how to use onesignal with next.js 13?

I am trying to implement onesignal with my next js project but unable to do so. I tried there example uploaded on github and also tried with react-onesignal but got no success. can any one guide me or ...
0 votes
0 answers
39 views

Onesignal push function does not exist on type 'typeof OneSignal'

Here is the code: OneSignal.push(() => { OneSignal.isPushNotificationsEnabled(function(isEnabled: any) { if (isEnabled) console.log("Push notifications are already enabled!"); ...
0 votes
1 answer
28 views

How to send BuddyBoss Push notifications with OneSignal to a custom PWA?

I'm currently working on a Social Platform, which is hosted on wordpress with the BuddyBoss theme and plugins. The community is working fine and I also want to launch it as an app. I would really like ...
-1 votes
0 answers
36 views

OneSignal has detected that your application delegate implements a deprecated method (application:didReceiveLocalNotification:)

guys how you? I,ve been facing this error in flutter 1.22.6 and oneSignal 2.6.2 in MacOs Monteray I don't know what to do, because my application needs run in oldest iphone even thought newrest ...
0 votes
0 answers
31 views

OneSignal.h' file not found Xcode OneSignal 3.5.0

please help me, i try to upgrade onesignal_flutter : ^3.5.0 Issue Xcode :OneSignal/OneSignal.h file not found Note : Flutter version 2.10.5 OneSignal_flutter : ^3.5.0 Pod Version 1.8.4 Xcode version ...
-1 votes
1 answer
40 views

Send Push Notification on wordpress Comment Published with onesignal

using php to add action when there is a new comment in wordpress i have tried this conditioning on a simple action and it works fine, but here I get no results, please someone else who understands ...
0 votes
0 answers
30 views

The picture sometimes does not come in the OneSignal push notification Flutter

I ran into a problem that from time to time a picture in a OneSignal push notification does not come to the same device. This issue only reproduces on the android platform when the application is ...
0 votes
0 answers
31 views

notification don't pop up in flutter onesignal app

Hi I Have a problem with onesignal I am using API to send a notification when the user adds something in-app, everything is working perfectly but when he received a notification it doesn't pop up, ...
  • 1
0 votes
0 answers
23 views

How Can I Dynamically Open Application With Flutter And OpenSignal When Notified?

I'm building a Flutter application using OpenSignal. When I press the accept or reject button, I want the application to perform the relevant action without opening the application, and when I press ...
  • 1
0 votes
0 answers
34 views

OneSignal net::ERR_CONNECTION_RESET

I have a reactjs app which is connected to a oneSignal app for web notifications. here are my config for oneSignal function OneSignalInit(appid) { await OneSignal.init({ appId: appid }); ...
  • 101
-1 votes
1 answer
32 views

onesignal in ios for react native

I am getting error while debugingios log [connection] nw_socket_handle_socket_event [C94.1.2:1] Socket SO_ERROR [61: Connection refused] [connection] nw_connection_get_connected_socket_block_invoke [...
0 votes
0 answers
36 views

React Native Android SDK 31 cant upload to google play store, onesignal error

Build is successful but ium getting this error after, my manifest is updated with the android export true, the sdk target and compile are at 31, gradle tool at 3.5.3, react version 63.3, gradle ...
1 vote
1 answer
135 views

Onesignal Expo SDK Setup Google Android FCM Configuration, cannot read property 'smallIcons' of undefined at withSmallIcons (\withOneSignalAndroid.js)

I'm using Onesignal for push notifications but am stuck in an error and could not find the solution for many days. OneSignal SDK Configuration: I configured the Google Android (FCM) Configuration ...
  • 27
0 votes
2 answers
127 views

OneSignal PlayerId from android studio webview app

There's been a lot of talk about this already, but I just found confusion. I want to send notifications on my android app to a single user. (I hate android studio, and I'm not that good at java) I ...
  • 5,828
-1 votes
1 answer
31 views

Is there a limit on character length for app groups in Xcode?

When installing OneSignal into my Xcode iOS project, one instruction (to get badges to work) is to add an app group called "group.{{YOUR BUNDLE ID}}.onesignal". When I do that, the whole ...
  • 826
0 votes
0 answers
18 views

Custom notification sound in one signal android

Custom notification sound not working in one signal android Added the mp3 file in raw folder and provide the sound name in onesignal
0 votes
0 answers
34 views

Laravel Vite: add OneSignal CDN to website

I am trying to include two scripts, one is a cdn: <script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script> The other is OneSignal code: <...
0 votes
0 answers
25 views

OneSignal - Previously received notification is showing up again when app is opened next time

STR - when notification receive dismiss from notification panel close the app and don't use it for some time open the app again now will see the previously dismissed notification is showing up again. ...
  • 23
0 votes
2 answers
402 views

CORDOVA 11 android build failed: Unresolved reference: FireBaseInstanceId

I am trying to build my app on cordova to android. Cordova, Gradle and cordova-android was out of date, so i update them. The versions now are: Node 16.13.2 npm 8.1.2 cordova 11.0.0 cordova-android ...
0 votes
0 answers
97 views

Onesignal push notification as banner(Currently it only provides alert not showing any popup) with version 3.x)

Currently we are using one signal version 3.3.0 With this our current requirement is to show notification in popup in android and ios. How can we achieve that? OneSignal.setAppId(key); Current ...
0 votes
1 answer
146 views

How to send notifications to Laravel Users with Onesignal notification channel?

I'm trying to use laravel-notification-channels/onesignal with Laravel 9, Inertia React project. For first I setup the client in this way: useEffect(() => { OneSignal.init({ ...
0 votes
1 answer
70 views

Android app Huawei release problem, com.huawei.hms.common.ApiException: 6003: certificate fingerprint error?

I made an app. Everything is fine in the debug version, push (i use onesignal) messages are also received. However, the version (release) uploaded to the huawei store does not receive the push message....
  • 43
0 votes
0 answers
70 views

How to execute API call on flutter and send response to native side Android / IOS using method channel onBackground?

I want to show OnesSignal background notification based on condition which requires to call API and based on API response will decide to show/hide the notification from native Android / IOS side using ...
  • 23
0 votes
0 answers
21 views

Consuming a message sent by OneSignal

I have vue js application and i am consuming messages sent from a php script like this document.addEventListener("deviceready", OneSignalInit, false); function OneSignalInit() { ...
  • 13.1k
0 votes
0 answers
136 views

Error adding iOS Service Extensions using OneSignal and Capacitor 4

I'm migrating my Ionic + Capacitor 2 app to Capacitor 4 but I'm having trouble configuring the iOS Service Extensions using OneSignal. I'm following all the steps described in https://documentation....
  • 605
0 votes
0 answers
15 views

onesignal api php not detecting "send_after" parameter

I am sending this value to send_after parameter with php: "2022-12-28 11:47:00 GMT+300" but the notification does not come at the time I choose, it comes instantly. $date = date_create("...
1 vote
1 answer
146 views

After upgrading android to 31 app crashes when receiving push notifications android 12 or above devices

I have a push notifications issue after upgrading android to 31, app crashes when receiving push notifications on android 12 or above devices onesignal_flutter: ^2.6.4 buildscript { repositories { ...
1 vote
1 answer
636 views

Onesignal Notification permission issue in android 13, No permission dialog box appears

No permission dialog box appears.Only able to fetch getIds ,Cannot able fetch **pushToken ** in android 13 device.By this notification is not able to fire. Facing onesignal notification issue in ...
  • 11
0 votes
0 answers
50 views

Flutter Onesignal push notification, navigate to page when tapping on notification

I am using Onesignal system for push notification. How can I navigate user to specific app screen when user tap to notification. On web system I am using url properties but I don't know how to do this ...
  • 23
0 votes
1 answer
509 views

React Native OneSignal: User not prompted for consent on Android

In my React Native app, I want to prompt the user to consent to receiving OneSignal push notifications. I have the code OneSignal.promptForPushNotificationsWithUserResponse(), which on iOS ...
  • 5,586
0 votes
0 answers
25 views

How to call api in NotificationServiceExtension?

How to call api NotificationServiceExtension Android and similar in IOS ? when notification is received i want to check the condition based on api call response package com.example.app import android....
  • 23
0 votes
0 answers
61 views

How to show / hide scheduled notification based on condition?

How can I show / hide scheduled notification based on condition? Example Use case - Let's say To-Do tasks notifications are scheduled for 10 users at a specific time of 1:30 PM and some users have ...
  • 23
0 votes
0 answers
70 views

Add onesignal push notification to better message buddypress plugin

I've already set all on my webview on mobile I've just to hook the onesignal message create function to the better message function to send message, the message will be sent to external user id that ...
0 votes
1 answer
103 views

OneSignal: Moving from p12 certificate to p8 certificate

I'm a little bit confused. I saw that it's possible in OneSignal now to also use p8 certificates. Now my short question is, do I have to update the mobile app that it's working with p8? Or do I only ...
0 votes
0 answers
17 views

Adding OneSignal dependency causing Activity Reload

I have implemented OneSignal in my app which is causing the Launch Activity to reload on the very first App Launch. I even removed the OneSignal initialization code and found out that just adding the ...
2 votes
1 answer
82 views

Library not loaded: @rpath/OneSignalExtension.framework/OneSignalExtension

20-BED8-37C2EE174CFE/Runner.app/Frameworks/OneSignalExtension.framework/OneSignalExtension' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/...
  • 21
1 vote
0 answers
106 views

Onesignal pushNotification in react native

Hi I am using Onesignal for my application to send push notifications to my application, I am able to send the push notification and getting to my app, when i click on notification nothing is ...
user avatar
1 vote
1 answer
599 views

Flutter app crashes when initialize OneSignal on android 13

My app is crashes/terminate when try to init or setAppId id for OneSignal flutter doctor > Doctor summary (to see all details, run flutter doctor -v): [√] > Flutter (Channel stable, 3.3.8, on ...
2 votes
0 answers
358 views

OneSignal notification does not appear on iOS, but it does on Android (In App message works perfectly on both)

So I added onesignal-expo-plugin and react-native-onesignal to my project, I made everything what was wrote on the website After this i made a developmen-simulator build for my app I tested the app ...
0 votes
0 answers
69 views

Is there have an alternative OneSignal mobile push notification platform

My problem is I can't use OneSignal with FCM (Firebase Cloud Message (Legacy)) with contains a "Server Key" because I don't have a permission to enable FCM (Legacy). So I wanna to using ...
0 votes
1 answer
273 views

How to implement OneSignal Push Notifications in Nodejs?

I want to implement push notifications in node js with the OneSignal package.
0 votes
0 answers
65 views

Upgrade to OneSignal 4.0 SDK not compatible with PCL Profile44 and others Visual Studio Mac 2022

when trying to install the OneSignal 4.x SDK to the shared project part of my pcs project I get the following error: OneSignalSDK.Xamarin 4.1.0 with .NETPortable,Version=v4.5,Profile=Profile259. ...
  • 164
0 votes
0 answers
35 views

Upload flutter app to app store with one signal extension

We are trying to upload flutter app in which one signal is used but during the upload we are getting this error. AppStore Connect Operation Error:- Xcode One Signal Extension:- One Signal Extension:-...
  • 1,362

1
2 3 4 5
33