react-native-privyx-crypto 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/README.md +113 -0
  2. package/android/build/generated/source/buildConfig/debug/com/privyx/BuildConfig.java +10 -0
  3. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +7 -0
  4. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  5. package/android/build/intermediates/aar_main_jar/debug/syncDebugLibJars/classes.jar +0 -0
  6. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  7. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  8. package/android/build/intermediates/annotations_typedef_file/debug/extractDebugAnnotations/typedefs.txt +0 -0
  9. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  10. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  11. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
  12. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  13. package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
  14. package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
  15. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  16. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  17. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-privyx-crypto_debug.kotlin_module +0 -0
  18. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/privyx/BuildConfig.class +0 -0
  19. package/android/build/intermediates/library_and_local_jars_jni/debug/copyDebugJniLibsProjectAndLocalJars/jni/arm64-v8a/libprivyx_crypto.so +0 -0
  20. package/android/build/intermediates/library_and_local_jars_jni/debug/copyDebugJniLibsProjectAndLocalJars/jni/armeabi-v7a/libprivyx_crypto.so +0 -0
  21. package/android/build/intermediates/library_and_local_jars_jni/debug/copyDebugJniLibsProjectAndLocalJars/jni/x86_64/libprivyx_crypto.so +0 -0
  22. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
  23. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +7 -0
  24. package/android/build/intermediates/merged_java_res/debug/mergeDebugJavaResource/feature-react-native-privyx-crypto.jar +0 -0
  25. package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/arm64-v8a/libprivyx_crypto.so +0 -0
  26. package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/armeabi-v7a/libprivyx_crypto.so +0 -0
  27. package/android/build/intermediates/merged_jni_libs/debug/mergeDebugJniLibFolders/out/x86_64/libprivyx_crypto.so +0 -0
  28. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +7 -0
  29. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  30. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  31. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
  32. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  33. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  34. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  35. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  36. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  37. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  38. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  39. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  40. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  41. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  42. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  43. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  44. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  45. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  46. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  47. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  48. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  49. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  50. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  51. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  52. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  53. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  54. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  55. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  56. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  57. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  58. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  59. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  60. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  61. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  62. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  63. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  64. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  65. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  66. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  67. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  68. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  69. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  70. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  71. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  72. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  73. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  74. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  75. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  76. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  77. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  78. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  79. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  80. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  81. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  82. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  83. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  84. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  85. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  86. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  87. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  88. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
  89. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  90. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  91. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  92. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  93. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  94. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  95. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  96. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  97. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  98. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  99. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  100. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  101. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  102. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  103. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  104. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  105. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  106. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  107. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  108. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  109. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  110. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  111. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  112. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  113. package/android/build/outputs/aar/react-native-privyx-crypto-debug.aar +0 -0
  114. package/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
  115. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  116. package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-privyx-crypto_debug.kotlin_module +0 -0
  117. package/android/build/tmp/kotlin-classes/debug/com/privyx/PrivyxCryptoModule$Companion.class +0 -0
  118. package/android/build/tmp/kotlin-classes/debug/com/privyx/PrivyxCryptoModule.class +0 -0
  119. package/android/build/tmp/kotlin-classes/debug/com/privyx/PrivyxCryptoPackage.class +0 -0
  120. package/android/build.gradle +36 -0
  121. package/android/src/main/AndroidManifest.xml +3 -0
  122. package/android/src/main/java/com/privyx/PrivyxCryptoModule.kt +133 -0
  123. package/android/src/main/java/com/privyx/PrivyxCryptoPackage.kt +17 -0
  124. package/android/src/main/jni/jni.c +134 -0
  125. package/include/libprivyx_crypto.h +18 -0
  126. package/include/module.modulemap +4 -0
  127. package/ios/PrivyxCrypto.mm +128 -0
  128. package/ios/react-native-privyx-crypto.podspec +25 -0
  129. package/libs/android/arm64-v8a/libprivyx_crypto.so +0 -0
  130. package/libs/android/armeabi-v7a/libprivyx_crypto.so +0 -0
  131. package/libs/android/x86_64/libprivyx_crypto.so +0 -0
  132. package/libs/ios/PrivyxCryptoFFI.xcframework/Info.plist +48 -0
  133. package/libs/ios/PrivyxCryptoFFI.xcframework/ios-arm64/Headers/libprivyx_crypto.h +18 -0
  134. package/libs/ios/PrivyxCryptoFFI.xcframework/ios-arm64/Headers/module.modulemap +4 -0
  135. package/libs/ios/PrivyxCryptoFFI.xcframework/ios-arm64/libprivyx.a +0 -0
  136. package/libs/ios/PrivyxCryptoFFI.xcframework/ios-arm64_x86_64-simulator/Headers/libprivyx_crypto.h +18 -0
  137. package/libs/ios/PrivyxCryptoFFI.xcframework/ios-arm64_x86_64-simulator/Headers/module.modulemap +4 -0
  138. package/libs/ios/PrivyxCryptoFFI.xcframework/ios-arm64_x86_64-simulator/libprivyx-sim.a +0 -0
  139. package/package.json +23 -0
  140. package/react-native.config.js +10 -0
  141. package/src/NativePrivyxCrypto.ts +16 -0
  142. package/src/index.tsx +16 -0
  143. package/tsconfig.json +14 -0
package/README.md ADDED
@@ -0,0 +1,113 @@
1
+ # react-native-privyx-crypto
2
+
3
+ Post-quantum hybrid cryptography for React Native.
4
+
5
+ Combines **X25519** (ECDH) + **ML-KEM-768** (post-quantum KEM) with **AES-256-GCM** encryption. Uses prebuilt native binaries — no Rust toolchain required.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install react-native-privyx-crypto
11
+ ```
12
+
13
+ For iOS, after installing:
14
+
15
+ ```bash
16
+ cd ios && pod install
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ ```ts
22
+ import {
23
+ generateX25519KeyPair,
24
+ generateMlKemKeyPair,
25
+ x25519DeriveSecret,
26
+ mlKemEncapsulate,
27
+ mlKemDecapsulate,
28
+ deriveHybridSecret,
29
+ encrypt,
30
+ decrypt,
31
+ generateIV,
32
+ } from 'react-native-privyx-crypto';
33
+ ```
34
+
35
+ ### Key Generation
36
+
37
+ ```ts
38
+ // Generate X25519 (ECDH) key pair
39
+ const x25519 = await generateX25519KeyPair();
40
+ // { publicKey: 'base64...', privateKey: 'base64...' }
41
+
42
+ // Generate ML-KEM-768 (post-quantum) key pair
43
+ const mlkem = await generateMlKemKeyPair();
44
+ // { publicKey: 'base64...', privateKey: 'base64...' }
45
+ ```
46
+
47
+ ### Key Exchange (Initiator)
48
+
49
+ ```ts
50
+ // Alice derives shared secret using her private key + Bob's public keys
51
+ const x25519Secret = await x25519DeriveSecret(alice.privateKey, bob.x25519PublicKey);
52
+
53
+ const mlkemEnc = await mlKemEncapsulate(bob.mlkemPublicKey);
54
+ // { sharedSecret: 'base64...', ciphertext: 'base64...' }
55
+
56
+ const hybridSecret = await deriveHybridSecret(x25519Secret, mlkemEnc.sharedSecret);
57
+ ```
58
+
59
+ ### Key Exchange (Responder)
60
+
61
+ ```ts
62
+ // Bob derives shared secret using his private key + Alice's ciphertext
63
+ const x25519Secret = await x25519DeriveSecret(bob.privateKey, alice.x25519PublicKey);
64
+
65
+ const mlkemSecret = await mlKemDecapsulate(bob.mlkemPrivateKey, mlkemCiphertext);
66
+
67
+ const hybridSecret = await deriveHybridSecret(x25519Secret, mlkemSecret);
68
+ ```
69
+
70
+ Both parties arrive at the same `hybridSecret`.
71
+
72
+ ### Encrypt / Decrypt
73
+
74
+ ```ts
75
+ const iv = await generateIV();
76
+ const ciphertext = await encrypt('Hello, post-quantum world!', hybridSecret, iv);
77
+
78
+ const plaintext = await decrypt(ciphertext, iv, hybridSecret);
79
+ ```
80
+
81
+ ## API
82
+
83
+ All functions return `Promise`. All keys and ciphertexts are base64-encoded strings.
84
+
85
+ | Function | Returns |
86
+ |---|---|
87
+ | `generateX25519KeyPair()` | `{ publicKey, privateKey }` |
88
+ | `generateMlKemKeyPair()` | `{ publicKey, privateKey }` |
89
+ | `x25519DeriveSecret(privateKey, publicKey)` | `string` (shared secret) |
90
+ | `mlKemEncapsulate(publicKey)` | `{ sharedSecret, ciphertext }` |
91
+ | `mlKemDecapsulate(privateKey, ciphertext)` | `string` (shared secret) |
92
+ | `deriveHybridSecret(x25519Secret, mlkemSecret)` | `string` (SHA-256 hybrid) |
93
+ | `encrypt(plaintext, sharedSecret, iv)` | `string` (base64 ciphertext) |
94
+ | `decrypt(ciphertext, iv, sharedSecret)` | `string` (plaintext) |
95
+ | `generateIV()` | `string` (base64 12-byte IV) |
96
+
97
+ ## Supported Platforms
98
+
99
+ | Platform | Architectures |
100
+ |---|---|
101
+ | Android | arm64-v8a, armeabi-v7a, x86_64 |
102
+ | iOS (device) | arm64 |
103
+ | iOS (simulator) | arm64-sim, x86_64-sim |
104
+
105
+ ## Requirements
106
+
107
+ - React Native >= 0.71
108
+ - Android minSdk 24+
109
+ - iOS 15.1+
110
+
111
+ ## License
112
+
113
+ MIT
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Automatically generated file. DO NOT MODIFY
3
+ */
4
+ package com.privyx;
5
+
6
+ public final class BuildConfig {
7
+ public static final boolean DEBUG = Boolean.parseBoolean("true");
8
+ public static final String LIBRARY_PACKAGE_NAME = "com.privyx";
9
+ public static final String BUILD_TYPE = "debug";
10
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
+ package="com.privyx" >
4
+
5
+ <uses-sdk android:minSdkVersion="24" />
6
+
7
+ </manifest>
@@ -0,0 +1,18 @@
1
+ {
2
+ "version": 3,
3
+ "artifactType": {
4
+ "type": "AAPT_FRIENDLY_MERGED_MANIFESTS",
5
+ "kind": "Directory"
6
+ },
7
+ "applicationId": "com.privyx",
8
+ "variantName": "debug",
9
+ "elements": [
10
+ {
11
+ "type": "SINGLE",
12
+ "filters": [],
13
+ "attributes": [],
14
+ "outputFile": "AndroidManifest.xml"
15
+ }
16
+ ],
17
+ "elementType": "File"
18
+ }
@@ -0,0 +1,6 @@
1
+ aarFormatVersion=1.0
2
+ aarMetadataVersion=1.0
3
+ minCompileSdk=1
4
+ minCompileSdkExtension=0
5
+ minAndroidGradlePluginVersion=1.0.0
6
+ coreLibraryDesugaringEnabled=false
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/build/generated/res/resValues/debug"/></dataSet><mergedItems/></merger>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/assets"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/debug/assets"/></dataSet><dataSet config="generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/build/intermediates/shader_assets/debug/compileDebugShaders/out"/></dataSet></merger>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/libs/android"><file name="armeabi-v7a/libprivyx_crypto.so" path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/libs/android/armeabi-v7a/libprivyx_crypto.so"/><file name="arm64-v8a/libprivyx_crypto.so" path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/libs/android/arm64-v8a/libprivyx_crypto.so"/><file name="x86_64/libprivyx_crypto.so" path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/libs/android/x86_64/libprivyx_crypto.so"/></source></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/debug/jniLibs"/></dataSet></merger>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/shaders"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/debug/shaders"/></dataSet></merger>
@@ -0,0 +1,2 @@
1
+ R_DEF: Internal format may change without notice
2
+ local
@@ -0,0 +1,7 @@
1
+ 1<?xml version="1.0" encoding="utf-8"?>
2
+ 2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
+ 3 package="com.privyx" >
4
+ 4
5
+ 5 <uses-sdk android:minSdkVersion="24" />
6
+ 6
7
+ 7</manifest>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
+ package="com.privyx" >
4
+
5
+ <uses-sdk android:minSdkVersion="24" />
6
+
7
+ </manifest>
@@ -0,0 +1,17 @@
1
+ -- Merging decision tree log ---
2
+ manifest
3
+ ADDED from /Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/AndroidManifest.xml:1:1-3:12
4
+ INJECTED from /Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/AndroidManifest.xml:1:1-3:12
5
+ package
6
+ ADDED from /Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/AndroidManifest.xml:2:11-31
7
+ INJECTED from /Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/AndroidManifest.xml
8
+ xmlns:android
9
+ ADDED from /Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/AndroidManifest.xml:1:11-69
10
+ uses-sdk
11
+ INJECTED from /Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
12
+ INJECTED from /Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/AndroidManifest.xml
13
+ INJECTED from /Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/AndroidManifest.xml
14
+ android:targetSdkVersion
15
+ INJECTED from /Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/AndroidManifest.xml
16
+ android:minSdkVersion
17
+ INJECTED from /Users/erfinbadriansyah/Documents/privyx/mobile-apps/node_modules/react-native-privyx-crypto/android/src/main/AndroidManifest.xml
@@ -0,0 +1,36 @@
1
+ def safeExtGet(prop, fallback) {
2
+ rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
3
+ }
4
+
5
+ apply plugin: 'com.android.library'
6
+ apply plugin: 'kotlin-android'
7
+
8
+ android {
9
+ namespace "com.privyx"
10
+ compileSdkVersion safeExtGet('compileSdkVersion', 36)
11
+
12
+ defaultConfig {
13
+ minSdkVersion safeExtGet('minSdkVersion', 24)
14
+ targetSdkVersion safeExtGet('targetSdkVersion', 36)
15
+ }
16
+
17
+ sourceSets {
18
+ main {
19
+ jniLibs.srcDirs = ['../libs/android']
20
+ }
21
+ }
22
+
23
+ compileOptions {
24
+ sourceCompatibility JavaVersion.VERSION_17
25
+ targetCompatibility JavaVersion.VERSION_17
26
+ }
27
+
28
+ kotlinOptions {
29
+ jvmTarget = '17'
30
+ }
31
+ }
32
+
33
+ dependencies {
34
+ implementation "com.facebook.react:react-android:+"
35
+ implementation "org.jetbrains.kotlin:kotlin-stdlib:${safeExtGet('kotlinVersion', '2.1.20')}"
36
+ }
@@ -0,0 +1,3 @@
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
+ package="com.privyx">
3
+ </manifest>