It should be working now. We were making some updates to the server a couple weeks ago to work with Google's upcoming system changes. You may have tried when we were making updates
I tried the push indie just yesterday it wasn't working. The function "registerIndieID" is not subscribing the user to subscribers list, what is happening?
Hi there, thanks for the video! I'm trying to send the notification through the nodejs, but I'm getting 504 error. Even if I use Postman. What would be?
Here is an example POST request URL: app.nativenotify.com/api/indie/notification Here is an example POST body: { "subID": "user-1", "appId": app-id-number, "appToken": "app-token-string", "title": "put your push notification title here as a string", "message": "put your push notification message here as a string" }
Hi. There's some extra steps required to get push notifications working on an APK file. If you search "Native Notify Android" on RUclips, it should be the first video that pops up". There's also an Android page in the Native Notify documentation
Suppose i have user2 and user3 ( sub_id) and not yet logged in, that means they are not registered to the indie push notif. Then user1 made some changes in my app causing to send push notification to selected user which in my case is user2 and user3. Will they get the push notif after they logged in where they registered also to the indie push notif?
user2 and user3 would have to login / be registered before they can receive notifications. They would NOT be able to receive past notifications sent to them before they were registered
@@NativeNotify in the video, you put the register on the login function, if the user is already registered and relogin again, nothing will happen? Or do i have additional codes to handle that? Suppose the user2 (already registered) logout but i didnt unregistered him, and another user (suppose user10) login, and me (user1) send notification to user2, user2 will receive notification only after he relogin? So its better to unregister the user from indie push notif if the user acc in my app gets deleted/banned ?
@@bluesilhouette6748 You can trigger the register function as many times as you want and it will only register the user one time. Duplicates will NOT be created. There's also a new function in the documentation that allows you to unregister single devices or unregister all devices attached to an Indie ID
@@NativeNotify my possibly last question is, if i have a setting in my app that allow or does not allow push notifications, if i turned off my push notifications, how to prevent my current user from getting push notifications? Is it by unregistering the user id ? And what happens if i want to push notifications by group and in my list of id there is an id that is not yet registered? Will i get an error or nothing? It just skips that id?
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.
Thanks for that effort, but there's a problem with me, even though everything's right. erorr: An error occurred while requesting notification permissions: [Error: Encountered an exception while calling native method: Exception occurred while executing exported method requestPermissionsAsync on module ExpoNotificationPermissionsModule: String resource ID #0xffffffff]
This error should be gone now. This was an Android version 13 related error that we recently dealt with. Please email us at support@nativenotify.com if you have any more questions. We're happy to help!
Awesome, Thanks so much.
I am trying to push indie notifications but api/indie/notification/ API gives timeout. Could you please fix the issue?
It should be working now. We were making some updates to the server a couple weeks ago to work with Google's upcoming system changes. You may have tried when we were making updates
I tried the push indie just yesterday it wasn't working. The function "registerIndieID" is not subscribing the user to subscribers list, what is happening?
Make sure to follow the Start Here instructions before following the Indie Sub instructions
same thing happening to me. Did you ever find a fix?
Same with me, I can send push notifications to all, but when I try to register a user using 'registerIndieID' it doesn't do anything
Hi there, thanks for the video!
I'm trying to send the notification through the nodejs, but I'm getting 504 error.
Even if I use Postman. What would be?
Here is an example POST request URL:
app.nativenotify.com/api/indie/notification
Here is an example POST body:
{
"subID": "user-1",
"appId": app-id-number,
"appToken": "app-token-string",
"title": "put your push notification title here as a string",
"message": "put your push notification message here as a string"
}
@@NativeNotify I'm still getting error 504 from your side.
504 Gateway Time-out
504 Gateway Time-out
nginx/1.18.0 (Ubuntu)
FYI: the error 504 was because the device was not registered correctly!
hello In Expo Go, the registerIndieID registers very well, and I receive the notification, but if I build the APK, it does not register.
Hi. There's some extra steps required to get push notifications working on an APK file. If you search "Native Notify Android" on RUclips, it should be the first video that pops up". There's also an Android page in the Native Notify documentation
Suppose i have user2 and user3 ( sub_id) and not yet logged in, that means they are not registered to the indie push notif. Then user1 made some changes in my app causing to send push notification to selected user which in my case is user2 and user3. Will they get the push notif after they logged in where they registered also to the indie push notif?
user2 and user3 would have to login / be registered before they can receive notifications. They would NOT be able to receive past notifications sent to them before they were registered
@@NativeNotify in the video, you put the register on the login function, if the user is already registered and relogin again, nothing will happen? Or do i have additional codes to handle that? Suppose the user2 (already registered) logout but i didnt unregistered him, and another user (suppose user10) login, and me (user1) send notification to user2, user2 will receive notification only after he relogin? So its better to unregister the user from indie push notif if the user acc in my app gets deleted/banned ?
@@bluesilhouette6748 You can trigger the register function as many times as you want and it will only register the user one time. Duplicates will NOT be created.
There's also a new function in the documentation that allows you to unregister single devices or unregister all devices attached to an Indie ID
@@NativeNotify my possibly last question is, if i have a setting in my app that allow or does not allow push notifications, if i turned off my push notifications, how to prevent my current user from getting push notifications? Is it by unregistering the user id ?
And what happens if i want to push notifications by group and in my list of id there is an id that is not yet registered? Will i get an error or nothing? It just skips that id?
I got some error ,When I have to try implement
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.
@@NativeNotify Thanks for reply
Thanks for that effort, but there's a problem with me, even though everything's right. erorr: An error occurred while requesting notification permissions: [Error: Encountered an exception while calling native method: Exception occurred while executing exported method requestPermissionsAsync on module ExpoNotificationPermissionsModule: String resource ID #0xffffffff]
This error should be gone now. This was an Android version 13 related error that we recently dealt with. Please email us at support@nativenotify.com if you have any more questions. We're happy to help!
Didn't work for me.
Make sure to follow the Start Here instructions before following the Indie Sub instructions