Sorry, there are no push-enabled users for specified options IONIC

I integrated the phonegap push and count.ly plugins into my ionic project , I configured the push server and I get the push token . I still have this problem No user can enable push for the specified options.
image

0

Comments

19 comments
  • Thanks. I have asked my colleague to check this.

    0
    Comment actions Permalink
  • There are 2 types of push token.

    Are you sure you are using dev vs production push token.

    Are you using the sample example?

    In the countly reply.

    0
    Comment actions Permalink
  • yes by default countly recorded the push token in production mode here is my code I have no error and I have to import the file countly.ts in my project ionic for the tracker it's good for the push no
    image

    0
    Comment actions Permalink
  • this is the function that records the push token
    image

    0
    Comment actions Permalink
  • @khalilbhs

    Or this is not updated.

    Let me update the ts file.
    This is old version of push notification.
    This is deprecated.

    Thanks

    0
    Comment actions Permalink
  • gorkem:

    Thanks. I have asked my colleague to check this.

    Here is the issue, please keep yourself update from the above link.

    Will take a day to complete this work.

    Thanks

    0
    Comment actions Permalink
  • yes I noticed that the function is not up to date with version 18.08.2 thank you very much I'm waiting for the update

    0
    Comment actions Permalink
  • I have a comment about that I think it wrong to update because is not up to date and is not functionable I still have a problem with this messaging mode me I always pass 0 directly for the production mode
    image

    0
    Comment actions Permalink
  • I have updated only push notification method.

    So you can use it at the moment.

    I will update the reset of the SDK later on.

    Thanks

    0
    Comment actions Permalink
  • push.on('registration', function (data: any) {
      alert(data.registrationId);
      self.countly.sendPushToken({
        "token": data.registrationId,
        "messagingMode": self.countly.messagingMode.DEVELOPMENT
      });
    });
    0
    Comment actions Permalink
  • 0
    Comment actions Permalink
  • now the problem is solved Thanks
    image

    I think you have to remove this
    image

    It's normal that I received the notification after a minute or more at a certain time I didn't receive it !!??

    0
    Comment actions Permalink
  • Oops I have removed it but not pushed sorry.

    Thanks for reminding me.

    I will update again.

    0
    Comment actions Permalink
  • khalilbhs:

    It's normal that I received the notification after a minute or more at a certain time I didn't receive it !!??

    I receive the notification instantaneously, when I was testing it.

    But you can review on this with Gorkem or Erkan.

    Thanks

    0
    Comment actions Permalink
  • Not exactly sure what you meant by this, however it is normal for push notifications to arrive later, and not immediately. If this persists, please let us know.

    0
    Comment actions Permalink
  • No now i receive notifications instantly it's great thank you very much for your help i really appreciate it

    0
    Comment actions Permalink
  • now i have the same problem with iOs i get the fcm token and it didn't register the users 😦

    Sans%20titre123

    0
    Comment actions Permalink
  • Ok, reviewing it.

    I rested it last time and it was working.

    Oh it's ionic, I will review it.

    It's tested on Cordova.

    0
    Comment actions Permalink
  • yes with ionic I tested it and did not working the user registration with iOS. the problem in record ,everything is configured and i have the token fcm

    0
    Comment actions Permalink

Please sign in to leave a comment.