Expo Push Notifications for Individuals in Managed Workflow | React Native

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 30

  • @AbrahamApell
    @AbrahamApell Год назад +1

    Awesome, Thanks so much.

  • @VasOnTheGame
    @VasOnTheGame Год назад +1

    I am trying to push indie notifications but api/indie/notification/ API gives timeout. Could you please fix the issue?

    • @NativeNotify
      @NativeNotify  Год назад

      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

  • @codegien
    @codegien Год назад +1

    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?

    • @NativeNotify
      @NativeNotify  Год назад

      Make sure to follow the Start Here instructions before following the Indie Sub instructions

    • @hudsonr
      @hudsonr 10 месяцев назад

      same thing happening to me. Did you ever find a fix?

    • @alikassar
      @alikassar 8 месяцев назад

      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

  • @uiltonKeyboard
    @uiltonKeyboard Год назад

    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?

    • @NativeNotify
      @NativeNotify  Год назад

      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"
      }

    • @uiltonKeyboard
      @uiltonKeyboard Год назад

      @@NativeNotify I'm still getting error 504 from your side.
      504 Gateway Time-out

      504 Gateway Time-out


      nginx/1.18.0 (Ubuntu)

    • @uiltonKeyboard
      @uiltonKeyboard Год назад +1

      FYI: the error 504 was because the device was not registered correctly!

  • @medamine4108
    @medamine4108 10 месяцев назад

    hello In Expo Go, the registerIndieID registers very well, and I receive the notification, but if I build the APK, it does not register.

    • @NativeNotify
      @NativeNotify  10 месяцев назад

      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

  • @bluesilhouette6748
    @bluesilhouette6748 Год назад

    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?

    • @NativeNotify
      @NativeNotify  Год назад

      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

    • @bluesilhouette6748
      @bluesilhouette6748 Год назад

      @@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 ?

    • @NativeNotify
      @NativeNotify  Год назад

      @@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

    • @bluesilhouette6748
      @bluesilhouette6748 Год назад

      @@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?

  • @mdsujan7866
    @mdsujan7866 10 месяцев назад

    I got some error ,When I have to try implement

    • @NativeNotify
      @NativeNotify  10 месяцев назад

      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.

    • @mdsujan7866
      @mdsujan7866 10 месяцев назад

      @@NativeNotify Thanks for reply

  • @ahmedfareeq
    @ahmedfareeq Год назад

    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]

    • @NativeNotify
      @NativeNotify  Год назад

      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!

  • @nickpawsey
    @nickpawsey Год назад

    Didn't work for me.

    • @NativeNotify
      @NativeNotify  Год назад

      Make sure to follow the Start Here instructions before following the Indie Sub instructions