Skip to content

Commit

Permalink
fix : fix build example and import in osm android plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
liodali committed Feb 5, 2022
1 parent efb4554 commit 9c01c8b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import kotlinx.coroutines.withContext
import org.osmdroid.util.GeoPoint
import org.osmdroid.views.MapView
import org.osmdroid.views.overlay.infowindow.InfoWindow

import hamza.dali.flutter_osm_plugin.utilities.*
class FlutterInfoWindow(view: View, mapView: MapView?, private val point: GeoPoint) :
InfoWindow(view, mapView) {
private var infoView: InfowindowBinding = InfowindowBinding.bind(view)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package hamza.dali.flutter_osm_plugin.models

import android.content.Context
import android.graphics.Bitmap
import hamza.dali.flutter_osm_plugin.utilities.Constants
import org.osmdroid.util.GeoPoint
import org.osmdroid.views.MapView
import org.osmdroid.views.overlay.Overlay
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package hamza.dali.flutter_osm_plugin.utilities

import android.content.Intent
import android.provider.Settings
import hamza.dali.flutter_osm_plugin.Constants
import hamza.dali.flutter_osm_plugin.FlutterOsmView
import org.osmdroid.util.BoundingBox
import org.osmdroid.util.GeoPoint
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 29
compileSdkVersion 31

lintOptions {
disable 'InvalidPackage'
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:name="io.flutter.app.FlutterApplication"

android:label="flutter_osm_plugin_example"
android:icon="@mipmap/ic_launcher"
android:usesCleartextTraffic="true">
Expand Down

0 comments on commit 9c01c8b

Please sign in to comment.