Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Crypto SDK for production #1708

Merged
merged 2 commits into from
Feb 2, 2023
Merged

Enable Crypto SDK for production #1708

merged 2 commits into from
Feb 2, 2023

Conversation

Anderas
Copy link
Contributor

@Anderas Anderas commented Feb 2, 2023

This is a big moment !

  • update MatrixSDKCrypto pod to 0.2.0 which is now production ready (though still considered beta)
  • remove all DEBUG compiler flags as we are ready to ship to production
  • enable isCryptoSDKAvailable, which makes crypto 2.0 / SDK visible as a labs flag

@Anderas Anderas requested review from a team and pixlwave and removed request for a team February 2, 2023 12:20
@@ -45,7 +45,7 @@ Pod::Spec.new do |s|
ss.dependency 'OLMKit', '~> 3.2.5'
ss.dependency 'Realm', '10.27.0'
ss.dependency 'libbase58', '~> 0.1.4'
ss.dependency 'MatrixSDK/CryptoSDK'
ss.dependency 'MatrixSDKCrypto', '0.2.0', :configurations => ["DEBUG", "RELEASE"], :inhibit_warnings => true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont know if this is a coocapods bug, but I have to keep the configuration section in (even though it includes all configurations) if I also have the inhibit_warnings in

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Odd, but if that's how it has to be its not going to bother anyone :)

Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hurray congrats Andy 🍾

Looks great to me!

@@ -45,7 +45,7 @@ Pod::Spec.new do |s|
ss.dependency 'OLMKit', '~> 3.2.5'
ss.dependency 'Realm', '10.27.0'
ss.dependency 'libbase58', '~> 0.1.4'
ss.dependency 'MatrixSDK/CryptoSDK'
ss.dependency 'MatrixSDKCrypto', '0.2.0', :configurations => ["DEBUG", "RELEASE"], :inhibit_warnings => true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Odd, but if that's how it has to be its not going to bother anyone :)

Base automatically changed from andy/query_fixes to develop February 2, 2023 13:37
@codecov
Copy link

codecov bot commented Feb 2, 2023

Codecov Report

Base: 37.29% // Head: 37.35% // Increases project coverage by +0.05% 🎉

Coverage data is based on head (a82d39a) compared to base (f4d2c8b).
Patch coverage: 68.62% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1708      +/-   ##
===========================================
+ Coverage    37.29%   37.35%   +0.05%     
===========================================
  Files          611      612       +1     
  Lines        95876    95950      +74     
  Branches     41445    41465      +20     
===========================================
+ Hits         35757    35839      +82     
+ Misses       59069    59035      -34     
- Partials      1050     1076      +26     
Impacted Files Coverage Δ
...ixSDK/Background/Crypto/MXBackgroundCryptoV2.swift 0.00% <ø> (ø)
MatrixSDK/Background/MXBackgroundSyncService.swift 0.00% <0.00%> (ø)
...o/Algorithms/RoomEvent/MXRoomEventDecryption.swift 54.80% <ø> (ø)
...xSDK/Crypto/CrossSigning/Data/MXCrossSigningInfo.m 97.05% <ø> (ø)
...rossSigning/Data/MXCryptoUserIdentityWrapper.swift 100.00% <ø> (ø)
...Crypto/CrossSigning/MXCrossSigningInfoSource.swift 100.00% <ø> (ø)
...trixSDK/Crypto/CrossSigning/MXCrossSigningV2.swift 23.12% <ø> (ø)
...e/Extensions/MXDeviceVerification+LocalTrust.swift 0.00% <ø> (ø)
...sions/MXEventDecryptionResult+DecryptedEvent.swift 88.23% <ø> (ø)
...ns/MXRoomHistoryVisibility+HistoryVisibility.swift 100.00% <ø> (ø)
... and 71 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Anderas Anderas merged commit 61eb056 into develop Feb 2, 2023
@Anderas Anderas deleted the andy/crypto_sdk branch February 2, 2023 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants