admin-ch / covidcertificate-sdk-ios Goto Github PK
View Code? Open in Web Editor NEWCovidCertificate SDK for iOS
License: Mozilla Public License 2.0
CovidCertificate SDK for iOS
License: Mozilla Public License 2.0
Hi, We just need to write some plugin in react native and cordova but use swift package manager is very hard to us. Can you support Framework file to import? Very thank if you can support it soon
Hello , Can i know how to produce "No internet connection error" ? as , when i scanned every-time without internet. it verifies the certificate Valid or not. So, may i know when we get No internet connection error ?
Remove the need for a second device or paper printout to be able to add the certificate to the app.
I have two questions/inputs regarding 2G+ from an integrator's point of view:
Currently, no 2G+ test mode is provided by the backend api. Will this change in the future?
If 2G+ certificate checks have to be implemented as they are currently presented in the official app (check of 1 or 2 certificates, with specific rules within the app), it will become much more complicated for existing integrations. Is this the final state of how it is going to work or will a simpler solution follow? I was hoping that vaccinated/recovered people who get tested would receive a specific 2G+ certficate so there will always be just one certificate to check.
If on first app launch the SDK fails to initialize due to either no network or bad network the checking process then also fails even if the network is back. (Network parse error code 8)
Relaunching the app with correct network conditions works most of the time. However under some cricumstances, even when relaunching the app the check doesn't work and fails with a network parse error.
Steps to reproduce (sadly I couldn't reproduce the issue every time):
Maybe there is something that can be improved regarding the init of the SDK with bad / no network.
We have successfully implemented the SDK in our app, and checking certificates works, but not in the case of expired certificates. They always show valid. This problem is only in iOS. We don't have a problem with the Android SDK.
Here is how we test:`
let result: Result<VerifierCertificateHolder, CovidCertError> = CovidCertificateSDK.Verifier.decode(encodedData: data);
switch result {
case .success(let certHolder):
CovidCertificateSDK.Verifier.check(holder: certHolder, forceUpdate: false) {result in
... here, we check nationalRules, signature and revocationStatus and they are all valid
The "Covid check" app shows following:
How do we check if the certificate is expired?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.