Questions tagged [react-native-onesignal]

62 questions
0
votes
1 answer

OneSignal not registering on multiple devices - React Native

Currently I have managed to setup OneSignal properly on Android and iOS. The problem I am encountering however, is that the only devices that are subscribed and showing up in my OneSignal dashboard are the two initial devices. (One which is an…
0
votes
1 answer

React Native Video Call Notification

I am using react-native-agora for video calling app, i have successfully implemented the video calling function in react-native app. Now I want to show the user notification with Answer and Declined button, i have read out that react-native-callkeep…
0
votes
1 answer

How to properly set OneSignal as a destination in Segment (segment.com), and also how to set external user ID of OneSignal through Segment

I am trying to implement Segment tag management system (segment.com) in my react native app. I have successfully implemented it with source as RN app, and destinations like Voucherify and Firebase Analytics. I had previously implemented OneSignal…
0
votes
1 answer

Prevent "Would you like to open (URL)" dialog on iOS push notification deep linking

I use deep links in push notifications (using OneSignal + React Native) to open specific parts of my app. Recently my users started to get the following confirmation when they tap the push notification (which wasn't the case before): This is…
0
votes
1 answer

React Native OneSignal: TypeError: this.OSLog is not a function

I'm using OneSignal on my app for push notifications. After follow their tutorial (https://documentation.onesignal.com/docs/react-native-sdk-setup) everything seems to be working on Android. However on IOS I'm getting this error: I copy the exact…
Mário Prada
  • 1,792
  • 1
  • 9
  • 13
0
votes
1 answer

React Native: how do I add a file to "Xcode project root"?

I'm following this guide to add custom push notification sounds to my React Native project. It says to take my .wav file and Add files to the Xcode project root. Make sure Add to targets is selected when adding files so that they are automatically…
gkeenley
  • 6,088
  • 8
  • 54
  • 129
0
votes
1 answer

React Native - Get initial route when App is opened from a notification

I'm using react-native and onesignal to handle notification. If you press the notification when the app is in the background, i'll catch the 'opened' event, and redirect to the correct route (in the notification metadata) But when the app is closed,…
0
votes
1 answer

How could I make react-native-onesignal work on all devices?

I've been facing this scenario for months on my OneSignal and I still haven't figured out how to solve it: My question is: How could I make it work on all devices? I imagine that I am getting lost in the settings of the dependencies in the gradle…
0
votes
1 answer

Failed to resolve: com.google.android.gms:play-services-ads-identifier:12.0.1 when installing react-native-onesignal

Been on this issue for days, trying every solution out there but nothing works, I get getting that error message when trying to run the projet on Android studio. Failed to resolve:…
Hugo
  • 2,073
  • 6
  • 23
  • 46
0
votes
1 answer

One Signal Google Play Services Library Error React-Native

I recently came across a problem with my app. I had installed OneSignal, it worked. And some updates after adding the onesignal, stopped working. I don't know exactly what I did wrong or which module is conflicting with the onesignal, I've been on…
0
votes
2 answers

React Native: Why am I not able to re-add an event listener?

In my React Native app I have two screens screenA and screenB. I'm using react-navigation@4.x and I navigate from screenA to screenB with this.props.navigation.navigate('screenB') and back with this.props.navigation.goBack(). I'm using OneSignal,…
0
votes
1 answer

OneSignal Mobile Push notification: Action buttons are not showing until long press it

For my react-native project, I am using Onesignal api to send notifications to users with action buttons Yes & No. When I receive notification it shows action buttons only when long press the notification. As shown below: When I receive it looks…
newdeveloper
  • 1,401
  • 3
  • 17
  • 43
0
votes
1 answer

React Native: How to make a push notification with custom content?

I'm using OneSignal in my React Native project, and want to create something similar to this image, where there's a timer ticking down, and buttons that trigger events in the app itself: I have no idea how to approach customizing the UI like this,…
gkeenley
  • 6,088
  • 8
  • 54
  • 129
0
votes
1 answer

Is a OneSignal push token the same as the app ID?

I'm using OneSignal in my React Native app, and an endpoint in the API I'm using is asking for a OneSignal push token. The token they're asking for seems to have the same format as the app ID that was generated for my app on OneSignal. Are they the…
0
votes
1 answer

How do I specify the version of react-native-onesignal in my podfile?

I'm following this guide on how to set up OneSignal with React Native. In the section where it says In your Podfile, add the notification service extension..., it says to add the following to my Podfile: target…
gkeenley
  • 6,088
  • 8
  • 54
  • 129