[Pushwoosh Plugin] Pushwoosh: Failed to register device
Question
Forge component by Pushwoosh
Application Type
Mobile
Service Studio Version
11.11.12 (Build 47321)
Platform Version
11.12.1 (Build 30548)

This is a follow up report to this discussion: https://www.outsystems.com/forums/discussion/72157/unable-to-generate-android-app-using-mabs-over-6-3/

We are now able to make both Android and iOS builds using MABS 7.1 and version 4.5.4 of the plugin.

However on iOS we now run into a runtime exception while calling the RegisterDevice client action.

The logged error is below.

"Failed to register device (status: {"error":"Error Domain=NSPOSIXErrorDomain Code=22 \"Invalid argument\" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <9C2A5994-9610-4CD7-B569-66D35C1B9168>.<9>, _kCFStreamErrorDomainKey=1, _NSURLErrorRelatedURLSessionTaskErrorKey=(\n    \"LocalDataTask <9C2A5994-9610-4CD7-B569-66D35C1B9168>.<9>\"\n), _kCFStreamErrorCodeKey=22}"})"

So the issue seemed to be in my home network. I have a DNS server running in my network that blocks a lot of advertising and tracking (pi-hole). This apparently blocks something that Pushwoosh doesn't handle gracefully.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.