File tree Expand file tree Collapse file tree 3 files changed +4054
-1512
lines changed Expand file tree Collapse file tree 3 files changed +4054
-1512
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " rn-encryption" ,
3- "version" : " 2.5.0 " ,
3+ "version" : " 2.5.1 " ,
44 "description" : " Encryption" ,
55 "source" : " ./src/index.tsx" ,
66 "main" : " ./lib/commonjs/index.js" ,
77 "module" : " ./lib/module/index.js" ,
8+ "expo" : {
9+ "plugin" : " plugin/withEncryption"
10+ },
811 "exports" : {
912 "." : {
1013 "import" : {
8386 },
8487 "devDependencies" : {
8588 "@evilmartians/lefthook" : " ^1.5.0" ,
89+ "@expo/config-plugins" : " ^8.0.0" ,
8690 "@react-native-community/cli" : " 15.0.1" ,
8791 "@react-native/eslint-config" : " ^0.73.1" ,
8892 "@release-it/conventional-changelog" : " ^9.0.2" ,
9296 "eslint" : " ^8.51.0" ,
9397 "eslint-config-prettier" : " ^9.0.0" ,
9498 "eslint-plugin-prettier" : " ^5.0.1" ,
99+ "expo" : " ^51.0.0" ,
95100 "jest" : " ^29.7.0" ,
96101 "prettier" : " ^3.0.3" ,
97102 "react" : " 18.3.1" ,
105110 "@types/react" : " ^18.2.44"
106111 },
107112 "peerDependencies" : {
113+ "expo" : " >=49" ,
108114 "react" : " *" ,
109115 "react-native" : " *"
110116 },
Original file line number Diff line number Diff line change 1+ // plugin/withEncryption.ts
2+ import type { ConfigPlugin } from 'expo/config-plugins' ;
3+
4+ const withEncryption : ConfigPlugin = ( config ) => {
5+ // No extra changes needed (no permissions, no Info.plist edits, etc.)
6+ // Just return config untouched so Expo knows the plugin exists
7+ return config ;
8+ } ;
9+
10+ export default withEncryption ;
You can’t perform that action at this time.
0 commit comments