Comments (3)
YEs it is, you should be able to just load the key however you want, but we removed the convenience method for loading it from disk, as that's not proper standard practice
from apns.
I don't really know how to fix this...It's thrown from here.
Condition says if self.certificateChain.count > 0
then it gonna throw this error, so I tried set certificateChain to an empty array:
let apnsConfig = APNSClientConfiguration(
authenticationMethod: .tls(
privateKey: privateKey,
certificateChain: [chain]
),
environment: .sandbox
)
This time the error message changed to: "TLSConfiguration.privateKey is not supported. You can still use this configuration..."
from apns.
That is an https://github.com/AsyncHttpClient/async-http-client question, I would ask over there
from apns.
Related Issues (20)
- Use Data, not ByteBuffer HOT 1
- Doesn't work with certificates HOT 2
- A new connection to APN server created for each request. HOT 15
- Allow swapping of configurations HOT 6
- Mock client for testing HOT 4
- Tag a new relaease? HOT 1
- Connection deadlock after random time HOT 6
- Connection timed out deadlock issue HOT 6
- Jan 9 HOT 2
- Bundle GeoTrust Global CA certificate HOT 1
- Support for sending PushNotifications via ProxyServer HOT 7
- Pass `Request.logger` as default logger parameter HOT 3
- Can't send "contentAvailable" on it's own HOT 14
- Getting invalidProviderToken HOT 1
- Feature Request: How to register the APNSClient with Application? HOT 1
- Update to 4.0.0-beta.2 not working HOT 3
- APNS package not found HOT 3
- Cannot find 'APNSAlertNotification' in scope HOT 1
- The operation could not be completed. (APNSCore.APNSError error 1.) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apns.