1

I am using twilio push notifications in ios app. The problem is i am getting the notification alert in the foreground mode also. How it is possible as ios dont provide this.

And another issue is how can i set the title for the twilio push notification?

shivi_shub
  • 1,018
  • 1
  • 7
  • 15

2 Answers2

1

For any push notification in iOS, this is the structure (developer.apple):

{
   “aps” : {
      “alert” : {
         “title” : “Title”,
         “subtitle” : “Subtitle”
         “body” : “Body!”,
      }
   }
}

And twilio it is not exception, you must configure your notification like show above, or there are some examples: Just go to end of page

1

Please check your bundle identifier in the twilio configuration setting. May be some character is not correctly placed. Maybe you have configured alert , sound , badge functionality in notification delegate method.

jon_Tuple
  • 26
  • 3