Group Group Group Group Group Group Group Group Group

Making API call from notification response

#1

In page 109, step 3 you mention making a web request with no detail in passing.

I am currently trying to make a post request with the text entered by the user. I am using alamore fire but I cant get the request to go through. I keep seeing “Software caused connection abort” in the logs.

Can you add an example or help here? thanks

#2

think i figured it out using

https://www.raywenderlich.com/5817-background-modes-tutorial-getting-started

#3

@jjjeeerrr111 Glad you sorted it out! :]

#4

Could you let me know specifically what wasn’t presented clearly so I can make sure to address it in the next release please?

1 Like
#5

Also, which section are you in? In the printed book page 109 starts chapter 11. In the ebook page 109 for me is showing as chapter 9, custom actions, in the “Extending Foundation’s notification” part.