Page MenuHomePhabricator

Implement AESCryptoModule Java compatibility class
ClosedPublic

Authored by marcin on Jul 4 2023, 8:08 AM.
Tags
None
Referenced Files
F3573237: D8425.diff
Sat, Dec 28, 2:25 PM
Unknown Object (File)
Fri, Dec 27, 9:44 AM
Unknown Object (File)
Fri, Dec 27, 9:44 AM
Unknown Object (File)
Fri, Dec 27, 9:44 AM
Unknown Object (File)
Fri, Dec 27, 9:44 AM
Unknown Object (File)
Fri, Dec 27, 9:44 AM
Unknown Object (File)
Fri, Dec 27, 9:43 AM
Unknown Object (File)
Fri, Dec 27, 9:33 AM
Subscribers

Details

Summary

This differential implements AES Crypto Module class that brings our AES crypto functionality tom pure native Android code.

Test Plan
  1. Apply those changes to CommNotificationsHandler: https://gist.github.com/marcinwasowicz/b427cf57b0d103470cd8570085954403 (literally copy paste)
  2. Send notification to running Android app.
  3. Examine logs in adb log cat

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

marcin added 1 blocking reviewer(s): bartek.
marcin requested review of this revision.Jul 4 2023, 8:25 AM

Looks good, just one nit

native/expo-modules/comm-expo-package/android/src/main/java/app/comm/android/aescrypto/AESCryptoModule.kt
112 ↗(On Diff #28386)

The same comment as for the Swift diff (D8424)

This revision is now accepted and ready to land.Jul 4 2023, 12:12 PM

Add comments separating RN/Native code