@novastera-oss/nitro-metamask 0.5.5 → 0.5.6
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.
- package/README.md +16 -0
- package/android/build.gradle +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,6 +49,22 @@ Add this inside your `MainActivity` `<activity>` tag:
|
|
|
49
49
|
- Ensure `android:launchMode="singleTask"` is set on your MainActivity (recommended for deep linking)
|
|
50
50
|
- This allows MetaMask to return to your app after the user approves the connection or signature
|
|
51
51
|
|
|
52
|
+
### Android 16 KB Compatibility
|
|
53
|
+
|
|
54
|
+
No extra Android configuration is required for consumers of this package.
|
|
55
|
+
|
|
56
|
+
- `@novastera-oss/nitro-metamask` excludes the legacy `io.metamask.ecies:ecies` native library from transitive dependencies.
|
|
57
|
+
- The package builds and ships its own `libecies.so` from `rust/ecies-jni` with linker flag `-Wl,-z,max-page-size=16384`.
|
|
58
|
+
- CI verifies 16 KB ELF LOAD alignment for release native libraries before publish.
|
|
59
|
+
|
|
60
|
+
For app developers, the expected upgrade path is:
|
|
61
|
+
|
|
62
|
+
1. Update to the new npm version.
|
|
63
|
+
2. Clean install + clean Android build.
|
|
64
|
+
3. Rebuild release AAB/APK.
|
|
65
|
+
|
|
66
|
+
No manual Gradle dependency override should be needed in the consuming app.
|
|
67
|
+
|
|
52
68
|
### iOS Configuration
|
|
53
69
|
|
|
54
70
|
**For Expo projects:** The package includes an Expo config plugin that automatically adds the required AppDelegate code. Just add the plugin to your `app.json` or `app.config.js`:
|
package/android/build.gradle
CHANGED
|
@@ -133,6 +133,12 @@ repositories {
|
|
|
133
133
|
google()
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
// Hard block old prebuilt ECIES .so from any transitive edge.
|
|
137
|
+
// NitroMetamask always provides libecies.so from rust/ecies-jni (16 KB page-size compatible).
|
|
138
|
+
configurations.configureEach {
|
|
139
|
+
exclude group: "io.metamask.ecies", module: "ecies"
|
|
140
|
+
}
|
|
141
|
+
|
|
136
142
|
|
|
137
143
|
dependencies {
|
|
138
144
|
// For < 0.71, this will be from the local maven repo
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@novastera-oss/nitro-metamask",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"description": "Native mobile MetaMask wallet integration for React Native. Part of Novastera CRM/ERP platform ecosystem. Provides secure authentication and message signing for Web3 mobile applications.",
|
|
5
5
|
"main": "./lib/commonjs/index.js",
|
|
6
6
|
"module": "./lib/module/index.js",
|