Skip to content

Commit d271147

Browse files
authored
feat: move android platform view creation to dart (#387)
migrate to a complete jni implementation, removes pigeon from android implementation
1 parent cccec69 commit d271147

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+10148
-2136
lines changed

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ android {
8686
}
8787

8888
ktlint {
89-
version = "0.43.2"
89+
version = "1.7.1"
9090
android = true
9191
ignoreFailures = false
9292
reporters {
@@ -95,7 +95,7 @@ ktlint {
9595
}
9696
dependencies {
9797
// noinspection GradleDynamicVersion
98-
ktlintRuleset("io.nlopez.compose.rules:ktlint:0.4.+")
98+
ktlintRuleset("io.nlopez.compose.rules:ktlint:0.4.27")
9999
}
100100
filter {
101101
exclude("**/*.g.kt")
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.github.josxha.maplibre
2+
3+
import io.flutter.plugin.platform.PlatformView
4+
5+
interface FlutterApi {
6+
fun createPlatformView(viewId: Int): PlatformView
7+
}

0 commit comments

Comments
 (0)