Closed idelfonsog2 closed 2 years ago
Found implementation example in the testing suite. Adding documentation is the missing part
app.apns.containers.use(
apnsConfiguration,
eventLoopGroupProvider: .createNew,
responseDecoder: JSONDecoder(),
requestEncoder: JSONEncoder(),
backgroundActivityLogger: app.logger,
as: .default)
Describe the bug
What's the best way to set the
app.apns.client
? I found myself using the repository pattern to try to inject a different APNS service implementation but I noticed theAPNSwift
comes withapp.apns.client
, which reminded me of how I previously implemented anaws
integration that looked like this:I'm trying to achieve the same but
app.apns.client
is read only, can we documentation around it ?Expected behavior
apns.apns.client = MyAPNSCustomClient....
in my AWS Application Extension I have the following:
Environment
Additional context
Add any other context about the problem here.