Questions tagged as 'onesignal'

1
answer

Ionic 2 - OneSignal - Get player_id

I use OneSignal for push notifications in an ionic application 2. To send targeted notifications to specific users I need to recover the OneSignal player_id. Does anyone have any idea how to retrieve this id from the platform?     
asked by 01.11.2017 / 17:46
1
answer

Ionic 2 OneSignal IOS

I have a project developed in IONIC 2 and I generated the version for IOS but I have a problem with OneSignal. I have already tried to reinstall the plugin by ionic but problem still continues.     
asked by 23.10.2017 / 23:56
2
answers

Configure URL OneSignal PHP API

I'm deploying onesignal on my system in php, following Documentation My code is: function sendMessage(){ $content = array( "pt" => $conteudo ); $title = array( "en" => $titulo...
asked by 04.10.2017 / 16:47
1
answer

OneSignal requesting URL with APP_ID from the SDK?

I am using the code of OneSignal and I am not able to subscribe users, because when accepting, it gives a A bad HTTP response code (403) was received when fetching the script. error. It will fetch the file OneSignalSDKWorker.js...
asked by 16.04.2018 / 17:25
1
answer

Ionic 2 and One Signal how to use the handleNotificationOpened () function

I have an application that is 90% ready, notifications are already configured with One Signal, however, I want to send the user to a specific page when he clicks the notification, and this page may be different depending on the notification I su...
asked by 05.07.2017 / 23:50
0
answers

Ionic 2 + One Signal for Notifications

My Ionic plugin is already integrated with Firebase and One Signal, I can already work with login and password and send notifications. My problem is customizing notifications. In the sound field, I put the path to the file in three ways an...
asked by 17.05.2017 / 05:49
1
answer

Get Id onesignal cordova plugin

I'm having trouble getting the onesignal device id. I'm trying to use the following method: var getId = function(){ window.plugins.OneSignal.getIds(function(ids) { alert('getIds: ' + JSON.stringify(ids)); }); } Before that I'm starting...
asked by 26.02.2017 / 15:27
1
answer

Notification with OneSignal

I'm using OneSignal to notify my Android users. Only the notifications only appear for those who have already opened the application. Is there any service that can be put into the app to always make it active and receive notifications?     
asked by 03.05.2017 / 14:58
0
answers

Get to the / platforms / android / res / raw / Ionic Native File folder?

Good evening, I'm trying to get to the folder of my ionic app / platforms / android / res / raw / But I'm finding it very difficult for this. I'm trying to do this: this.file.checkDir('/platforms/android/res', 'raw') .then(_ => consol...
asked by 14.12.2018 / 06:51
0
answers

how to make an onclick to another class in OneSignal

I want to make OneSignal open another activity in android studio. Follow the activity with the handler. OneSignal.startInit(this) .setNotificationReceivedHandler(new PlocarNotificationReceivedHandler()) .setNot...
asked by 05.12.2018 / 19:31