@glassly/crust 0.3.5-dev.807 → 0.3.5-dev.808
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/android/build.gradle +12 -12
- package/package.json +2 -2
package/android/build.gradle
CHANGED
|
@@ -95,15 +95,17 @@ dependencies {
|
|
|
95
95
|
// `navigationcore:android` artifact — that one also drags in `ui-maps`,
|
|
96
96
|
// `voice`, and `copilot`, which a custom glasses HUD doesn't use (dead
|
|
97
97
|
// APK weight). `:navigation` is the core engine; `:tripdata` carries the
|
|
98
|
-
// banner/maneuver formatting used to label turns.
|
|
98
|
+
// banner/maneuver formatting used to label turns. The -ndk27 variants are
|
|
99
|
+
// the 16 KB page size builds Google Play requires; the plain artifacts are
|
|
100
|
+
// 4 KB aligned.
|
|
99
101
|
// Version pinned to 3.25.0 — re-check https://docs.mapbox.com/android/navigation/releases/
|
|
100
102
|
def isChinaBuild = System.getenv("EXPO_PUBLIC_DEPLOYMENT_REGION") == "china"
|
|
101
103
|
if (isChinaBuild) {
|
|
102
|
-
compileOnly 'com.mapbox.navigationcore:navigation:3.25.0'
|
|
103
|
-
compileOnly 'com.mapbox.navigationcore:tripdata:3.25.0'
|
|
104
|
+
compileOnly 'com.mapbox.navigationcore:navigation-ndk27:3.25.0'
|
|
105
|
+
compileOnly 'com.mapbox.navigationcore:tripdata-ndk27:3.25.0'
|
|
104
106
|
} else {
|
|
105
|
-
implementation 'com.mapbox.navigationcore:navigation:3.25.0'
|
|
106
|
-
implementation 'com.mapbox.navigationcore:tripdata:3.25.0'
|
|
107
|
+
implementation 'com.mapbox.navigationcore:navigation-ndk27:3.25.0'
|
|
108
|
+
implementation 'com.mapbox.navigationcore:tripdata-ndk27:3.25.0'
|
|
107
109
|
}
|
|
108
110
|
|
|
109
111
|
// Required for Java 8+ APIs on minSdk < 26 (was needed by Google Nav SDK;
|
|
@@ -122,13 +124,11 @@ dependencies {
|
|
|
122
124
|
// for installing Kotlin lambdas as JS globals via `JS_SetPropertyStr`.
|
|
123
125
|
// Mirrors iOS Apple JSC's `setObject(_, forKeyedSubscript:)` pattern.
|
|
124
126
|
//
|
|
125
|
-
// Version pin:
|
|
126
|
-
//
|
|
127
|
-
//
|
|
128
|
-
//
|
|
129
|
-
|
|
130
|
-
// Bump only when the host Kotlin compiler clears 2.3.0 metadata.
|
|
131
|
-
implementation 'io.github.dokar3:quickjs-kt-android:1.0.0-alpha13'
|
|
127
|
+
// Version pin: 1.0.1+ ships Kotlin 2.3 metadata, which the host Kotlin 2.2
|
|
128
|
+
// compiler can read. 1.0.0-alpha13 and older ship 4 KB-aligned
|
|
129
|
+
// libquickjs.so, which Google Play rejects (16 KB page size requirement).
|
|
130
|
+
// 1.0.8+ needs Kotlin 2.4 metadata.
|
|
131
|
+
implementation 'io.github.dokar3:quickjs-kt-android:1.0.5'
|
|
132
132
|
|
|
133
133
|
// OkHttp for fetch / WebSocket — already used elsewhere in Glassly;
|
|
134
134
|
// pinned here so the gradle plugin doesn't downgrade us.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glassly/crust",
|
|
3
|
-
"version": "0.3.5-dev.
|
|
3
|
+
"version": "0.3.5-dev.808",
|
|
4
4
|
"description": "Glassly Native Module",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"homepage": "https://github.com/fossephate/crust#readme",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@glassly/jspolyfill": "0.3.5-dev.
|
|
38
|
+
"@glassly/jspolyfill": "0.3.5-dev.808"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@expo/config-plugins": ">=8.0.0",
|