Page MenuHomePhabricator

Implement AESCryptoModule Java compatibility class
ClosedPublic

Authored by marcin on Jul 4 2023, 8:08 AM.
Tags
None
Referenced Files
F3562084: D8425.id33308.diff
Fri, Dec 27, 9:44 AM
F3562083: D8425.id33306.diff
Fri, Dec 27, 9:44 AM
F3562082: D8425.id33266.diff
Fri, Dec 27, 9:44 AM
F3562081: D8425.id28404.diff
Fri, Dec 27, 9:44 AM
F3562080: D8425.id28386.diff
Fri, Dec 27, 9:44 AM
F3562027: D8425.id.diff
Fri, Dec 27, 9:43 AM
F3561937: D8425.diff
Fri, Dec 27, 9:33 AM
Unknown Object (File)
Tue, Dec 24, 5:18 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