React Native Push Notifications not working
up vote
0
down vote
favorite
I've been struggling to use react-native-push-notification in one of my projects, I've tried on a clean react native project with no luck. I've been testing on Android. What am I missing? Please help!
Here's the link to my demo: https://github.com/platonish/rn-push-notif-demo
react-native: 0.57.5
react-native-push-notification: 3.1.2
add a comment |
up vote
0
down vote
favorite
I've been struggling to use react-native-push-notification in one of my projects, I've tried on a clean react native project with no luck. I've been testing on Android. What am I missing? Please help!
Here's the link to my demo: https://github.com/platonish/rn-push-notif-demo
react-native: 0.57.5
react-native-push-notification: 3.1.2
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've been struggling to use react-native-push-notification in one of my projects, I've tried on a clean react native project with no luck. I've been testing on Android. What am I missing? Please help!
Here's the link to my demo: https://github.com/platonish/rn-push-notif-demo
react-native: 0.57.5
react-native-push-notification: 3.1.2
I've been struggling to use react-native-push-notification in one of my projects, I've tried on a clean react native project with no luck. I've been testing on Android. What am I missing? Please help!
Here's the link to my demo: https://github.com/platonish/rn-push-notif-demo
react-native: 0.57.5
react-native-push-notification: 3.1.2
asked 16 hours ago
platonish
1959
1959
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
turns out I was missing this from my AndroidManifest:
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_name"
android:value="YOUR NOTIFICATION CHANNEL NAME"/>
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_description"
android:value="YOUR NOTIFICATION CHANNEL DESCRIPTION"/>
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
turns out I was missing this from my AndroidManifest:
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_name"
android:value="YOUR NOTIFICATION CHANNEL NAME"/>
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_description"
android:value="YOUR NOTIFICATION CHANNEL DESCRIPTION"/>
add a comment |
up vote
1
down vote
turns out I was missing this from my AndroidManifest:
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_name"
android:value="YOUR NOTIFICATION CHANNEL NAME"/>
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_description"
android:value="YOUR NOTIFICATION CHANNEL DESCRIPTION"/>
add a comment |
up vote
1
down vote
up vote
1
down vote
turns out I was missing this from my AndroidManifest:
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_name"
android:value="YOUR NOTIFICATION CHANNEL NAME"/>
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_description"
android:value="YOUR NOTIFICATION CHANNEL DESCRIPTION"/>
turns out I was missing this from my AndroidManifest:
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_name"
android:value="YOUR NOTIFICATION CHANNEL NAME"/>
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_description"
android:value="YOUR NOTIFICATION CHANNEL DESCRIPTION"/>
answered 13 hours ago
platonish
1959
1959
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53407873%2freact-native-push-notifications-not-working%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown