Page MenuHomePhabricator

[native] Create AESCrypto Expo module
ClosedPublic

Authored by bartek on Mar 8 2023, 9:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 11, 1:50 PM
Unknown Object (File)
Sat, May 11, 1:50 PM
Unknown Object (File)
Sat, May 11, 1:50 PM
Unknown Object (File)
Fri, May 3, 8:52 AM
Unknown Object (File)
Wed, Apr 24, 6:12 AM
Unknown Object (File)
Wed, Apr 24, 6:12 AM
Unknown Object (File)
Wed, Apr 24, 6:12 AM
Unknown Object (File)
Wed, Apr 24, 6:12 AM
Subscribers

Details

Summary

Created an Expo module that will handle AES encryption operations on native.

Inspired by D5932 that added android-lifecycle expo module.

Test Plan

Run yarn cleaninstall.

Both iOS and Android projects build and run successfully.

import { hello } from './utils/aes-crypto-module.js';

console.log(hello());

displays "Hello world! 👋"

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Mar 8 2023, 10:19 AM
bartek edited the test plan for this revision. (Show Details)
bartek added 1 blocking reviewer(s): ashoat.
bartek added inline comments.
native/expo-modules/aes-crypto/ios/AESCrypto.podspec
7–12

Unfortunately, these values are required or pod install fails.

ashoat added inline comments.
native/expo-modules/aes-crypto/package.json
3

The version in the Gradle file appears to be 0.1.0... should we make them consistent?

This revision is now accepted and ready to land.Mar 8 2023, 10:28 AM
native/expo-modules/aes-crypto/package.json
3

Doesn't matter. AndroidLifecycle has the same inconsistency.

This revision was automatically updated to reflect the committed changes.