Expo Push Notifications in Managed Workflow (React Native)
HTML-код
- Опубликовано: 27 дек 2024
- Send React Native Expo Push Notifications while in Managed Workflow. You do NOT have to eject out of Expo if you use NativeNotify.com to send notifications. NativeNotify.com also works with the most up to date version of Expo.
Native Notify: nativenotify.com
Other Videos:
Expo Indie Push Notifications: • Indie Push Notificatio...
Expo Android Production Push Notifications: • Expo Notifications And...
Expo Topic Push Notifications: • Topic Push Notificatio...
#expo #reactnative #reactnativetutorial #pushnotifications #pushnotification
who are you! whoever are you, I am really glad! that you came. REALLY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
It's unreal how easy it is to setup and use this!
Thank you! We worked real hard to make this as simple as possible to use
yeah, very easy to use,... it's not free tho..
@@greengraphicx6101I use it for free, if you have more then 10 subs probably you should start asking some money, no? People need to eat.
you.... are so good, you are a appsaver for me
I just applied it to my app! It was so, so easy and great!
I'm so glad! We worked real hard making it as simple as possible to use
@@NativeNotify Thank you for your hard work! It's really paying off!
Working out of the box, Thanks!!
A great fast solution!
thank you
I'm getting an issue: "Sorry, your app does not have any push notification subscribers yet."
Also a question: how would I go about linking the notifications to a certain variable, e.g. sending a fitness reminder if the user hasn't done their daily workout?
I'm having the same problem. Have you found the solution?
Incredible! Helped me so much
Thank You Sir This is the best way to send notification to all devices at once. now i want to send notification to a specific device , so how i can do it? sir plz respond
Does Native Notify increase the badge count when a push notification is received? If so, I don't see anything in the documentation that tell me how to reset the badge count... I would like to implement this but the badge count handling is a critical requirement for us. Any insight on this matter is greatly appreciated. Thanks
With native-notify version 3.3.2 and above, the badge count is now set for you.
Thank you fro this setup, super easy to use. Just 1 issue i have, I used the input field you gave to send notification, i did and it worked but when i tried using the API to send, i get this error in my post man, "That app id does not match an app in our database". Whereas, this is the same Id i was given and i used in my project.
I would check to make sure there are no typos in the body of your post property names. The property names are case-sensitive.
Not running on android APK installed on phone (it even asked for notification permissions), but when I send from the native-notify dashboard nothing appears. Followed the updated (after legacy) android extra steps to completion and google Cloud shows it as enabled. Any advice?
Update the native-notify package to version 3.3.6, and it should work in an APK file now.
Expo 50 broke push notifications for Android in the native-notify package. But we just updated native-notify to work with Expo 50 in version 3.3.6.
sooo how do you actually put this in your code?
How to set custom notification icon?
Also interested in this.
Go to your Native Notify dashboard and click the ? icon at the top of the screen. On that page, it shows how to customize your notification icon
Error: No experienceId or projectId found. If one or the other can't be inferred from the manifest (eg. in bare workflow), you have to pass one in yourself.
Type 'eas build' into your terminal and follow the instructions. It will create a project id for you. Then that error will go away
@@NativeNotify thanks, That worked
please if u can answare me ican us ethese lie api in node or make like these example inside the application like if i make new prodict go to all user and when he/she click on the notfication go to that page that we do otfication for it??? please answare
How to change default notification sound, please help me?
Does it play any sound when you get it? Its not playing a any sound on mine but it might just be the phone settings.
Amazing ! Can you make an update for indie Push with api ?
Sure! I just added it to our list of features to finish. Thanks for using Native Notify
Nice!
What if i want to set up notifications for a specific date, lets say, for tomorrow at 3:00 pm
Is it possible?
Yes, you can click the calendar button in your Native Notify app to schedule notifications
@@NativeNotify Thanks!
Big picture URL is not working . Is there any additional configuration to add images/banner with notification?
Yes, you have to follow the instructions in this video to get big pictures to work: ruclips.net/video/pQvl-NX9mW4/видео.html
i am having problem when running eas build it is showing as eas not a command.
try npm install eas-cli (also maybe put --global (two dashes) before eas-cli to make it a global install that will work from any project). He mentions this in another video.
do users have to opt-in for push notifications?
Yes they do unless on Android the user has chosen to always accept notifications from all apps.
But Native Notify handles asking the user for permission to send notifications
getting this error when i run npx expo-build : Check that native modules use compatible support package versions for installed Expo SDK
Please upgrade to native-notify version 3.3.2 or above. This error should be gone now
I want to add this notification on my ios app, can you make a full video on ios app plz.
If you follow this video, everything will work on iOS automatically even in production. There are no extra steps for iOS.
iOS push notifications will NOT work in a simulator. You have to use an actual iOS device.
Sorry, what I wanted to ask is how do I reroute Firebase Messages (firebase's own notifications) through NN to app? Is it possible?
Native Notify uses firebase messaging for Android production. There is an Android section in the documentation that's shows how
Are you ready to send your push notification? This will be sent to all of your notification subscribers immediately.
i am getting this error, while sending push notification from expo, please advice how to fix it
i manage to convert my web to app , and apply notification feature, thanks to native notify, but the problem is, the notification is not displaying in the screen like other app, untill i enter the app inbox there is where i am going to be seeing it
We have a new service called WebsiteToAppConvert.com. If you go there, we can create your app for you and make sure push notifications are working.
I'm on sdk 47 and doesnt matter which notification library i install i always get
"TypeError: undefined is not an object (evaluating 'nativeModule.__expo_module_name__')
ERROR Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called."
i use eas build standalone app for dev.
There are extra instructions for Android in the documentation to get notifications working after you run eas build. We also recently made a video about it you can watch. It came out around 2 weeks ago
@@NativeNotify thank you🙂 btw very good content always
please can you post the link to the video@@NativeNotify
It works on Expo Go, and also in development mode (apk), but doesn't work after i published it on Play Store.
I followed every step perfectly, it works on development mode after submitted to EAS Server to get the apk. But doesn't work in production mode.
Im using EXPO SDK 49.
Look up "eas submit" and have eas submit the app to your Google Play Store developer account for you.
If push notifications work in an eas APK file, they will work in production on the play store.
Also make sure in your Android settings you don't have notification permissions turned off
i am using android simulator and i get an error 'Must use physical device for Push Notifications'
You can download the Expo Go app on one of the app stores to open your app on an actual phone.
Push Notifications don't work on an Android Emulator anymore
Is there any limitations of the number of notifications I can send per day or it is unlimited ?
It's unlimited
I have followed steps to get Notification in my Expo App as shown in this video, but i got this error: property 'se' doesn't exist Evaluate native-notify.js when i run by Expo app , and i am not getting any notification also. What is the problem.
I would try to follow the instructions again from the beginning with a new app. I haven't ever seen an 'se' error before. Sometimes Expo doesn't run well on certain emulators too. You could try different emulator versions
and code?
I did all the steps and i got an error: render error 0, _nativeNotify.default is not a function (it is object).
Maybe try a different emulator. Sometimes Expo Go doesn't work well on some emulators
thanks
its not work i use expo, and have the message who say i m success registred but its work
Update the native-notify package to version 3.3.6, and it should work in an APK file now.
Expo 50 broke push notifications for Android in the native-notify package. But we just updated native-notify to work with Expo 50 in version 3.3.6.
is it just me or creating a project no longer works?
Sorry, this was not working momentarily. We made some updates to our server. Everything should be working now.
Eas thing doesn't work
You may need to npm install the eas-cli package globally on your computer.
You can also run "npx eas init" to get a projectId instead of eas build
Doesnt work in production
There's some extra steps for Android. You can find the extra steps in the documentation