@craft-native/android 0.0.174 → 0.0.176
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 +12 -2
- package/dist/index.d.ts +19 -0
- package/dist/index.js +20 -3
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
- package/templates/AndroidManifest.xml.template +1 -0
- package/templates/CraftBridge.kt.template +51 -0
- package/templates/CraftCrashReporter.kt.template +544 -0
- package/templates/CraftNative.kt.template +17 -0
- package/templates/CraftNativeFlatList.kt.template +20 -9
- package/templates/CraftNativeMutation.kt.template +4 -1
- package/templates/CraftNativeServices.kt.template +31 -1
- package/templates/MainActivityNative.kt.template +998 -303
- package/templates/build.gradle.kts.app.template +4 -2
|
@@ -59,6 +59,9 @@ android {
|
|
|
59
59
|
|
|
60
60
|
buildFeatures {
|
|
61
61
|
viewBinding = true
|
|
62
|
+
// BuildConfig.DEBUG: debug-only code (the crash reporter's test
|
|
63
|
+
// crash) is a constant false in release, so R8 removes it.
|
|
64
|
+
buildConfig = true
|
|
62
65
|
}
|
|
63
66
|
|
|
64
67
|
// Android's default AAPT ignore pattern drops underscore-prefixed asset
|
|
@@ -94,8 +97,7 @@ dependencies {
|
|
|
94
97
|
// Google Play Location Services (for geolocation)
|
|
95
98
|
implementation("com.google.android.gms:play-services-location:21.1.0")
|
|
96
99
|
|
|
97
|
-
|
|
98
|
-
implementation("com.google.android.gms:play-services-maps:18.2.0")
|
|
100
|
+
{{GOOGLE_MAPS_DEPENDENCY}}
|
|
99
101
|
|
|
100
102
|
// Google Play In-App Review
|
|
101
103
|
implementation("com.google.android.play:review:2.0.1")
|