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)
Fri, Nov 22, 1:43 PM
Unknown Object (File)
Sun, Nov 10, 5:54 PM
Unknown Object (File)
Fri, Nov 8, 6:59 PM
Unknown Object (File)
Sat, Nov 2, 12:27 AM
Unknown Object (File)
Sat, Nov 2, 12:27 AM
Unknown Object (File)
Sat, Nov 2, 12:27 AM
Unknown Object (File)
Oct 26 2024, 12:19 AM
Unknown Object (File)
Oct 20 2024, 11:03 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 ↗(On Diff #23535)

Unfortunately, these values are required or pod install fails.

ashoat added inline comments.
native/expo-modules/aes-crypto/package.json
3 ↗(On Diff #23535)

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 ↗(On Diff #23535)

Doesn't matter. AndroidLifecycle has the same inconsistency.

This revision was automatically updated to reflect the committed changes.