hyperledger / aries-askar

Secure storage designed for Hyperledger Aries agents.
Apache License 2.0
59 stars 45 forks source link

feat: react native > 0.71.x support and Expo #142

Closed berendsliedrecht closed 1 year ago

berendsliedrecht commented 1 year ago

small edit: there might be some cleanup to do as we do not use JSC or Hermes directly so we can likely omit some checks there in the CMakelist.txt.

tested with:

for RN 66 support:

in android/app/build.gradle

-    implementation "com.facebook.react:react-native:+"  // From node_modules
+    implementation "com.facebook.react:react-native:0.66.2"

or

+ def REACT_NATIVE_VERSION = new File(['node', '--print',"JSON.parse(require('fs').readFileSync(require.resolve('react-native/package.json'), 'utf-8')).version"].execute(null, rootDir).text.trim())

-    implementation "com.facebook.react:react-native:+"  // From node_modules
+    implementation "com.facebook.react:react-native:" + REACT_NATIVE_VERSION