admin-ch / CovidCertificate-SDK-iOS

CovidCertificate SDK for iOS
Mozilla Public License 2.0
20 stars 7 forks source link

Cocopod support or framework file #74

Open pxanzer3553 opened 3 years ago

pxanzer3553 commented 3 years ago

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

stmitt commented 3 years ago

Thanks for your request. We're working on the cocoapod release and should have it ready sometime next week.

stmitt commented 3 years ago

The latest version was just published to cocoapods https://github.com/CocoaPods/Specs/commit/4450bf607a8541e08abc6cbb67e6e65de2251473 @pxanzer3553 Let me know if it works for you.

pmauchle commented 3 years ago

@stmitt we got it working, is there a reason the min iOS target is 12.0? Is it possible to lower it?

There is a typo, pod 'CovidCertificateSDK', ~> '1.0' should be pod 'CovidCertificateSDK', '~> 1.0'

stmitt commented 3 years ago

I tried lowering the min iOS target to iOS 11 but unfortunately, https://github.com/ehn-dcc-development/base45-swift currently requires iOS 12. I created a PR in their repository to lower the min iOS target https://github.com/ehn-dcc-development/base45-swift/pull/8. As soon as my PR there gets merged I will lower it.

pmauchle commented 3 years ago

@stmitt is a javascript SDK planned? Or providing the bridge files for any react native developers?

pxanzer3553 commented 3 years ago

Thank i just try to added it for my cordova app today. Working well @stmitt 👍

panzer3553 commented 2 years ago

@stmitt I saw we have a request to lower the IOS target to 11. Do you have any plan to release it? Thank you

stmitt commented 2 years ago

@panzer3553 I am looking into getting all of our dependencies published to cocoa pods. (https://github.com/ehn-dcc-development/base45-swift/issues/10)

anhnvtex commented 2 years ago

@stmitt We are integrating the 2G+ feature into our app. Can you release the pods which has supported it on CocoaPod? We have seen the latest published version is 1.1.0 but it's not support 2G+ feature.

Can you help us?

I also see the latest specs for this SDK is 3.2.0 but I can't find it on published REPO. Is that build fail?

stmitt commented 2 years ago

@anhnvtex the SDK version was successfully released to Cocoapods 4 Days ago https://github.com/CocoaPods/Specs/commit/1db9d4cfe95495845e7480e0399aca972f9f65c9 I'll look into the issue of why the search on https://cocoapods.org isn't showing the correct version.

anhnvtex commented 2 years ago

@stmitt Thanks for your replied. When I used this command pod search CovidCertificateSDK, I got

-> CovidCertificateSDK (3.1.0)
   Implementation of the Electronic Health Certificates (EHN) specification used to verify the validity of COVID Certificates in Switzerland.
   pod 'CovidCertificateSDK', '~> 3.1.0'
   - Homepage: https://github.com/admin-ch/CovidCertificate-SDK-iOS
   - Source:   https://github.com/admin-ch/CovidCertificate-SDK-iOS.git
   - Versions: 3.1.0, 3.0.0, 2.0.0, 1.2.0, 1.1.0, 1.0.1, 1.0.0 [cocoapods repo]

And I can include this version into our project build but I'm not sure it is the official version and free bugs.