I am currently running iOS 10 with Xcode 8.0 and the custom sound of Push Notifications does not play when I receive a push notification with the correct payload.
Any help is appreciated!
Related
I follow all the steps of documentation but nothing works
1 - Create a free account on OneSignal
2 - Use onesignal tool to generate the certificate and upload the .p12 file
3 - Initialize react-native-onesignal SDK in the code
The device asks for permission to push notifications but does not subscribe on the OneSignal Dashboard
There might be several reasons,
iPhone Simulator is unable to receive push notifications so better use a physical device.
Sometimes device id is not detected so it does not subscribe. Check this https://github.com/geektimecoil/react-native-onesignal/issues/200
in your case, it is hard to explain without source code.
I am trying to show a notification on my react-native app using react-native-push-notifications which is based on PushNotificationsIOS that ships with React Native. The problem is that nothing happens, no error, no notification, nothing.
I am not sure whether I made an error when programming the notification, or it just doesn't work on a simulator.
Thank you!
I've figured it out.
To send local notifications, we can use the simulator. When using react-native-push-notifications, I forgot to add the configurations of the push notifications to the same component that was attempting to schedule the notifications and that is the reason why it did not work.
However, to send remote notifications we need to get the device ID, but the simulator doesn't have one because it is not a real device, for that reason we cannot receive remote notifications from a server and display them using an emulator.
Using the notification in iOS need device token,but simulator doesn't have one ,so it doesn't work.
Since Xcode 11.4 - IOS Simulator support Push Notification as well
I'm working with MF CLI version 7.1. I've used Push Notification Sample from Mobile first and everything is going fine, but In my case I'm able to subscribe and receive push notifications.
But when I close the app I'm not able to receive push notification once I open the app the notification appears. The adapter message returned is with a positive result.
my device : Api level 6.
the project :
https://github.com/vivinkrishnan/multi-line-push
API level 6 translates to Android 2.0.1 which is not supported in MobileFirst. Try again in newer devices such as those starting with API level 10 (Android 2.2).
I'm new to iBeacon's and am trying to understand one simple thing.
Can I use iBeacon to display a notification on a user's iphone without a custom app being installed?
For example, I'd like to build an app that sends out iBeacon messages to people that have an iPhone. When they get near an iPad running my app, it notifies them that they're near my "event", which of course is taking place at the location of my iPad.
Is this possible without the user having already installed another app that I've made to receive notifications of my event?
Note that I'm open to any other tech or ideas that would make this work. I know that Apple does this with their Apple Stores, but I'm guessing they can do this because they already have an app installed on the users device - probably the "AppStore" app.
You typically need an app for any iOS notifications on seeing an iBeacon. That is what Apple does for their stores.
The only exception is if you use Passbook to set up a notification trigger. But you still need the user to install your Passbook entry.
While testing our iPhone app in devices with iOS 6 beta 4, we found an issue wherein if any notification like reminder alert is received or when we pull down the notification curtain, the application is restarting from beginning.
It never used to happen like this till iOS 5.X. Apple release notes or known issues of iOS 6 beta did not mention anything regarding this.
Did anyone faced this issue?
Any comments on whats going wrong?
Check in the app's .plist file to see if application somehow got set not to run in the background.